Added level mods and updated sprite imports
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
[gd_scene load_steps=6 format=2]
|
||||
|
||||
[ext_resource path="res://roger-roger/fonts/8-BIT WONDER.TTF" type="DynamicFontData" id=1]
|
||||
[ext_resource path="res://scripts/UI.gd" type="Script" id=2]
|
||||
[ext_resource path="res://roger-roger/ui/music-enabled.png" type="Texture" id=3]
|
||||
|
||||
[sub_resource type="DynamicFont" id=1]
|
||||
font_data = ExtResource( 1 )
|
||||
|
||||
[sub_resource type="Theme" id=2]
|
||||
default_font = SubResource( 1 )
|
||||
|
||||
[node name="GUI" type="Node2D"]
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="."]
|
||||
margin_left = 20.0
|
||||
margin_top = 20.0
|
||||
margin_right = 1279.0
|
||||
margin_bottom = 257.0
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"]
|
||||
margin_right = 1259.0
|
||||
margin_bottom = 237.0
|
||||
|
||||
[node name="TimeLabel" type="RichTextLabel" parent="MarginContainer/HBoxContainer"]
|
||||
margin_right = 1227.0
|
||||
margin_bottom = 237.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
theme = SubResource( 2 )
|
||||
text = "Time 60"
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/HBoxContainer"]
|
||||
margin_left = 1231.0
|
||||
margin_right = 1259.0
|
||||
margin_bottom = 237.0
|
||||
|
||||
[node name="ToolButton" type="ToolButton" parent="MarginContainer/HBoxContainer/VBoxContainer"]
|
||||
margin_right = 28.0
|
||||
margin_bottom = 24.0
|
||||
toggle_mode = true
|
||||
icon = ExtResource( 3 )
|
||||
|
||||
[node name="GameTimer" type="Timer" parent="."]
|
||||
|
||||
[connection signal="toggled" from="MarginContainer/HBoxContainer/VBoxContainer/ToolButton" to="." method="_on_ToolButton_toggled"]
|
||||
@@ -1,8 +1,10 @@
|
||||
[gd_scene load_steps=2 format=2]
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://roger-roger/tree.png" type="Texture" id=1]
|
||||
[ext_resource path="res://scripts/decor.gd" type="Script" id=2]
|
||||
|
||||
[node name="Tree" type="Node2D"]
|
||||
[node name="Decor" type="Node2D"]
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
scale = Vector2( 6, 6 )
|
||||
+15
-17
@@ -4,20 +4,19 @@
|
||||
[ext_resource path="res://roger-roger/chadHouse.png" type="Texture" id=2]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=3]
|
||||
radius = 12.2857
|
||||
height = 2.57142
|
||||
radius = 12.4286
|
||||
height = 4.85714
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=4]
|
||||
extents = Vector2( 86, 63.5 )
|
||||
[sub_resource type="ConvexPolygonShape2D" id=6]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=2]
|
||||
extents = Vector2( 3.5, 2 )
|
||||
[sub_resource type="RectangleShape2D" id=5]
|
||||
extents = Vector2( 142.5, 73.1641 )
|
||||
|
||||
[node name="House" type="Node2D"]
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
position = Vector2( 0, -125 )
|
||||
position = Vector2( 7, -125 )
|
||||
scale = Vector2( 5, 5 )
|
||||
texture = ExtResource( 2 )
|
||||
|
||||
@@ -26,19 +25,18 @@ collision_layer = 4
|
||||
collision_mask = 7
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="HouseBody"]
|
||||
position = Vector2( -7, -90 )
|
||||
position = Vector2( -4.76837e-07, -90 )
|
||||
scale = Vector2( 7, 7 )
|
||||
shape = SubResource( 3 )
|
||||
|
||||
[node name="CollisionShape2D2" type="CollisionShape2D" parent="HouseBody"]
|
||||
position = Vector2( -6, -49.5 )
|
||||
shape = SubResource( 4 )
|
||||
position = Vector2( 0, -49 )
|
||||
shape = SubResource( 6 )
|
||||
|
||||
[node name="DoorBody" type="StaticBody2D" parent="."]
|
||||
scale = Vector2( 7, 7 )
|
||||
collision_layer = 4
|
||||
collision_mask = 2
|
||||
[node name="DoorArea2D" type="Area2D" parent="."]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="DoorBody"]
|
||||
position = Vector2( -0.857143, 1.57143 )
|
||||
shape = SubResource( 2 )
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="DoorArea2D"]
|
||||
position = Vector2( 0, 36.836 )
|
||||
shape = SubResource( 5 )
|
||||
|
||||
[connection signal="body_entered" from="DoorArea2D" to="." method="_on_DoorArea2D_body_entered"]
|
||||
|
||||
@@ -48,8 +48,7 @@ shape = SubResource( 3 )
|
||||
position = Vector2( 1, -29 )
|
||||
scale = Vector2( 5, 5 )
|
||||
frames = SubResource( 1 )
|
||||
animation = "walk"
|
||||
frame = 2
|
||||
animation = "idle"
|
||||
playing = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
|
||||
+11
-1
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=13 format=2]
|
||||
[gd_scene load_steps=15 format=2]
|
||||
|
||||
[ext_resource path="res://roger-roger/runningSprites/Rogers5.png" type="Texture" id=1]
|
||||
[ext_resource path="res://roger-roger/runningSprites/Rogers4.png" type="Texture" id=2]
|
||||
@@ -10,6 +10,8 @@
|
||||
[ext_resource path="res://roger-roger/runningSprites/RogersStart.png" type="Texture" id=8]
|
||||
[ext_resource path="res://scripts/player.gd" type="Script" id=9]
|
||||
[ext_resource path="res://roger-roger/mrRogers.png" type="Texture" id=10]
|
||||
[ext_resource path="res://roger-roger/chevron_pointer.png" type="Texture" id=11]
|
||||
[ext_resource path="res://scenes/UI.tscn" type="PackedScene" id=12]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=2]
|
||||
radius = 13.0
|
||||
@@ -48,3 +50,11 @@ playing = true
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
current = true
|
||||
|
||||
[node name="ChevronSprite" type="Sprite" parent="."]
|
||||
position = Vector2( 0, -111 )
|
||||
scale = Vector2( 3, 3 )
|
||||
texture = ExtResource( 11 )
|
||||
|
||||
[node name="GUI" parent="." instance=ExtResource( 12 )]
|
||||
position = Vector2( -640, -481 )
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
[gd_scene load_steps=7 format=2]
|
||||
|
||||
[ext_resource path="res://roger-roger/effects/pop-4.png" type="Texture" id=1]
|
||||
[ext_resource path="res://roger-roger/effects/pop-3.png" type="Texture" id=2]
|
||||
[ext_resource path="res://roger-roger/effects/pop-1.png" type="Texture" id=3]
|
||||
[ext_resource path="res://roger-roger/effects/pop-2.png" type="Texture" id=4]
|
||||
[ext_resource path="res://scripts/pop.gd" type="Script" id=5]
|
||||
|
||||
[sub_resource type="SpriteFrames" id=1]
|
||||
animations = [ {
|
||||
"frames": [ ExtResource( 3 ), ExtResource( 4 ), ExtResource( 2 ), ExtResource( 1 ) ],
|
||||
"loop": true,
|
||||
"name": "pop",
|
||||
"speed": 8.0
|
||||
} ]
|
||||
|
||||
[node name="Pop" type="AnimatedSprite"]
|
||||
position = Vector2( 0, -40 )
|
||||
scale = Vector2( 7, 7 )
|
||||
frames = SubResource( 1 )
|
||||
animation = "pop"
|
||||
script = ExtResource( 5 )
|
||||
|
||||
[connection signal="animation_finished" from="." to="." method="_on_Pop_animation_finished"]
|
||||
+22
-8
@@ -12,7 +12,7 @@
|
||||
[ext_resource path="res://roger-roger/tilemap/StreetVerticalRight.png" type="Texture" id=10]
|
||||
[ext_resource path="res://roger-roger/tilemap/grass1.png" type="Texture" id=11]
|
||||
[ext_resource path="res://roger-roger/tilemap/justRoad.png" type="Texture" id=12]
|
||||
[ext_resource path="res://scenes/tree.tscn" type="PackedScene" id=13]
|
||||
[ext_resource path="res://scenes/decor.tscn" type="PackedScene" id=13]
|
||||
|
||||
[sub_resource type="ConvexPolygonShape2D" id=3]
|
||||
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
|
||||
@@ -139,6 +139,7 @@ tile_data = PoolIntArray( -13, 7, 0, -12, 7, 0, -11, 3, 0, -10, 1, 0, -9, 0, 0,
|
||||
|
||||
[node name="Tree" parent="YSort" instance=ExtResource( 13 )]
|
||||
position = Vector2( 412.655, 542.278 )
|
||||
SPRITE_ASSET = "tree"
|
||||
|
||||
[node name="Tree2" parent="YSort" instance=ExtResource( 13 )]
|
||||
position = Vector2( 862.175, 801.526 )
|
||||
@@ -148,6 +149,7 @@ position = Vector2( 1506.73, 1272.45 )
|
||||
|
||||
[node name="Tree4" parent="YSort" instance=ExtResource( 13 )]
|
||||
position = Vector2( 1045.31, 479.251 )
|
||||
SPRITE_ASSET = "lamppos"
|
||||
|
||||
[node name="Tree5" parent="YSort" instance=ExtResource( 13 )]
|
||||
position = Vector2( -64.6703, 908.108 )
|
||||
@@ -159,22 +161,34 @@ position = Vector2( -68.0338, 1333.6 )
|
||||
position = Vector2( 935.996, 1365.56 )
|
||||
|
||||
[node name="Trolley" parent="YSort" instance=ExtResource( 4 )]
|
||||
position = Vector2( 111.946, -51.4683 )
|
||||
position = Vector2( 116.441, -118.892 )
|
||||
|
||||
[node name="Player" parent="YSort" instance=ExtResource( 1 )]
|
||||
position = Vector2( 521.375, 114 )
|
||||
|
||||
[node name="House" parent="YSort" instance=ExtResource( 3 )]
|
||||
[node name="House1" parent="YSort" instance=ExtResource( 3 )]
|
||||
position = Vector2( 1972.13, 1965.82 )
|
||||
|
||||
[node name="Neighbor" parent="YSort" instance=ExtResource( 5 )]
|
||||
position = Vector2( 760.201, 407.292 )
|
||||
[node name="House2" parent="YSort" instance=ExtResource( 3 )]
|
||||
position = Vector2( 1079.23, 1518.43 )
|
||||
|
||||
[node name="House3" parent="YSort" instance=ExtResource( 3 )]
|
||||
position = Vector2( -210.104, 1038.94 )
|
||||
|
||||
[node name="House4" parent="YSort" instance=ExtResource( 3 )]
|
||||
position = Vector2( 1471.88, 482.054 )
|
||||
|
||||
[node name="Neighbor1" parent="YSort" instance=ExtResource( 5 )]
|
||||
position = Vector2( 1561.16, 1687.12 )
|
||||
|
||||
[node name="Neighbor2" parent="YSort" instance=ExtResource( 5 )]
|
||||
position = Vector2( 521.578, 319.171 )
|
||||
position = Vector2( 487.675, 1641.38 )
|
||||
|
||||
[node name="Neighbor3" parent="YSort" instance=ExtResource( 5 )]
|
||||
position = Vector2( 477.85, 707.714 )
|
||||
position = Vector2( -23.5379, 746.218 )
|
||||
|
||||
[node name="Neighbor4" parent="YSort" instance=ExtResource( 5 )]
|
||||
position = Vector2( -324.858, 684.091 )
|
||||
position = Vector2( 985.045, 718.4 )
|
||||
|
||||
[node name="Decor" parent="YSort" instance=ExtResource( 13 )]
|
||||
position = Vector2( 1353.08, 1162.06 )
|
||||
|
||||
@@ -34,3 +34,4 @@ position = Vector2( 0, -2.25 )
|
||||
shape = SubResource( 3 )
|
||||
|
||||
[connection signal="body_entered" from="TrolleySeatArea" to="." method="_on_TrolleySeatArea_body_entered"]
|
||||
[connection signal="body_exited" from="TrolleySeatArea" to="." method="_on_TrolleySeatArea_body_exited"]
|
||||
|
||||
Reference in New Issue
Block a user