Lots of polish things and wrapping up all three levels
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
[gd_resource type="Theme" load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://assets/fonts/dogicapixelbold.otf" type="DynamicFontData" id=1]
|
||||
|
||||
[sub_resource type="DynamicFont" id=4]
|
||||
size = 20
|
||||
font_data = ExtResource( 1 )
|
||||
|
||||
[sub_resource type="DynamicFontData" id=2]
|
||||
font_path = "res://assets/fonts/dogicapixelbold.otf"
|
||||
|
||||
[sub_resource type="DynamicFont" id=3]
|
||||
size = 20
|
||||
extra_spacing_top = 3
|
||||
extra_spacing_bottom = 5
|
||||
extra_spacing_char = 3
|
||||
extra_spacing_space = 3
|
||||
font_data = SubResource( 2 )
|
||||
|
||||
[resource]
|
||||
default_font = SubResource( 3 )
|
||||
RichTextLabel/fonts/normal_font = SubResource( 4 )
|
||||
+31
-1
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=19 format=2]
|
||||
[gd_scene load_steps=25 format=2]
|
||||
|
||||
[ext_resource path="res://assets/tilemap/streetSideTop.png" type="Texture" id=1]
|
||||
[ext_resource path="res://assets/tilemap/StreetVerticalLeft.png" type="Texture" id=2]
|
||||
@@ -20,12 +20,36 @@ points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
|
||||
[sub_resource type="ConvexPolygonShape2D" id=4]
|
||||
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
|
||||
|
||||
[sub_resource type="NavigationPolygon" id=7]
|
||||
vertices = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
|
||||
polygons = [ PoolIntArray( 0, 1, 2, 3 ) ]
|
||||
|
||||
[sub_resource type="NavigationPolygon" id=8]
|
||||
vertices = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
|
||||
polygons = [ PoolIntArray( 0, 1, 2, 3 ) ]
|
||||
|
||||
[sub_resource type="NavigationPolygon" id=9]
|
||||
vertices = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
|
||||
polygons = [ PoolIntArray( 0, 1, 2, 3 ) ]
|
||||
|
||||
[sub_resource type="NavigationPolygon" id=10]
|
||||
vertices = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
|
||||
polygons = [ PoolIntArray( 0, 1, 2, 3 ) ]
|
||||
|
||||
[sub_resource type="ConvexPolygonShape2D" id=5]
|
||||
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
|
||||
|
||||
[sub_resource type="ConvexPolygonShape2D" id=6]
|
||||
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
|
||||
|
||||
[sub_resource type="NavigationPolygon" id=11]
|
||||
vertices = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
|
||||
polygons = [ PoolIntArray( 0, 1, 2, 3 ) ]
|
||||
|
||||
[sub_resource type="NavigationPolygon" id=12]
|
||||
vertices = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
|
||||
polygons = [ PoolIntArray( 0, 1, 2, 3 ) ]
|
||||
|
||||
[sub_resource type="TileSet" id=2]
|
||||
0/name = "grass1.png 0"
|
||||
0/texture = ExtResource( 6 )
|
||||
@@ -77,6 +101,7 @@ points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
|
||||
2/tile_mode = 0
|
||||
2/occluder_offset = Vector2( 0, 0 )
|
||||
2/navigation_offset = Vector2( 0, 0 )
|
||||
2/navigation = SubResource( 10 )
|
||||
2/shape_offset = Vector2( 0, 0 )
|
||||
2/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||
2/shape_one_way = false
|
||||
@@ -175,6 +200,7 @@ points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
|
||||
8/tile_mode = 0
|
||||
8/occluder_offset = Vector2( 0, 0 )
|
||||
8/navigation_offset = Vector2( 0, 0 )
|
||||
8/navigation = SubResource( 11 )
|
||||
8/shape_offset = Vector2( 0, 0 )
|
||||
8/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||
8/shape_one_way = false
|
||||
@@ -189,6 +215,7 @@ points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
|
||||
9/tile_mode = 0
|
||||
9/occluder_offset = Vector2( 0, 0 )
|
||||
9/navigation_offset = Vector2( 0, 0 )
|
||||
9/navigation = SubResource( 12 )
|
||||
9/shape_offset = Vector2( 0, 0 )
|
||||
9/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||
9/shape_one_way = false
|
||||
@@ -203,6 +230,7 @@ points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
|
||||
10/tile_mode = 0
|
||||
10/occluder_offset = Vector2( 0, 0 )
|
||||
10/navigation_offset = Vector2( 0, 0 )
|
||||
10/navigation = SubResource( 7 )
|
||||
10/shape_offset = Vector2( 0, 0 )
|
||||
10/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||
10/shape_one_way = false
|
||||
@@ -217,6 +245,7 @@ points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
|
||||
11/tile_mode = 0
|
||||
11/occluder_offset = Vector2( 0, 0 )
|
||||
11/navigation_offset = Vector2( 0, 0 )
|
||||
11/navigation = SubResource( 8 )
|
||||
11/shape_offset = Vector2( 0, 0 )
|
||||
11/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||
11/shape_one_way = false
|
||||
@@ -231,6 +260,7 @@ points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
|
||||
12/tile_mode = 0
|
||||
12/occluder_offset = Vector2( 0, 0 )
|
||||
12/navigation_offset = Vector2( 0, 0 )
|
||||
12/navigation = SubResource( 9 )
|
||||
12/shape_offset = Vector2( 0, 0 )
|
||||
12/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||
12/shape_one_way = false
|
||||
|
||||
+23
-15
@@ -8,33 +8,41 @@
|
||||
[ext_resource path="res://scenes/player.tscn" type="PackedScene" id=6]
|
||||
[ext_resource path="res://scenes/neighbor.tscn" type="PackedScene" id=7]
|
||||
[ext_resource path="res://scenes/house.tscn" type="PackedScene" id=8]
|
||||
[ext_resource path="res://assets/fonts/8-BIT WONDER.TTF" type="DynamicFontData" id=9]
|
||||
[ext_resource path="res://assets/fonts/dogicapixelbold.otf" type="DynamicFontData" id=9]
|
||||
|
||||
[sub_resource type="DynamicFont" id=1]
|
||||
size = 40
|
||||
extra_spacing_top = 7
|
||||
extra_spacing_bottom = 7
|
||||
extra_spacing_char = -3
|
||||
extra_spacing_space = 6
|
||||
font_data = ExtResource( 9 )
|
||||
|
||||
[sub_resource type="DynamicFont" id=3]
|
||||
size = 40
|
||||
font_data = ExtResource( 9 )
|
||||
|
||||
[sub_resource type="Theme" id=2]
|
||||
default_font = SubResource( 3 )
|
||||
RichTextLabel/fonts/normal_font = SubResource( 1 )
|
||||
|
||||
[node name="BaseLevel" type="Node2D"]
|
||||
[node name="BaseLevel" type="Node2D" groups=["pausable", "plays_audio"]]
|
||||
script = ExtResource( 4 )
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource( 1 )
|
||||
volume_db = -10.0
|
||||
pitch_scale = 0.75
|
||||
|
||||
[node name="TileMap" parent="." instance=ExtResource( 3 )]
|
||||
[node name="LevelNavigation" type="Navigation2D" parent="."]
|
||||
|
||||
[node name="TileMap" parent="LevelNavigation" instance=ExtResource( 3 )]
|
||||
collision_mask = 7
|
||||
|
||||
[node name="YSort" type="YSort" parent="."]
|
||||
|
||||
[node name="Player" parent="YSort" instance=ExtResource( 6 )]
|
||||
position = Vector2( 619.221, 307.07 )
|
||||
position = Vector2( 588.073, 227.785 )
|
||||
|
||||
[node name="Trolley" parent="YSort" instance=ExtResource( 5 )]
|
||||
position = Vector2( 629.977, 650.649 )
|
||||
@@ -43,7 +51,7 @@ position = Vector2( 629.977, 650.649 )
|
||||
position = Vector2( 1066, 540 )
|
||||
|
||||
[node name="Neighbor1" parent="YSort" instance=ExtResource( 7 )]
|
||||
position = Vector2( 131, 429 )
|
||||
position = Vector2( 196.127, 647.035 )
|
||||
|
||||
[node name="Clouds" parent="." instance=ExtResource( 2 )]
|
||||
position = Vector2( -0.17392, 0.152588 )
|
||||
@@ -85,35 +93,35 @@ size_flags_vertical = 3
|
||||
|
||||
[node name="Control" type="Control" parent="Panel/VBoxContainer"]
|
||||
margin_right = 1363.0
|
||||
margin_bottom = 279.0
|
||||
margin_bottom = 277.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="EndGameTitle" type="RichTextLabel" parent="Panel/VBoxContainer"]
|
||||
margin_left = 181.0
|
||||
margin_top = 283.0
|
||||
margin_top = 281.0
|
||||
margin_right = 1181.0
|
||||
margin_bottom = 324.0
|
||||
margin_bottom = 326.0
|
||||
rect_min_size = Vector2( 1000, 0 )
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
theme = SubResource( 2 )
|
||||
text = "This is the text"
|
||||
text = "This is the tefs"
|
||||
fit_content_height = true
|
||||
|
||||
[node name="Control3" type="Control" parent="Panel/VBoxContainer"]
|
||||
margin_top = 328.0
|
||||
margin_top = 330.0
|
||||
margin_right = 1363.0
|
||||
margin_bottom = 390.0
|
||||
margin_bottom = 391.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
size_flags_stretch_ratio = 0.22
|
||||
|
||||
[node name="EndGameBody" type="RichTextLabel" parent="Panel/VBoxContainer"]
|
||||
margin_left = 181.0
|
||||
margin_top = 394.0
|
||||
margin_top = 395.0
|
||||
margin_right = 1181.0
|
||||
margin_bottom = 435.0
|
||||
margin_bottom = 440.0
|
||||
rect_min_size = Vector2( 1000, 0 )
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
@@ -122,7 +130,7 @@ text = "This is the text"
|
||||
fit_content_height = true
|
||||
|
||||
[node name="Control2" type="Control" parent="Panel/VBoxContainer"]
|
||||
margin_top = 439.0
|
||||
margin_top = 444.0
|
||||
margin_right = 1363.0
|
||||
margin_bottom = 1060.0
|
||||
size_flags_horizontal = 3
|
||||
@@ -130,8 +138,8 @@ size_flags_vertical = 3
|
||||
size_flags_stretch_ratio = 2.22
|
||||
|
||||
[node name="DisplayTimer" type="Timer" parent="."]
|
||||
wait_time = 2.0
|
||||
one_shot = true
|
||||
autostart = true
|
||||
|
||||
[connection signal="left_wih_rogers" from="YSort/Trolley" to="." method="_on_Trolley_left_wih_rogers"]
|
||||
[connection signal="rogers_entered_trolley" from="YSort/Trolley" to="." method="_on_Trolley_rogers_entered_trolley"]
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/car.gd" type="Script" id=1]
|
||||
[ext_resource path="res://assets/car1.png" type="Texture" id=2]
|
||||
|
||||
[node name="CarBody2D" type="KinematicBody2D" groups=["pausable"]]
|
||||
collision_layer = 4
|
||||
collision_mask = 3
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="CarSprite" type="Sprite" parent="."]
|
||||
scale = Vector2( 8, 8 )
|
||||
texture = ExtResource( 2 )
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
|
||||
position = Vector2( -0.00481343, 2.28765 )
|
||||
scale = Vector2( 1.74423, 1.73531 )
|
||||
polygon = PoolVector2Array( -16.4525, -11.3619, -34.7968, -8.81512, -43.6953, 7.58974, 32.9954, 7.58974, 37.5741, -5.92234, 13.4635, -23.7758, -6.62162, -23.2807 )
|
||||
@@ -0,0 +1,14 @@
|
||||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/car_spawner.gd" type="Script" id=1]
|
||||
|
||||
[node name="CarSpawner" type="Node2D" groups=["pausable"]]
|
||||
position = Vector2( 60.5218, 22.5136 )
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="SpawnTimer" type="Timer" parent="."]
|
||||
|
||||
[node name="CarEndPoint" type="Node2D" parent="."]
|
||||
position = Vector2( -36.419, -0.132435 )
|
||||
|
||||
[connection signal="timeout" from="SpawnTimer" to="." method="_on_SpawnTimer_timeout"]
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
[ext_resource path="res://scripts/Clouds.gd" type="Script" id=3]
|
||||
|
||||
[node name="Clouds" type="Node2D"]
|
||||
[node name="Clouds" type="Node2D" groups=["pausable"]]
|
||||
position = Vector2( -2.43112, -0.845276 )
|
||||
scale = Vector2( 10, 10 )
|
||||
script = ExtResource( 3 )
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://assets/fonts/8-BIT WONDER.TTF" type="DynamicFontData" id=1]
|
||||
|
||||
[sub_resource type="DynamicFont" id=1]
|
||||
size = 30
|
||||
font_data = ExtResource( 1 )
|
||||
|
||||
[sub_resource type="Theme" id=2]
|
||||
RichTextLabel/fonts/normal_font = SubResource( 1 )
|
||||
|
||||
[node name="Panel" type="Panel"]
|
||||
margin_left = -31.0
|
||||
margin_top = -245.0
|
||||
margin_right = 1332.0
|
||||
margin_bottom = 815.0
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
margin_right = 1299.0
|
||||
margin_bottom = 992.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
||||
margin_right = 1299.0
|
||||
margin_bottom = 992.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="RichTextLabel" type="RichTextLabel" parent="VBoxContainer/HBoxContainer"]
|
||||
margin_right = 1299.0
|
||||
margin_bottom = 992.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
theme = SubResource( 2 )
|
||||
text = "This is the text"
|
||||
@@ -0,0 +1,69 @@
|
||||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/game_screen_text.gd" type="Script" id=1]
|
||||
|
||||
[sub_resource type="DynamicFontData" id=1]
|
||||
font_path = "res://assets/fonts/dogicapixelbold.otf"
|
||||
|
||||
[sub_resource type="DynamicFont" id=2]
|
||||
size = 32
|
||||
extra_spacing_bottom = 15
|
||||
font_data = SubResource( 1 )
|
||||
|
||||
[sub_resource type="Theme" id=3]
|
||||
default_font = SubResource( 2 )
|
||||
|
||||
[node name="GameScreenText" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
color = Color( 0.25098, 0.529412, 0.682353, 1 )
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="ColorRect"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = 50.0
|
||||
margin_top = 50.0
|
||||
margin_right = -50.0
|
||||
margin_bottom = -50.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="HeaderText" type="RichTextLabel" parent="ColorRect/VBoxContainer"]
|
||||
margin_left = 290.0
|
||||
margin_right = 890.0
|
||||
margin_bottom = 226.0
|
||||
rect_min_size = Vector2( 600, 0 )
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 7
|
||||
size_flags_stretch_ratio = 0.36
|
||||
theme = SubResource( 3 )
|
||||
text = "Welcome to the Land
|
||||
|
||||
of Make Believe"
|
||||
fit_content_height = true
|
||||
|
||||
[node name="BodyText" type="RichTextLabel" parent="ColorRect/VBoxContainer"]
|
||||
margin_left = 290.0
|
||||
margin_top = 230.0
|
||||
margin_right = 890.0
|
||||
margin_bottom = 860.0
|
||||
rect_min_size = Vector2( 600, 0 )
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 7
|
||||
theme = SubResource( 3 )
|
||||
text = "As Mr. Rogers, you need to help your neighbors find their house before the trolley leaves you in the land of make-believe.
|
||||
|
||||
Good luck neighbor!"
|
||||
fit_content_height = true
|
||||
|
||||
[node name="TextTimer" type="Timer" parent="."]
|
||||
one_shot = true
|
||||
|
||||
[connection signal="timeout" from="TextTimer" to="." method="_on_TextTimer_timeout"]
|
||||
@@ -0,0 +1,51 @@
|
||||
[gd_scene load_steps=6 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/game_tip.gd" type="Script" id=1]
|
||||
[ext_resource path="res://scenes/8bit-text.tres" type="Theme" id=2]
|
||||
[ext_resource path="res://assets/fonts/dogicapixelbold.otf" type="DynamicFontData" id=3]
|
||||
|
||||
[sub_resource type="CircleShape2D" id=1]
|
||||
radius = 131.363
|
||||
|
||||
[sub_resource type="DynamicFont" id=2]
|
||||
size = 30
|
||||
extra_spacing_top = 7
|
||||
extra_spacing_bottom = 7
|
||||
extra_spacing_char = -4
|
||||
extra_spacing_space = 2
|
||||
font_data = ExtResource( 3 )
|
||||
|
||||
[node name="GameTip" type="Node2D"]
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="."]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
||||
position = Vector2( 0.0883865, -0.0883865 )
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[node name="TextTimer" type="Timer" parent="."]
|
||||
one_shot = true
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="."]
|
||||
margin_left = -126.0
|
||||
margin_top = -208.0
|
||||
margin_right = 129.0
|
||||
margin_bottom = 221.0
|
||||
rect_min_size = Vector2( 200, 0 )
|
||||
|
||||
[node name="TipLabel" type="RichTextLabel" parent="MarginContainer"]
|
||||
margin_top = 58.0
|
||||
margin_right = 255.0
|
||||
margin_bottom = 370.0
|
||||
rect_min_size = Vector2( 150, 0 )
|
||||
size_flags_vertical = 4
|
||||
theme = ExtResource( 2 )
|
||||
custom_fonts/normal_font = SubResource( 2 )
|
||||
bbcode_enabled = true
|
||||
bbcode_text = "[center][wave amp=10 freq=4]If you can have one tip it would be play this game and have so much fun.[/wave][/center]"
|
||||
text = "If you can have one tip it would be play this game and have so much fun."
|
||||
fit_content_height = true
|
||||
|
||||
[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"]
|
||||
[connection signal="timeout" from="TextTimer" to="." method="_on_TextTimer_timeout"]
|
||||
@@ -17,7 +17,6 @@ use_mipmaps = true
|
||||
font_data = ExtResource( 4 )
|
||||
|
||||
[sub_resource type="DynamicFont" id=1]
|
||||
size = 45
|
||||
font_data = ExtResource( 4 )
|
||||
|
||||
[sub_resource type="Theme" id=2]
|
||||
|
||||
+1
-7
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=6 format=2]
|
||||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/house.gd" type="Script" id=1]
|
||||
[ext_resource path="res://assets/chadHouse.png" type="Texture" id=2]
|
||||
@@ -7,8 +7,6 @@
|
||||
radius = 12.4286
|
||||
height = 4.85714
|
||||
|
||||
[sub_resource type="ConvexPolygonShape2D" id=6]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=5]
|
||||
extents = Vector2( 142.5, 73.1641 )
|
||||
|
||||
@@ -29,10 +27,6 @@ position = Vector2( -4.76837e-07, -90 )
|
||||
scale = Vector2( 7, 7 )
|
||||
shape = SubResource( 3 )
|
||||
|
||||
[node name="CollisionShape2D2" type="CollisionShape2D" parent="HouseBody"]
|
||||
position = Vector2( 0, -49 )
|
||||
shape = SubResource( 6 )
|
||||
|
||||
[node name="DoorArea2D" type="Area2D" parent="."]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="DoorArea2D"]
|
||||
|
||||
+93
-30
File diff suppressed because one or more lines are too long
+247
-2
File diff suppressed because one or more lines are too long
+619
-2
File diff suppressed because one or more lines are too long
@@ -1,11 +1,42 @@
|
||||
[gd_scene load_steps=2 format=2]
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/level_controller.gd" type="Script" id=1]
|
||||
[ext_resource path="res://scenes/game_screen_text.tscn" type="PackedScene" id=2]
|
||||
|
||||
[node name="Master" type="Node2D"]
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="EndTimer" type="Timer" parent="."]
|
||||
[node name="GameTimer" type="Timer" parent="."]
|
||||
wait_time = 2.0
|
||||
one_shot = true
|
||||
|
||||
[connection signal="timeout" from="EndTimer" to="." method="_on_EndTimer_timeout"]
|
||||
[node name="GameScreenText" parent="." instance=ExtResource( 2 )]
|
||||
|
||||
[node name="ColorRect" parent="GameScreenText" index="0"]
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_right = 1290.0
|
||||
margin_bottom = 963.0
|
||||
|
||||
[node name="VBoxContainer" parent="GameScreenText/ColorRect" index="0"]
|
||||
margin_right = -65.0
|
||||
margin_bottom = -58.0
|
||||
|
||||
[node name="HeaderText" parent="GameScreenText/ColorRect/VBoxContainer" index="0"]
|
||||
margin_left = 287.0
|
||||
margin_right = 887.0
|
||||
margin_bottom = 225.0
|
||||
|
||||
[node name="BodyText" parent="GameScreenText/ColorRect/VBoxContainer" index="1"]
|
||||
margin_left = 287.0
|
||||
margin_top = 229.0
|
||||
margin_right = 887.0
|
||||
margin_bottom = 855.0
|
||||
text = "As Mr. Rogers, you need to help your neighbors find their houses and make it back to the trolley before it leaves you in the land of make-believe.
|
||||
|
||||
Good luck neighbor!"
|
||||
|
||||
[connection signal="timeout" from="GameTimer" to="." method="_on_GameTimer_timeout"]
|
||||
[connection signal="done_reading" from="GameScreenText" to="." method="_on_GameScreenText_done_reading"]
|
||||
|
||||
[editable path="GameScreenText"]
|
||||
|
||||
+36
-16
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=14 format=2]
|
||||
[gd_scene load_steps=16 format=2]
|
||||
|
||||
[ext_resource path="res://assets/runningSprites/aberlin/AberlinFinal.png" type="Texture" id=1]
|
||||
[ext_resource path="res://assets/runningSprites/aberlin/Aberlin2.png" type="Texture" id=2]
|
||||
@@ -10,10 +10,16 @@
|
||||
[ext_resource path="res://assets/runningSprites/aberlin/AberlinStart.png" type="Texture" id=8]
|
||||
[ext_resource path="res://assets/LadyAberlin.png" type="Texture" id=9]
|
||||
[ext_resource path="res://scripts/neighbor.gd" type="Script" id=10]
|
||||
[ext_resource path="res://assets/circle.png" type="Texture" id=11]
|
||||
[ext_resource path="res://assets/chevron_pointer.png" type="Texture" id=12]
|
||||
|
||||
[sub_resource type="CircleShape2D" id=3]
|
||||
radius = 215.037
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=2]
|
||||
radius = 12.0
|
||||
height = 10.0
|
||||
|
||||
[sub_resource type="SpriteFrames" id=1]
|
||||
animations = [ {
|
||||
"frames": [ ExtResource( 9 ) ],
|
||||
@@ -21,22 +27,18 @@ animations = [ {
|
||||
"name": "idle",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [ ExtResource( 8 ), ExtResource( 7 ), ExtResource( 2 ), ExtResource( 6 ), ExtResource( 5 ), ExtResource( 3 ), ExtResource( 4 ), ExtResource( 1 ) ],
|
||||
"loop": true,
|
||||
"name": "run",
|
||||
"speed": 8.0
|
||||
}, {
|
||||
"frames": [ ExtResource( 7 ), ExtResource( 2 ), ExtResource( 9 ) ],
|
||||
"loop": true,
|
||||
"name": "walk",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [ ExtResource( 8 ), ExtResource( 7 ), ExtResource( 2 ), ExtResource( 6 ), ExtResource( 5 ), ExtResource( 3 ), ExtResource( 4 ), ExtResource( 1 ) ],
|
||||
"loop": true,
|
||||
"name": "run",
|
||||
"speed": 8.0
|
||||
} ]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=2]
|
||||
radius = 12.0
|
||||
height = 10.0
|
||||
|
||||
[node name="Neighbor" type="KinematicBody2D"]
|
||||
[node name="Neighbor" type="KinematicBody2D" groups=["pausable"]]
|
||||
script = ExtResource( 10 )
|
||||
|
||||
[node name="RogerArea2D" type="Area2D" parent="."]
|
||||
@@ -44,6 +46,11 @@ script = ExtResource( 10 )
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="RogerArea2D"]
|
||||
shape = SubResource( 3 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2( -1, 0 )
|
||||
rotation = 1.5708
|
||||
shape = SubResource( 2 )
|
||||
|
||||
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
||||
position = Vector2( 1, -29 )
|
||||
scale = Vector2( 5, 5 )
|
||||
@@ -51,12 +58,25 @@ frames = SubResource( 1 )
|
||||
animation = "idle"
|
||||
playing = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2( -1, 0 )
|
||||
rotation = 1.5708
|
||||
shape = SubResource( 2 )
|
||||
|
||||
[node name="WanderTimer" type="Timer" parent="."]
|
||||
|
||||
[node name="LinePath" type="Line2D" parent="."]
|
||||
|
||||
[node name="PathDistanceLabel" type="Label" parent="."]
|
||||
margin_left = -19.9237
|
||||
margin_top = -90.3582
|
||||
margin_right = 20.0763
|
||||
margin_bottom = -76.3582
|
||||
|
||||
[node name="CircleSprite" type="Sprite" parent="."]
|
||||
scale = Vector2( 13, 13 )
|
||||
texture = ExtResource( 11 )
|
||||
|
||||
[node name="ChevronSprite" type="Sprite" parent="."]
|
||||
visible = false
|
||||
position = Vector2( 0, -111 )
|
||||
scale = Vector2( 3, 3 )
|
||||
texture = ExtResource( 12 )
|
||||
|
||||
[connection signal="body_entered" from="RogerArea2D" to="." method="_on_RogerArea2D_body_entered"]
|
||||
[connection signal="timeout" from="WanderTimer" to="." method="_on_WanderTimer_timeout"]
|
||||
|
||||
+2
-2
@@ -30,7 +30,7 @@ animations = [ {
|
||||
radius = 13.0
|
||||
height = 10.0001
|
||||
|
||||
[node name="Player" type="KinematicBody2D"]
|
||||
[node name="Player" type="KinematicBody2D" groups=["pausable"]]
|
||||
collision_mask = 7
|
||||
script = ExtResource( 9 )
|
||||
ACCELERATION = 2000
|
||||
@@ -56,5 +56,5 @@ position = Vector2( 0, -111 )
|
||||
scale = Vector2( 3, 3 )
|
||||
texture = ExtResource( 11 )
|
||||
|
||||
[node name="GUI" parent="." instance=ExtResource( 12 )]
|
||||
[node name="GUI" parent="." groups=["pausable"] instance=ExtResource( 12 )]
|
||||
position = Vector2( -640, -481 )
|
||||
|
||||
+39
-2
@@ -1,7 +1,9 @@
|
||||
[gd_scene load_steps=6 format=2]
|
||||
[gd_scene load_steps=9 format=2]
|
||||
|
||||
[ext_resource path="res://assets/trolley-lg.png" type="Texture" id=1]
|
||||
[ext_resource path="res://scripts/trolley.gd" type="Script" id=2]
|
||||
[ext_resource path="res://assets/trolley.wav" type="AudioStream" id=3]
|
||||
[ext_resource path="res://assets/smoke.png" type="Texture" id=4]
|
||||
|
||||
[sub_resource type="CircleShape2D" id=4]
|
||||
radius = 172.29
|
||||
@@ -9,10 +11,14 @@ radius = 172.29
|
||||
[sub_resource type="RectangleShape2D" id=2]
|
||||
extents = Vector2( 38, 10 )
|
||||
|
||||
[sub_resource type="Gradient" id=5]
|
||||
offsets = PoolRealArray( 0.133152, 0.782609, 0.942935 )
|
||||
colors = PoolColorArray( 0.143419, 0.143419, 0.143419, 1, 0.34375, 0.34375, 0.34375, 1, 0.631373, 0.631373, 0.631373, 0 )
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=3]
|
||||
extents = Vector2( 44.5, 8.25 )
|
||||
|
||||
[node name="Trolley" type="KinematicBody2D"]
|
||||
[node name="Trolley" type="KinematicBody2D" groups=["pausable", "plays_audio"]]
|
||||
collision_layer = 4
|
||||
script = ExtResource( 2 )
|
||||
|
||||
@@ -29,6 +35,29 @@ collision_layer = 0
|
||||
position = Vector2( -1, -41 )
|
||||
shape = SubResource( 2 )
|
||||
|
||||
[node name="SmokeParticles" type="CPUParticles2D" parent="."]
|
||||
position = Vector2( -145, -12 )
|
||||
amount = 24
|
||||
lifetime = 10.0
|
||||
preprocess = 10.0
|
||||
explosiveness = 0.07
|
||||
randomness = 0.95
|
||||
lifetime_randomness = 0.36
|
||||
texture = ExtResource( 4 )
|
||||
direction = Vector2( -1, -0.1 )
|
||||
spread = 7.85
|
||||
gravity = Vector2( 0, -20 )
|
||||
initial_velocity = 160.0
|
||||
initial_velocity_random = 0.13
|
||||
angular_velocity = -6.61
|
||||
angular_velocity_random = 1.0
|
||||
damping = 8.71
|
||||
angle = 231.2
|
||||
angle_random = 1.0
|
||||
scale_amount = 10.18
|
||||
color_ramp = SubResource( 5 )
|
||||
hue_variation_random = 1.0
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
position = Vector2( 0, -70 )
|
||||
scale = Vector2( 6, 6 )
|
||||
@@ -43,5 +72,13 @@ polygon = PoolVector2Array( 172, -5, 198, 106, 150, 106, 122, 127, 74, 109, 46,
|
||||
position = Vector2( 0, -2.25 )
|
||||
shape = SubResource( 3 )
|
||||
|
||||
[node name="Timer" type="Timer" parent="."]
|
||||
|
||||
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
|
||||
stream = ExtResource( 3 )
|
||||
pitch_scale = 0.99
|
||||
max_distance = 800.0
|
||||
|
||||
[connection signal="body_shape_exited" from="TrolleySurroundingArea" to="." method="_on_TrolleySurroundingArea_body_exited"]
|
||||
[connection signal="body_entered" from="TrolleySeatArea" to="." method="_on_TrolleySeatArea_body_entered"]
|
||||
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
|
||||
|
||||
Reference in New Issue
Block a user