diff --git a/src/scenes/Menu.tscn b/src/scenes/Menu.tscn index 6aca5fcb7019c73b803a281347107e19ad4b0850..0c265f073f55fe7d53b393389b6d1bf2b5d6c6a9 100644 --- a/src/scenes/Menu.tscn +++ b/src/scenes/Menu.tscn @@ -17,13 +17,6 @@ font_data = ExtResource( 2 ) [sub_resource type="Theme" id=2] -[sub_resource type="DynamicFont" id=6] -size = 32 -outline_size = 4 -outline_color = Color( 0, 0, 0, 1 ) -extra_spacing_bottom = 6 -font_data = ExtResource( 2 ) - [sub_resource type="StyleBoxTexture" id=3] texture = ExtResource( 5 ) region_rect = Rect2( 0, 0, 361, 101 ) @@ -36,12 +29,11 @@ region_rect = Rect2( 0, 0, 361, 101 ) texture = ExtResource( 3 ) region_rect = Rect2( 0, 0, 361, 101 ) -[sub_resource type="DynamicFont" id=10] -size = 22 +[sub_resource type="DynamicFont" id=6] +size = 32 outline_size = 4 outline_color = Color( 0, 0, 0, 1 ) -extra_spacing_bottom = 3 -extra_spacing_char = 2 +extra_spacing_bottom = 6 font_data = ExtResource( 2 ) [sub_resource type="StyleBoxTexture" id=7] @@ -56,12 +48,12 @@ region_rect = Rect2( 0, 0, 361, 101 ) texture = ExtResource( 3 ) region_rect = Rect2( 0, 0, 361, 101 ) -[sub_resource type="DynamicFont" id=14] -size = 32 +[sub_resource type="DynamicFont" id=10] +size = 22 outline_size = 4 outline_color = Color( 0, 0, 0, 1 ) -extra_spacing_bottom = 5 -extra_spacing_char = 5 +extra_spacing_bottom = 3 +extra_spacing_char = 2 font_data = ExtResource( 2 ) [sub_resource type="StyleBoxTexture" id=11] @@ -76,6 +68,14 @@ region_rect = Rect2( 0, 0, 361, 101 ) texture = ExtResource( 3 ) region_rect = Rect2( 0, 0, 361, 101 ) +[sub_resource type="DynamicFont" id=14] +size = 32 +outline_size = 4 +outline_color = Color( 0, 0, 0, 1 ) +extra_spacing_bottom = 5 +extra_spacing_char = 5 +font_data = ExtResource( 2 ) + [sub_resource type="AtlasTexture" id=15] flags = 4 atlas = ExtResource( 4 ) @@ -139,10 +139,10 @@ margin_top = -108.0 margin_right = 449.0 margin_bottom = -40.0 theme = SubResource( 2 ) -custom_fonts/font = SubResource( 6 ) custom_styles/hover = SubResource( 3 ) custom_styles/pressed = SubResource( 4 ) custom_styles/normal = SubResource( 5 ) +custom_fonts/font = SubResource( 6 ) text = "START" __meta__ = { "_edit_use_anchors_": false @@ -153,10 +153,10 @@ margin_left = 130.0 margin_top = 384.0 margin_right = 450.0 margin_bottom = 448.0 -custom_fonts/font = SubResource( 10 ) custom_styles/hover = SubResource( 7 ) custom_styles/pressed = SubResource( 8 ) custom_styles/normal = SubResource( 9 ) +custom_fonts/font = SubResource( 10 ) text = "EINSTELLUNGEN" __meta__ = { "_edit_use_anchors_": false @@ -167,10 +167,10 @@ margin_left = 128.0 margin_top = 512.0 margin_right = 448.0 margin_bottom = 576.0 -custom_fonts/font = SubResource( 14 ) custom_styles/hover = SubResource( 11 ) custom_styles/pressed = SubResource( 12 ) custom_styles/normal = SubResource( 13 ) +custom_fonts/font = SubResource( 14 ) text = "ENDE" __meta__ = { "_edit_use_anchors_": false @@ -180,7 +180,6 @@ __meta__ = { position = Vector2( 1080, 248 ) scale = Vector2( 2.81113, 2.65621 ) frames = SubResource( 18 ) -frame = 1 speed_scale = 0.8 playing = true diff --git a/src/scenes/Platforms/Bodenlol.tscn b/src/scenes/Platforms/Bodenlol.tscn new file mode 100644 index 0000000000000000000000000000000000000000..2bda83e493e52f1818eaf0c8705ea592e1d539c4 --- /dev/null +++ b/src/scenes/Platforms/Bodenlol.tscn @@ -0,0 +1,11 @@ +[gd_scene load_steps=2 format=2] + +[sub_resource type="RectangleShape2D" id=1] +extents = Vector2( 2328, 16 ) + +[node name="Node2D" type="Node2D"] + +[node name="KinematicBody2D" type="KinematicBody2D" parent="."] + +[node name="CollisionShape2D" type="CollisionShape2D" parent="KinematicBody2D"] +shape = SubResource( 1 ) diff --git a/src/scenes/Platforms/Box.tscn b/src/scenes/Platforms/Box.tscn new file mode 100644 index 0000000000000000000000000000000000000000..9583f9d9ff6fe8057fb0c2c3bb53d5a61e650894 --- /dev/null +++ b/src/scenes/Platforms/Box.tscn @@ -0,0 +1,46 @@ +[gd_scene load_steps=4 format=2] + +[sub_resource type="RectangleShape2D" id=1] +extents = Vector2( 80, 8 ) + +[sub_resource type="Curve2D" id=2] +_data = { +"points": PoolVector2Array( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1088, 0, 0, 0, 0, 0, 1088, 192 ) +} + +[sub_resource type="Animation" id=3] +resource_name = "Box" +length = 20.0 +tracks/0/type = "value" +tracks/0/path = NodePath("Path2D/PathFollow2D:unit_offset") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 10 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ 1.0, 0.99 ] +} + +[node name="Box" type="Node2D"] + +[node name="KinematicBody2D" type="KinematicBody2D" parent="."] +motion/sync_to_physics = true + +[node name="CollisionShape2D" type="CollisionShape2D" parent="KinematicBody2D"] +shape = SubResource( 1 ) + +[node name="Path2D" type="Path2D" parent="."] +curve = SubResource( 2 ) + +[node name="PathFollow2D" type="PathFollow2D" parent="Path2D"] + +[node name="RemoteTransform2D" type="RemoteTransform2D" parent="Path2D/PathFollow2D"] +remote_path = NodePath("../../../KinematicBody2D") + +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] +autoplay = "Box" +playback_process_mode = 0 +anims/Box = SubResource( 3 ) diff --git a/src/scenes/Platforms/Box1.tscn b/src/scenes/Platforms/Box1.tscn new file mode 100644 index 0000000000000000000000000000000000000000..5176943ca2aa2f82375932976f2d6150ac1d9983 --- /dev/null +++ b/src/scenes/Platforms/Box1.tscn @@ -0,0 +1,82 @@ +[gd_scene load_steps=6 format=2] + +[sub_resource type="RectangleShape2D" id=1] +extents = Vector2( 80, 8 ) + +[sub_resource type="Curve2D" id=2] +_data = { +"points": PoolVector2Array( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4032, 0, 0, 0, 0, 0, 4032, 256, 0, 0, 0, 0, 8, 256 ) +} + +[sub_resource type="Animation" id=3] +resource_name = "Neue Animation1" +length = 80.0 +loop = true +tracks/0/type = "value" +tracks/0/path = NodePath("Path2D/PathFollow2D:unit_offset") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 40 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ 0.0, 1.0 ] +} + +[sub_resource type="Animation" id=4] +resource_name = "Neue Animation2" +length = 2.0 +loop = true +tracks/0/type = "value" +tracks/0/path = NodePath("Path2D/PathFollow2D:unit_offset") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.99 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ 0.0, 1.0 ] +} + +[sub_resource type="Animation" id=5] +length = 0.001 +tracks/0/type = "value" +tracks/0/path = NodePath("Path2D/PathFollow2D:unit_offset") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 0, +"values": [ 1.0 ] +} + +[node name="PlatformFunctional" type="Node2D"] + +[node name="KinematicBody2D" type="KinematicBody2D" parent="."] +motion/sync_to_physics = true + +[node name="CollisionShape2D" type="CollisionShape2D" parent="KinematicBody2D"] +shape = SubResource( 1 ) + +[node name="Path2D" type="Path2D" parent="."] +curve = SubResource( 2 ) + +[node name="PathFollow2D" type="PathFollow2D" parent="Path2D"] +rotate = false + +[node name="RemoteTransform2D" type="RemoteTransform2D" parent="Path2D/PathFollow2D"] +remote_path = NodePath("../../../KinematicBody2D") + +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] +autoplay = "Neue Animation1" +playback_process_mode = 0 +"anims/Neue Animation1" = SubResource( 3 ) +"anims/Neue Animation2" = SubResource( 4 ) +anims/RESET = SubResource( 5 ) diff --git a/src/scenes/Platforms/Box2.tscn b/src/scenes/Platforms/Box2.tscn new file mode 100644 index 0000000000000000000000000000000000000000..966131c45b22c387de24d88c956d32b68180e1a2 --- /dev/null +++ b/src/scenes/Platforms/Box2.tscn @@ -0,0 +1,82 @@ +[gd_scene load_steps=6 format=2] + +[sub_resource type="RectangleShape2D" id=1] +extents = Vector2( 8, 64 ) + +[sub_resource type="Curve2D" id=2] +_data = { +"points": PoolVector2Array( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4032, 0, 0, 0, 0, 0, 4032, 384, 0, 0, 0, 0, 0, 384 ) +} + +[sub_resource type="Animation" id=3] +resource_name = "Neue Animation1" +length = 80.0 +loop = true +tracks/0/type = "value" +tracks/0/path = NodePath("Path2D/PathFollow2D:unit_offset") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 40 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ 0.0, 1.0 ] +} + +[sub_resource type="Animation" id=4] +resource_name = "Neue Animation2" +length = 2.0 +loop = true +tracks/0/type = "value" +tracks/0/path = NodePath("Path2D/PathFollow2D:unit_offset") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.99 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ 0.0, 1.0 ] +} + +[sub_resource type="Animation" id=5] +length = 0.001 +tracks/0/type = "value" +tracks/0/path = NodePath("Path2D/PathFollow2D:unit_offset") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 0, +"values": [ 1.0 ] +} + +[node name="PlatformFunctional" type="Node2D"] + +[node name="KinematicBody2D" type="KinematicBody2D" parent="."] +motion/sync_to_physics = true + +[node name="CollisionShape2D" type="CollisionShape2D" parent="KinematicBody2D"] +shape = SubResource( 1 ) + +[node name="Path2D" type="Path2D" parent="."] +curve = SubResource( 2 ) + +[node name="PathFollow2D" type="PathFollow2D" parent="Path2D"] +rotate = false + +[node name="RemoteTransform2D" type="RemoteTransform2D" parent="Path2D/PathFollow2D"] +remote_path = NodePath("../../../KinematicBody2D") + +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] +autoplay = "Neue Animation1" +playback_process_mode = 0 +"anims/Neue Animation1" = SubResource( 3 ) +"anims/Neue Animation2" = SubResource( 4 ) +anims/RESET = SubResource( 5 ) diff --git a/src/scenes/Platforms/Box3.tscn b/src/scenes/Platforms/Box3.tscn new file mode 100644 index 0000000000000000000000000000000000000000..403c26faae74f8cae81150bb7d268271b7d58907 --- /dev/null +++ b/src/scenes/Platforms/Box3.tscn @@ -0,0 +1,82 @@ +[gd_scene load_steps=6 format=2] + +[sub_resource type="RectangleShape2D" id=1] +extents = Vector2( 8, 64 ) + +[sub_resource type="Curve2D" id=2] +_data = { +"points": PoolVector2Array( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4040, 0, 0, 0, 0, 0, 4040, -384, 0, 0, 0, 0, 8, -384 ) +} + +[sub_resource type="Animation" id=3] +resource_name = "Neue Animation1" +length = 80.0 +loop = true +tracks/0/type = "value" +tracks/0/path = NodePath("Path2D/PathFollow2D:unit_offset") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 40 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ 0.0, 1.0 ] +} + +[sub_resource type="Animation" id=4] +resource_name = "Neue Animation2" +length = 2.0 +loop = true +tracks/0/type = "value" +tracks/0/path = NodePath("Path2D/PathFollow2D:unit_offset") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.99 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ 0.0, 1.0 ] +} + +[sub_resource type="Animation" id=5] +length = 0.001 +tracks/0/type = "value" +tracks/0/path = NodePath("Path2D/PathFollow2D:unit_offset") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 0, +"values": [ 1.0 ] +} + +[node name="PlatformFunctional" type="Node2D"] + +[node name="KinematicBody2D" type="KinematicBody2D" parent="."] +motion/sync_to_physics = true + +[node name="CollisionShape2D" type="CollisionShape2D" parent="KinematicBody2D"] +shape = SubResource( 1 ) + +[node name="Path2D" type="Path2D" parent="."] +curve = SubResource( 2 ) + +[node name="PathFollow2D" type="PathFollow2D" parent="Path2D"] +rotate = false + +[node name="RemoteTransform2D" type="RemoteTransform2D" parent="Path2D/PathFollow2D"] +remote_path = NodePath("../../../KinematicBody2D") + +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] +autoplay = "Neue Animation1" +playback_process_mode = 0 +"anims/Neue Animation1" = SubResource( 3 ) +"anims/Neue Animation2" = SubResource( 4 ) +anims/RESET = SubResource( 5 ) diff --git a/src/scenes/Platforms/Box4.tscn b/src/scenes/Platforms/Box4.tscn new file mode 100644 index 0000000000000000000000000000000000000000..678775211309d8ae3e283ec613196cddb0181125 --- /dev/null +++ b/src/scenes/Platforms/Box4.tscn @@ -0,0 +1,82 @@ +[gd_scene load_steps=6 format=2] + +[sub_resource type="RectangleShape2D" id=1] +extents = Vector2( 80, 8 ) + +[sub_resource type="Curve2D" id=2] +_data = { +"points": PoolVector2Array( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4032, 0, 0, 0, 0, 0, 4032, -320, 0, 0, 0, 0, 0, -320 ) +} + +[sub_resource type="Animation" id=3] +resource_name = "Neue Animation1" +length = 80.0 +loop = true +tracks/0/type = "value" +tracks/0/path = NodePath("Path2D/PathFollow2D:unit_offset") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 40 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ 0.0, 1.0 ] +} + +[sub_resource type="Animation" id=4] +resource_name = "Neue Animation2" +length = 2.0 +loop = true +tracks/0/type = "value" +tracks/0/path = NodePath("Path2D/PathFollow2D:unit_offset") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.99 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ 0.0, 1.0 ] +} + +[sub_resource type="Animation" id=5] +length = 0.001 +tracks/0/type = "value" +tracks/0/path = NodePath("Path2D/PathFollow2D:unit_offset") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 0, +"values": [ 1.0 ] +} + +[node name="PlatformFunctional" type="Node2D"] + +[node name="KinematicBody2D" type="KinematicBody2D" parent="."] +motion/sync_to_physics = true + +[node name="CollisionShape2D" type="CollisionShape2D" parent="KinematicBody2D"] +shape = SubResource( 1 ) + +[node name="Path2D" type="Path2D" parent="."] +curve = SubResource( 2 ) + +[node name="PathFollow2D" type="PathFollow2D" parent="Path2D"] +rotate = false + +[node name="RemoteTransform2D" type="RemoteTransform2D" parent="Path2D/PathFollow2D"] +remote_path = NodePath("../../../KinematicBody2D") + +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] +autoplay = "Neue Animation1" +playback_process_mode = 0 +"anims/Neue Animation1" = SubResource( 3 ) +"anims/Neue Animation2" = SubResource( 4 ) +anims/RESET = SubResource( 5 ) diff --git a/src/scenes/Platforms/PFHFast.tscn b/src/scenes/Platforms/PFHFast.tscn index 1ef085247b9cdd0ba8ba1f8d1ea987c9f1aea29c..f447bf7abe19559019eb1e8bba6d8611c7715d91 100644 --- a/src/scenes/Platforms/PFHFast.tscn +++ b/src/scenes/Platforms/PFHFast.tscn @@ -10,7 +10,7 @@ _data = { "points": PoolVector2Array( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 264, 0 ) } -[sub_resource type="Animation" id=7] +[sub_resource type="Animation" id=3] resource_name = "Level4" length = 2.0 loop = true @@ -27,8 +27,7 @@ tracks/0/keys = { "values": [ 0.0, 0.99 ] } -[sub_resource type="Animation" id=3] -resource_name = "Neue Animation1" +[sub_resource type="Animation" id=4] length = 2.0 loop = true tracks/0/type = "value" @@ -44,8 +43,7 @@ tracks/0/keys = { "values": [ 0.0 ] } -[sub_resource type="Animation" id=4] -resource_name = "Neue Animation2" +[sub_resource type="Animation" id=5] length = 2.0 loop = true tracks/0/type = "value" @@ -66,7 +64,7 @@ resource_name = "PFHFast" length = 2.0 loop = true -[sub_resource type="Animation" id=5] +[sub_resource type="Animation" id=7] length = 0.001 tracks/0/type = "value" tracks/0/path = NodePath("Path2D/PathFollow2D:unit_offset") @@ -84,7 +82,6 @@ tracks/0/keys = { [node name="PlatformFunctional" type="Node2D"] [node name="KinematicBody2D" type="KinematicBody2D" parent="."] -position = Vector2( 200.432, 0 ) motion/sync_to_physics = true [node name="CollisionShape2D" type="CollisionShape2D" parent="KinematicBody2D"] @@ -99,8 +96,6 @@ region_rect = Rect2( 801, 610, 160, 17 ) curve = SubResource( 2 ) [node name="PathFollow2D" type="PathFollow2D" parent="Path2D"] -position = Vector2( 200.432, 0 ) -offset = 200.254 rotate = false [node name="RemoteTransform2D" type="RemoteTransform2D" parent="Path2D/PathFollow2D"] @@ -108,10 +103,9 @@ remote_path = NodePath("../../../KinematicBody2D") [node name="AnimationPlayer" type="AnimationPlayer" parent="."] autoplay = "Level4" -reset_on_save = false playback_process_mode = 0 -anims/Level4 = SubResource( 7 ) -"anims/Neue Animation1" = SubResource( 3 ) -"anims/Neue Animation2" = SubResource( 4 ) +anims/Level4 = SubResource( 3 ) +"anims/Neue Animation1" = SubResource( 4 ) +"anims/Neue Animation2" = SubResource( 5 ) anims/PFHFast = SubResource( 6 ) -anims/RESET = SubResource( 5 ) +anims/RESET = SubResource( 7 ) diff --git a/src/scenes/Platforms/PFHSlow.tscn b/src/scenes/Platforms/PFHSlow.tscn index 41fb4546232409ad04e438855f2370715e6a66af..ba84ac211e1b9f7bb1309f20d635bf3755034f94 100644 --- a/src/scenes/Platforms/PFHSlow.tscn +++ b/src/scenes/Platforms/PFHSlow.tscn @@ -83,7 +83,6 @@ remote_path = NodePath("../../../KinematicBody2D") [node name="AnimationPlayer" type="AnimationPlayer" parent="."] autoplay = "Neue Animation1" -reset_on_save = false playback_process_mode = 0 "anims/Neue Animation1" = SubResource( 3 ) "anims/Neue Animation2" = SubResource( 4 ) diff --git a/src/scenes/Platforms/Wandlol.tscn b/src/scenes/Platforms/Wandlol.tscn new file mode 100644 index 0000000000000000000000000000000000000000..58633669424c559144edc59d045c4f6e212ed4fe --- /dev/null +++ b/src/scenes/Platforms/Wandlol.tscn @@ -0,0 +1,12 @@ +[gd_scene load_steps=2 format=2] + +[sub_resource type="RectangleShape2D" id=1] +extents = Vector2( 8, 208 ) + +[node name="Node2D" type="Node2D"] + +[node name="KinematicBody2D" type="KinematicBody2D" parent="."] +motion/sync_to_physics = true + +[node name="CollisionShape2D" type="CollisionShape2D" parent="KinematicBody2D"] +shape = SubResource( 1 ) diff --git a/src/scenes/levels/Level0.tscn b/src/scenes/levels/Level0.tscn index cc5d86b2981d19f861fc9a3fddcb463f591aa497..e61834eb951fbf316199662193f6d7b8e363d4bd 100644 --- a/src/scenes/levels/Level0.tscn +++ b/src/scenes/levels/Level0.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=46 format=2] +[gd_scene load_steps=52 format=2] [ext_resource path="res://src/assets/backGround/SpaceBackGroundParallax.jpg" type="Texture" id=1] [ext_resource path="res://src/assets/tilesets/main_scifi_tileset.png" type="Texture" id=2] @@ -14,6 +14,12 @@ [ext_resource path="res://src/actors/enemy/Skeleton.tscn" type="PackedScene" id=12] [ext_resource path="res://src/actors/enemy/ghost.tscn" type="PackedScene" id=13] [ext_resource path="res://src/actors/enemy/enemy_knight.tscn" type="PackedScene" id=14] +[ext_resource path="res://src/scenes/Platforms/Box1.tscn" type="PackedScene" id=15] +[ext_resource path="res://src/scenes/Platforms/Box2.tscn" type="PackedScene" id=16] +[ext_resource path="res://src/scenes/Platforms/Box3.tscn" type="PackedScene" id=17] +[ext_resource path="res://src/scenes/Platforms/Box4.tscn" type="PackedScene" id=18] +[ext_resource path="res://src/scenes/Platforms/Bodenlol.tscn" type="PackedScene" id=19] +[ext_resource path="res://src/scenes/Platforms/Wandlol.tscn" type="PackedScene" id=20] [sub_resource type="ConvexPolygonShape2D" id=1] points = PoolVector2Array( 0, 0, 32, 0, 32, 32, 0, 32 ) @@ -788,6 +794,12 @@ tile_data = PoolIntArray( 524369, 1, 0, 524370, 1, 0, 524371, 1, 0, 524372, 1, 0 [node name="Objects" type="Node2D" parent="Level0"] +[node name="PlatformFunctional" parent="Level0/Objects" instance=ExtResource( 16 )] +position = Vector2( 458.805, 416.494 ) + +[node name="PlatformFunctional2" parent="Level0/Objects" instance=ExtResource( 17 )] +position = Vector2( 316.589, 417.178 ) + [node name="Door0" parent="Level0/Objects" instance=ExtResource( 5 )] position = Vector2( 384, 480 ) script = SubResource( 13 ) @@ -807,6 +819,12 @@ position = Vector2( 1189.47, -422.58 ) [node name="coin" parent="Level0/Objects/Coins" instance=ExtResource( 6 )] position = Vector2( 857, -410.017 ) +[node name="PlatformFunctional3" parent="Level0/Objects" instance=ExtResource( 18 )] +position = Vector2( 388.206, 344.908 ) + +[node name="Node2D" parent="Level0/Objects" instance=ExtResource( 19 )] +position = Vector2( 2212.28, 523.169 ) + [node name="Enemies" type="Node2D" parent="Level0"] [node name="wizard" parent="Level0/Enemies" instance=ExtResource( 11 )] @@ -864,12 +882,21 @@ margin_left = 1144.0 margin_top = 24.0 margin_right = 1264.0 margin_bottom = 56.0 -custom_colors/font_color = Color( 0.988235, 1, 0.321569, 1 ) custom_fonts/font = SubResource( 31 ) +custom_colors/font_color = Color( 0.988235, 1, 0.321569, 1 ) align = 1 valign = 1 __meta__ = { "_edit_use_anchors_": false } +[node name="PlatformFunctional" parent="." instance=ExtResource( 15 )] +position = Vector2( 387.174, 488.561 ) + +[node name="Node2D" parent="." instance=ExtResource( 20 )] +position = Vector2( 4537.26, 323.665 ) + +[node name="Node2D2" parent="." instance=ExtResource( 20 )] +position = Vector2( -110.718, 320.836 ) + [connection signal="coin_collected" from="Level0/Objects/Coins/coin" to="Level0/Score" method="_on_coin_collected"]