level 5
This commit is contained in:
1 parent
2e845bf217
commit
08f75b79d8
18 files changed
+392
-129
No files matched your search
@@ -20,7 +20,6 @@ config/icon="res://assets/icon.png"
|
|||||||
[display]
|
[display]
|
||||||
|
|
||||||
window/stretch/mode="viewport"
|
window/stretch/mode="viewport"
|
||||||
window/stretch/aspect="keep_height"
|
|
||||||
window/vsync/vsync_mode=0
|
window/vsync/vsync_mode=0
|
||||||
|
|
||||||
[global]
|
[global]
|
||||||
|
|||||||
@@ -0,0 +1,26 @@
|
|||||||
|
[gd_scene load_steps=4 format=3 uid="uid://badk308gvg1my"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" path="res://scripts/blocks/itemblock_invisible.gd" id="1_ap62p"]
|
||||||
|
|
||||||
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4kmo0"]
|
||||||
|
size = Vector2(16, 16)
|
||||||
|
|
||||||
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_enc16"]
|
||||||
|
size = Vector2(10, 1)
|
||||||
|
|
||||||
|
[node name="itemblock_invisible" type="RigidBody2D"]
|
||||||
|
gravity_scale = 0.0
|
||||||
|
script = ExtResource("1_ap62p")
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||||
|
position = Vector2(8, -8)
|
||||||
|
shape = SubResource("RectangleShape2D_4kmo0")
|
||||||
|
|
||||||
|
[node name="activate" type="Area2D" parent="."]
|
||||||
|
collision_mask = 2
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="activate"]
|
||||||
|
position = Vector2(8, 0.5)
|
||||||
|
shape = SubResource("RectangleShape2D_enc16")
|
||||||
|
|
||||||
|
[connection signal="body_entered" from="activate" to="." method="_on_activate_body_entered"]
|
||||||
@@ -0,0 +1,80 @@
|
|||||||
|
[gd_scene load_steps=11 format=3 uid="uid://cwhx0kcemeyx"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" path="res://scripts/blocks/itemblock.gd" id="1_rbj5t"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://bp71ntkh281k5" path="res://scenes/items/fire_flower.tscn" id="2_ov77e"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://dth47lmb44qk8" path="res://assets/items.png" id="3_v5sih"]
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_lo6hv"]
|
||||||
|
atlas = ExtResource("3_v5sih")
|
||||||
|
region = Rect2(4, 4, 16, 16)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ghd0r"]
|
||||||
|
atlas = ExtResource("3_v5sih")
|
||||||
|
region = Rect2(34, 4, 16, 16)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_5py80"]
|
||||||
|
atlas = ExtResource("3_v5sih")
|
||||||
|
region = Rect2(64, 4, 16, 16)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_4m3oc"]
|
||||||
|
atlas = ExtResource("3_v5sih")
|
||||||
|
region = Rect2(4, 4, 16, 16)
|
||||||
|
|
||||||
|
[sub_resource type="SpriteFrames" id="SpriteFrames_r54gk"]
|
||||||
|
animations = [{
|
||||||
|
"frames": [{
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_lo6hv")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_ghd0r")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_5py80")
|
||||||
|
}],
|
||||||
|
"loop": false,
|
||||||
|
"name": &"destroy",
|
||||||
|
"speed": 10.0
|
||||||
|
}, {
|
||||||
|
"frames": [{
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_4m3oc")
|
||||||
|
}],
|
||||||
|
"loop": true,
|
||||||
|
"name": &"idle",
|
||||||
|
"speed": 5.0
|
||||||
|
}]
|
||||||
|
|
||||||
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4kmo0"]
|
||||||
|
size = Vector2(16, 16)
|
||||||
|
|
||||||
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_enc16"]
|
||||||
|
size = Vector2(10, 1)
|
||||||
|
|
||||||
|
[node name="itemblock" type="RigidBody2D"]
|
||||||
|
gravity_scale = 0.0
|
||||||
|
script = ExtResource("1_rbj5t")
|
||||||
|
hit_object = ExtResource("2_ov77e")
|
||||||
|
|
||||||
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||||
|
position = Vector2(8, -8)
|
||||||
|
sprite_frames = SubResource("SpriteFrames_r54gk")
|
||||||
|
animation = &"destroy"
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||||
|
position = Vector2(8, -8)
|
||||||
|
shape = SubResource("RectangleShape2D_4kmo0")
|
||||||
|
|
||||||
|
[node name="activate" type="Area2D" parent="."]
|
||||||
|
collision_mask = 2
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="activate"]
|
||||||
|
position = Vector2(8, 0.5)
|
||||||
|
shape = SubResource("RectangleShape2D_enc16")
|
||||||
|
|
||||||
|
[node name="Timer" type="Timer" parent="."]
|
||||||
|
wait_time = 0.3
|
||||||
|
one_shot = true
|
||||||
|
|
||||||
|
[connection signal="body_entered" from="activate" to="." method="_on_activate_body_entered"]
|
||||||
|
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]
|
||||||
@@ -0,0 +1,80 @@
|
|||||||
|
[gd_scene load_steps=11 format=3 uid="uid://d032da33bfwtu"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" path="res://scripts/blocks/itemblock.gd" id="1_3b5hu"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://dth47lmb44qk8" path="res://assets/items.png" id="2_iid7x"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://b4dp88urmm7g8" path="res://scenes/items/mushroom.tscn" id="2_np1mh"]
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_lo6hv"]
|
||||||
|
atlas = ExtResource("2_iid7x")
|
||||||
|
region = Rect2(4, 4, 16, 16)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ghd0r"]
|
||||||
|
atlas = ExtResource("2_iid7x")
|
||||||
|
region = Rect2(34, 4, 16, 16)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_5py80"]
|
||||||
|
atlas = ExtResource("2_iid7x")
|
||||||
|
region = Rect2(64, 4, 16, 16)
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_4m3oc"]
|
||||||
|
atlas = ExtResource("2_iid7x")
|
||||||
|
region = Rect2(4, 4, 16, 16)
|
||||||
|
|
||||||
|
[sub_resource type="SpriteFrames" id="SpriteFrames_r54gk"]
|
||||||
|
animations = [{
|
||||||
|
"frames": [{
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_lo6hv")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_ghd0r")
|
||||||
|
}, {
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_5py80")
|
||||||
|
}],
|
||||||
|
"loop": false,
|
||||||
|
"name": &"destroy",
|
||||||
|
"speed": 10.0
|
||||||
|
}, {
|
||||||
|
"frames": [{
|
||||||
|
"duration": 1.0,
|
||||||
|
"texture": SubResource("AtlasTexture_4m3oc")
|
||||||
|
}],
|
||||||
|
"loop": true,
|
||||||
|
"name": &"idle",
|
||||||
|
"speed": 5.0
|
||||||
|
}]
|
||||||
|
|
||||||
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4kmo0"]
|
||||||
|
size = Vector2(16, 16)
|
||||||
|
|
||||||
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_enc16"]
|
||||||
|
size = Vector2(10, 1)
|
||||||
|
|
||||||
|
[node name="itemblock" type="RigidBody2D"]
|
||||||
|
gravity_scale = 0.0
|
||||||
|
script = ExtResource("1_3b5hu")
|
||||||
|
hit_object = ExtResource("2_np1mh")
|
||||||
|
|
||||||
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||||
|
position = Vector2(8, -8)
|
||||||
|
sprite_frames = SubResource("SpriteFrames_r54gk")
|
||||||
|
animation = &"destroy"
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||||
|
position = Vector2(8, -8)
|
||||||
|
shape = SubResource("RectangleShape2D_4kmo0")
|
||||||
|
|
||||||
|
[node name="activate" type="Area2D" parent="."]
|
||||||
|
collision_mask = 2
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="activate"]
|
||||||
|
position = Vector2(8, 0.5)
|
||||||
|
shape = SubResource("RectangleShape2D_enc16")
|
||||||
|
|
||||||
|
[node name="Timer" type="Timer" parent="."]
|
||||||
|
wait_time = 0.3
|
||||||
|
one_shot = true
|
||||||
|
|
||||||
|
[connection signal="body_entered" from="activate" to="." method="_on_activate_body_entered"]
|
||||||
|
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
[gd_scene load_steps=5 format=3 uid="uid://daaajdv7ve15a"]
|
[gd_scene load_steps=8 format=3 uid="uid://daaajdv7ve15a"]
|
||||||
|
|
||||||
[ext_resource type="Texture2D" uid="uid://dth47lmb44qk8" path="res://assets/items.png" id="1_cnc0s"]
|
[ext_resource type="Texture2D" uid="uid://dth47lmb44qk8" path="res://assets/items.png" id="1_cnc0s"]
|
||||||
|
[ext_resource type="Script" path="res://scripts/items/jump_thing.gd" id="1_nrv87"]
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id="AtlasTexture_jjx8i"]
|
[sub_resource type="AtlasTexture" id="AtlasTexture_jjx8i"]
|
||||||
atlas = ExtResource("1_cnc0s")
|
atlas = ExtResource("1_cnc0s")
|
||||||
@@ -29,8 +30,33 @@ animations = [{
|
|||||||
"speed": 5.0
|
"speed": 5.0
|
||||||
}]
|
}]
|
||||||
|
|
||||||
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_mnewg"]
|
||||||
|
size = Vector2(14, 25)
|
||||||
|
|
||||||
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_luw3y"]
|
||||||
|
size = Vector2(16, 24)
|
||||||
|
|
||||||
[node name="jump_thing" type="Node2D"]
|
[node name="jump_thing" type="Node2D"]
|
||||||
|
script = ExtResource("1_nrv87")
|
||||||
|
|
||||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||||
position = Vector2(8, -12)
|
position = Vector2(8, -12)
|
||||||
sprite_frames = SubResource("SpriteFrames_1s1v4")
|
sprite_frames = SubResource("SpriteFrames_1s1v4")
|
||||||
|
animation = &"down"
|
||||||
|
autoplay = "default"
|
||||||
|
|
||||||
|
[node name="Area2D" type="Area2D" parent="."]
|
||||||
|
collision_mask = 2
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
||||||
|
position = Vector2(8, -12.5)
|
||||||
|
shape = SubResource("RectangleShape2D_mnewg")
|
||||||
|
|
||||||
|
[node name="StaticBody2D" type="StaticBody2D" parent="."]
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
|
||||||
|
position = Vector2(8, -12)
|
||||||
|
shape = SubResource("RectangleShape2D_luw3y")
|
||||||
|
|
||||||
|
[connection signal="body_entered" from="Area2D" to="." method="_on_area_2d_body_entered"]
|
||||||
|
[connection signal="body_exited" from="Area2D" to="." method="_on_area_2d_body_exited"]
|
||||||
@@ -86,7 +86,26 @@ theme_override_font_sizes/font_size = 24
|
|||||||
disabled = true
|
disabled = true
|
||||||
text = "Level 4"
|
text = "Level 4"
|
||||||
|
|
||||||
|
[node name="Button_5" type="Button" parent="Control"]
|
||||||
|
layout_mode = 1
|
||||||
|
anchors_preset = 8
|
||||||
|
anchor_left = 0.5
|
||||||
|
anchor_top = 0.5
|
||||||
|
anchor_right = 0.5
|
||||||
|
anchor_bottom = 0.5
|
||||||
|
offset_left = -240.0
|
||||||
|
offset_top = 76.0
|
||||||
|
offset_right = -32.0
|
||||||
|
offset_bottom = 140.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
theme_override_fonts/font = ExtResource("2_3ebbo")
|
||||||
|
theme_override_font_sizes/font_size = 24
|
||||||
|
disabled = true
|
||||||
|
text = "Level 5"
|
||||||
|
|
||||||
[connection signal="pressed" from="Control/Button_1" to="." method="_on_button_pressed" binds= ["1"]]
|
[connection signal="pressed" from="Control/Button_1" to="." method="_on_button_pressed" binds= ["1"]]
|
||||||
[connection signal="pressed" from="Control/Button_2" to="." method="_on_button_pressed" binds= ["2"]]
|
[connection signal="pressed" from="Control/Button_2" to="." method="_on_button_pressed" binds= ["2"]]
|
||||||
[connection signal="pressed" from="Control/Button_3" to="." method="_on_button_pressed" binds= ["3"]]
|
[connection signal="pressed" from="Control/Button_3" to="." method="_on_button_pressed" binds= ["3"]]
|
||||||
[connection signal="pressed" from="Control/Button_4" to="." method="_on_button_pressed" binds= ["4"]]
|
[connection signal="pressed" from="Control/Button_4" to="." method="_on_button_pressed" binds= ["4"]]
|
||||||
|
[connection signal="pressed" from="Control/Button_5" to="." method="_on_button_pressed" binds= ["5"]]
|
||||||
@@ -19089,6 +19089,8 @@ auto_collect = true
|
|||||||
|
|
||||||
[node name="destroyblock" parent="interactable_blocks" instance=ExtResource("5_k4kpc")]
|
[node name="destroyblock" parent="interactable_blocks" instance=ExtResource("5_k4kpc")]
|
||||||
position = Vector2(160, -48)
|
position = Vector2(160, -48)
|
||||||
|
hit_object = ExtResource("4_7ycg6")
|
||||||
|
auto_collect = true
|
||||||
|
|
||||||
[node name="itemblock2" parent="interactable_blocks" instance=ExtResource("3_4oas0")]
|
[node name="itemblock2" parent="interactable_blocks" instance=ExtResource("3_4oas0")]
|
||||||
position = Vector2(176, -48)
|
position = Vector2(176, -48)
|
||||||
@@ -19096,6 +19098,8 @@ hit_object = ExtResource("6_1e33i")
|
|||||||
|
|
||||||
[node name="destroyblock2" parent="interactable_blocks" instance=ExtResource("5_k4kpc")]
|
[node name="destroyblock2" parent="interactable_blocks" instance=ExtResource("5_k4kpc")]
|
||||||
position = Vector2(192, -48)
|
position = Vector2(192, -48)
|
||||||
|
hit_object = ExtResource("4_7ycg6")
|
||||||
|
auto_collect = true
|
||||||
|
|
||||||
[node name="itemblock3" parent="interactable_blocks" instance=ExtResource("3_4oas0")]
|
[node name="itemblock3" parent="interactable_blocks" instance=ExtResource("3_4oas0")]
|
||||||
position = Vector2(208, -48)
|
position = Vector2(208, -48)
|
||||||
@@ -19160,6 +19164,8 @@ auto_collect = true
|
|||||||
|
|
||||||
[node name="destroyblock17" parent="interactable_blocks" instance=ExtResource("5_k4kpc")]
|
[node name="destroyblock17" parent="interactable_blocks" instance=ExtResource("5_k4kpc")]
|
||||||
position = Vector2(1424, -48)
|
position = Vector2(1424, -48)
|
||||||
|
hit_object = ExtResource("4_7ycg6")
|
||||||
|
auto_collect = true
|
||||||
|
|
||||||
[node name="destroyblock18" parent="interactable_blocks" instance=ExtResource("5_k4kpc")]
|
[node name="destroyblock18" parent="interactable_blocks" instance=ExtResource("5_k4kpc")]
|
||||||
position = Vector2(1520, -48)
|
position = Vector2(1520, -48)
|
||||||
@@ -19316,19 +19322,22 @@ position = Vector2(736, 0)
|
|||||||
position = Vector2(768, 0)
|
position = Vector2(768, 0)
|
||||||
|
|
||||||
[node name="Gumba4" parent="Enemies" instance=ExtResource("8_6vd8t")]
|
[node name="Gumba4" parent="Enemies" instance=ExtResource("8_6vd8t")]
|
||||||
position = Vector2(1120, 0)
|
position = Vector2(1200, -128)
|
||||||
|
|
||||||
[node name="Gumba5" parent="Enemies" instance=ExtResource("8_6vd8t")]
|
[node name="Gumba5" parent="Enemies" instance=ExtResource("8_6vd8t")]
|
||||||
position = Vector2(1152, 0)
|
position = Vector2(1232, -128)
|
||||||
|
|
||||||
[node name="Gumba6" parent="Enemies" instance=ExtResource("8_6vd8t")]
|
[node name="Gumba6" parent="Enemies" instance=ExtResource("8_6vd8t")]
|
||||||
position = Vector2(1472, 0)
|
position = Vector2(1472, 0)
|
||||||
|
|
||||||
|
[node name="Gumba16" parent="Enemies" instance=ExtResource("8_6vd8t")]
|
||||||
|
position = Vector2(1504, 0)
|
||||||
|
|
||||||
[node name="Gumba8" parent="Enemies" instance=ExtResource("8_6vd8t")]
|
[node name="Gumba8" parent="Enemies" instance=ExtResource("8_6vd8t")]
|
||||||
position = Vector2(2672, 0)
|
position = Vector2(2784, 0)
|
||||||
|
|
||||||
[node name="Gumba9" parent="Enemies" instance=ExtResource("8_6vd8t")]
|
[node name="Gumba9" parent="Enemies" instance=ExtResource("8_6vd8t")]
|
||||||
position = Vector2(2752, 0)
|
position = Vector2(2816, 0)
|
||||||
|
|
||||||
[node name="Gumba10" parent="Enemies" instance=ExtResource("8_6vd8t")]
|
[node name="Gumba10" parent="Enemies" instance=ExtResource("8_6vd8t")]
|
||||||
position = Vector2(576, 0)
|
position = Vector2(576, 0)
|
||||||
@@ -19343,10 +19352,10 @@ position = Vector2(1760, 0)
|
|||||||
position = Vector2(1792, 0)
|
position = Vector2(1792, 0)
|
||||||
|
|
||||||
[node name="Gumba12" parent="Enemies" instance=ExtResource("8_6vd8t")]
|
[node name="Gumba12" parent="Enemies" instance=ExtResource("8_6vd8t")]
|
||||||
position = Vector2(1904, 0)
|
position = Vector2(1936, 0)
|
||||||
|
|
||||||
[node name="Gumba13" parent="Enemies" instance=ExtResource("8_6vd8t")]
|
[node name="Gumba13" parent="Enemies" instance=ExtResource("8_6vd8t")]
|
||||||
position = Vector2(1936, 0)
|
position = Vector2(1968, 0)
|
||||||
|
|
||||||
[node name="Gumba14" parent="Enemies" instance=ExtResource("8_6vd8t")]
|
[node name="Gumba14" parent="Enemies" instance=ExtResource("8_6vd8t")]
|
||||||
position = Vector2(2016, 0)
|
position = Vector2(2016, 0)
|
||||||
|
|||||||
+18
-25
@@ -45095,6 +45095,8 @@ text = "120"
|
|||||||
|
|
||||||
[node name="destroyblock_dark" parent="breakBlocks" instance=ExtResource("6_hol3k")]
|
[node name="destroyblock_dark" parent="breakBlocks" instance=ExtResource("6_hol3k")]
|
||||||
position = Vector2(336, -64)
|
position = Vector2(336, -64)
|
||||||
|
hit_object = ExtResource("9_a4rwl")
|
||||||
|
auto_collect = true
|
||||||
|
|
||||||
[node name="destroyblock_dark2" parent="breakBlocks" instance=ExtResource("6_hol3k")]
|
[node name="destroyblock_dark2" parent="breakBlocks" instance=ExtResource("6_hol3k")]
|
||||||
position = Vector2(480, -48)
|
position = Vector2(480, -48)
|
||||||
@@ -45239,6 +45241,7 @@ position = Vector2(864, -144)
|
|||||||
|
|
||||||
[node name="destroyblock_dark80" parent="breakBlocks" instance=ExtResource("6_hol3k")]
|
[node name="destroyblock_dark80" parent="breakBlocks" instance=ExtResource("6_hol3k")]
|
||||||
position = Vector2(960, -48)
|
position = Vector2(960, -48)
|
||||||
|
hit_object = ExtResource("14_kgxub")
|
||||||
|
|
||||||
[node name="destroyblock_dark118" parent="breakBlocks" instance=ExtResource("6_hol3k")]
|
[node name="destroyblock_dark118" parent="breakBlocks" instance=ExtResource("6_hol3k")]
|
||||||
position = Vector2(944, -48)
|
position = Vector2(944, -48)
|
||||||
@@ -45293,6 +45296,8 @@ position = Vector2(1008, -64)
|
|||||||
|
|
||||||
[node name="destroyblock_dark85" parent="breakBlocks" instance=ExtResource("6_hol3k")]
|
[node name="destroyblock_dark85" parent="breakBlocks" instance=ExtResource("6_hol3k")]
|
||||||
position = Vector2(1024, -64)
|
position = Vector2(1024, -64)
|
||||||
|
hit_object = ExtResource("9_a4rwl")
|
||||||
|
auto_collect = true
|
||||||
|
|
||||||
[node name="destroyblock_dark86" parent="breakBlocks" instance=ExtResource("6_hol3k")]
|
[node name="destroyblock_dark86" parent="breakBlocks" instance=ExtResource("6_hol3k")]
|
||||||
position = Vector2(1008, -80)
|
position = Vector2(1008, -80)
|
||||||
@@ -45614,6 +45619,7 @@ position = Vector2(2336, -64)
|
|||||||
|
|
||||||
[node name="destroyblock_dark174" parent="breakBlocks" instance=ExtResource("6_hol3k")]
|
[node name="destroyblock_dark174" parent="breakBlocks" instance=ExtResource("6_hol3k")]
|
||||||
position = Vector2(2352, -64)
|
position = Vector2(2352, -64)
|
||||||
|
hit_object = ExtResource("14_kgxub")
|
||||||
|
|
||||||
[node name="interactionBlocks" type="Node" parent="."]
|
[node name="interactionBlocks" type="Node" parent="."]
|
||||||
|
|
||||||
@@ -45641,10 +45647,6 @@ position = Vector2(96, -48)
|
|||||||
hit_object = ExtResource("9_a4rwl")
|
hit_object = ExtResource("9_a4rwl")
|
||||||
auto_collect = true
|
auto_collect = true
|
||||||
|
|
||||||
[node name="itemblock6" parent="interactionBlocks" instance=ExtResource("6_1xseh")]
|
|
||||||
position = Vector2(960, -64)
|
|
||||||
hit_object = ExtResource("14_kgxub")
|
|
||||||
|
|
||||||
[node name="coins" type="Node" parent="."]
|
[node name="coins" type="Node" parent="."]
|
||||||
|
|
||||||
[node name="Coin" parent="coins" instance=ExtResource("9_a4rwl")]
|
[node name="Coin" parent="coins" instance=ExtResource("9_a4rwl")]
|
||||||
@@ -45768,19 +45770,19 @@ target = Vector2(-80, -736)
|
|||||||
[node name="enemies" type="Node" parent="."]
|
[node name="enemies" type="Node" parent="."]
|
||||||
|
|
||||||
[node name="Gumba" parent="enemies" instance=ExtResource("16_qpvvg")]
|
[node name="Gumba" parent="enemies" instance=ExtResource("16_qpvvg")]
|
||||||
position = Vector2(96, 0)
|
position = Vector2(112, 0)
|
||||||
|
|
||||||
[node name="Gumba2" parent="enemies" instance=ExtResource("16_qpvvg")]
|
[node name="Gumba2" parent="enemies" instance=ExtResource("16_qpvvg")]
|
||||||
position = Vector2(128, 0)
|
position = Vector2(144, -16)
|
||||||
|
|
||||||
[node name="Gumba3" parent="enemies" instance=ExtResource("16_qpvvg")]
|
[node name="Gumba3" parent="enemies" instance=ExtResource("16_qpvvg")]
|
||||||
position = Vector2(336, 0)
|
position = Vector2(336, 0)
|
||||||
|
|
||||||
[node name="coopa" parent="enemies" instance=ExtResource("17_4rxmp")]
|
[node name="coopa" parent="enemies" instance=ExtResource("17_4rxmp")]
|
||||||
position = Vector2(496, 0)
|
position = Vector2(560, 0)
|
||||||
|
|
||||||
[node name="coopa2" parent="enemies" instance=ExtResource("17_4rxmp")]
|
[node name="coopa2" parent="enemies" instance=ExtResource("17_4rxmp")]
|
||||||
position = Vector2(528, 0)
|
position = Vector2(592, 0)
|
||||||
|
|
||||||
[node name="coopa3" parent="enemies" instance=ExtResource("17_4rxmp")]
|
[node name="coopa3" parent="enemies" instance=ExtResource("17_4rxmp")]
|
||||||
position = Vector2(800, 0)
|
position = Vector2(800, 0)
|
||||||
@@ -45792,17 +45794,20 @@ position = Vector2(848, 0)
|
|||||||
position = Vector2(896, 0)
|
position = Vector2(896, 0)
|
||||||
|
|
||||||
[node name="Gumba6" parent="enemies" instance=ExtResource("16_qpvvg")]
|
[node name="Gumba6" parent="enemies" instance=ExtResource("16_qpvvg")]
|
||||||
position = Vector2(1120, 0)
|
position = Vector2(1104, -64)
|
||||||
|
|
||||||
[node name="Gumba7" parent="enemies" instance=ExtResource("16_qpvvg")]
|
[node name="Gumba7" parent="enemies" instance=ExtResource("16_qpvvg")]
|
||||||
position = Vector2(1088, 0)
|
position = Vector2(960, -64)
|
||||||
|
|
||||||
[node name="Gumba8" parent="enemies" instance=ExtResource("16_qpvvg")]
|
[node name="Gumba8" parent="enemies" instance=ExtResource("16_qpvvg")]
|
||||||
position = Vector2(1088, -64)
|
position = Vector2(1072, -64)
|
||||||
|
|
||||||
[node name="Gumba9" parent="enemies" instance=ExtResource("16_qpvvg")]
|
[node name="Gumba9" parent="enemies" instance=ExtResource("16_qpvvg")]
|
||||||
position = Vector2(1424, 0)
|
position = Vector2(1424, 0)
|
||||||
|
|
||||||
|
[node name="Gumba14" parent="enemies" instance=ExtResource("16_qpvvg")]
|
||||||
|
position = Vector2(1632, 0)
|
||||||
|
|
||||||
[node name="Gumba10" parent="enemies" instance=ExtResource("16_qpvvg")]
|
[node name="Gumba10" parent="enemies" instance=ExtResource("16_qpvvg")]
|
||||||
position = Vector2(1392, 0)
|
position = Vector2(1392, 0)
|
||||||
|
|
||||||
@@ -45810,10 +45815,10 @@ position = Vector2(1392, 0)
|
|||||||
position = Vector2(1360, 0)
|
position = Vector2(1360, 0)
|
||||||
|
|
||||||
[node name="Gumba12" parent="enemies" instance=ExtResource("16_qpvvg")]
|
[node name="Gumba12" parent="enemies" instance=ExtResource("16_qpvvg")]
|
||||||
position = Vector2(2000, -48)
|
position = Vector2(2032, -64)
|
||||||
|
|
||||||
[node name="Gumba13" parent="enemies" instance=ExtResource("16_qpvvg")]
|
[node name="Gumba13" parent="enemies" instance=ExtResource("16_qpvvg")]
|
||||||
position = Vector2(1968, -16)
|
position = Vector2(2000, -48)
|
||||||
|
|
||||||
[node name="coopa4" parent="enemies" instance=ExtResource("17_4rxmp")]
|
[node name="coopa4" parent="enemies" instance=ExtResource("17_4rxmp")]
|
||||||
position = Vector2(2272, 0)
|
position = Vector2(2272, 0)
|
||||||
@@ -45829,18 +45834,6 @@ position = Vector2(1584, -64)
|
|||||||
[node name="StaticBody2D" parent="invisibleBarriers" instance=ExtResource("18_ujrgy")]
|
[node name="StaticBody2D" parent="invisibleBarriers" instance=ExtResource("18_ujrgy")]
|
||||||
position = Vector2(1824, 0)
|
position = Vector2(1824, 0)
|
||||||
|
|
||||||
[node name="StaticBody2D2" parent="invisibleBarriers" instance=ExtResource("18_ujrgy")]
|
|
||||||
position = Vector2(1168, 0)
|
|
||||||
|
|
||||||
[node name="StaticBody2D3" parent="invisibleBarriers" instance=ExtResource("18_ujrgy")]
|
|
||||||
position = Vector2(1136, 0)
|
|
||||||
|
|
||||||
[node name="StaticBody2D6" parent="invisibleBarriers" instance=ExtResource("18_ujrgy")]
|
|
||||||
position = Vector2(1056, -64)
|
|
||||||
|
|
||||||
[node name="StaticBody2D7" parent="invisibleBarriers" instance=ExtResource("18_ujrgy")]
|
|
||||||
position = Vector2(1136, -64)
|
|
||||||
|
|
||||||
[node name="StaticBody2D8" parent="invisibleBarriers" instance=ExtResource("18_ujrgy")]
|
[node name="StaticBody2D8" parent="invisibleBarriers" instance=ExtResource("18_ujrgy")]
|
||||||
position = Vector2(2160, 0)
|
position = Vector2(2160, 0)
|
||||||
|
|
||||||
|
|||||||
@@ -7863,24 +7863,9 @@ level_score = 4
|
|||||||
|
|
||||||
[node name="invisibleBarriers" type="Node" parent="."]
|
[node name="invisibleBarriers" type="Node" parent="."]
|
||||||
|
|
||||||
[node name="StaticBody2D" parent="invisibleBarriers" instance=ExtResource("13_6mf4p")]
|
[node name="StaticBody2D12" parent="invisibleBarriers" instance=ExtResource("13_6mf4p")]
|
||||||
position = Vector2(256, -128)
|
|
||||||
|
|
||||||
[node name="StaticBody2D2" parent="invisibleBarriers" instance=ExtResource("13_6mf4p")]
|
|
||||||
position = Vector2(352, -128)
|
position = Vector2(352, -128)
|
||||||
|
|
||||||
[node name="StaticBody2D3" parent="invisibleBarriers" instance=ExtResource("13_6mf4p")]
|
|
||||||
position = Vector2(480, -144)
|
|
||||||
|
|
||||||
[node name="StaticBody2D4" parent="invisibleBarriers" instance=ExtResource("13_6mf4p")]
|
|
||||||
position = Vector2(608, -144)
|
|
||||||
|
|
||||||
[node name="StaticBody2D5" parent="invisibleBarriers" instance=ExtResource("13_6mf4p")]
|
|
||||||
position = Vector2(960, -64)
|
|
||||||
|
|
||||||
[node name="StaticBody2D6" parent="invisibleBarriers" instance=ExtResource("13_6mf4p")]
|
|
||||||
position = Vector2(1024, -64)
|
|
||||||
|
|
||||||
[node name="StaticBody2D7" parent="invisibleBarriers" instance=ExtResource("13_6mf4p")]
|
[node name="StaticBody2D7" parent="invisibleBarriers" instance=ExtResource("13_6mf4p")]
|
||||||
position = Vector2(1040, -112)
|
position = Vector2(1040, -112)
|
||||||
|
|
||||||
|
|||||||
+31
-46
@@ -1,4 +1,4 @@
|
|||||||
[gd_scene load_steps=20 format=3 uid="uid://dlotvf0vtwjr4"]
|
[gd_scene load_steps=21 format=3 uid="uid://dlotvf0vtwjr4"]
|
||||||
|
|
||||||
[ext_resource type="PackedScene" uid="uid://dk1aby88pygtr" path="res://scenes/player.tscn" id="1_cf8aw"]
|
[ext_resource type="PackedScene" uid="uid://dk1aby88pygtr" path="res://scenes/player.tscn" id="1_cf8aw"]
|
||||||
[ext_resource type="Texture2D" uid="uid://cbcqfbbrmin4n" path="res://assets/bg-1-4.png" id="1_g3kb1"]
|
[ext_resource type="Texture2D" uid="uid://cbcqfbbrmin4n" path="res://assets/bg-1-4.png" id="1_g3kb1"]
|
||||||
@@ -8,11 +8,12 @@
|
|||||||
[ext_resource type="Script" path="res://scripts/WorldBoundDown.gd" id="6_ilol3"]
|
[ext_resource type="Script" path="res://scripts/WorldBoundDown.gd" id="6_ilol3"]
|
||||||
[ext_resource type="PackedScene" uid="uid://d25ukpt8ot8xv" path="res://scenes/blocks/itemblock.tscn" id="7_vhpxe"]
|
[ext_resource type="PackedScene" uid="uid://d25ukpt8ot8xv" path="res://scenes/blocks/itemblock.tscn" id="7_vhpxe"]
|
||||||
[ext_resource type="PackedScene" uid="uid://b4dp88urmm7g8" path="res://scenes/items/mushroom.tscn" id="8_kin5r"]
|
[ext_resource type="PackedScene" uid="uid://b4dp88urmm7g8" path="res://scenes/items/mushroom.tscn" id="8_kin5r"]
|
||||||
[ext_resource type="PackedScene" uid="uid://nm5keea43u56" path="res://scenes/items/coin.tscn" id="9_oqkue"]
|
|
||||||
[ext_resource type="PackedScene" uid="uid://bp71ntkh281k5" path="res://scenes/items/fire_flower.tscn" id="10_6j1wi"]
|
|
||||||
[ext_resource type="PackedScene" uid="uid://d0npbb0w73ajk" path="res://scenes/enemies/bridge.tscn" id="11_v5iex"]
|
[ext_resource type="PackedScene" uid="uid://d0npbb0w73ajk" path="res://scenes/enemies/bridge.tscn" id="11_v5iex"]
|
||||||
[ext_resource type="PackedScene" uid="uid://byk5q0ddm54hi" path="res://scenes/enemies/bowserjr.tscn" id="12_isomg"]
|
[ext_resource type="PackedScene" uid="uid://byk5q0ddm54hi" path="res://scenes/enemies/bowserjr.tscn" id="12_isomg"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://badk308gvg1my" path="res://scenes/blocks/itemblock_invisible.tscn" id="12_rb6r5"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://d032da33bfwtu" path="res://scenes/items/itemblock_mushroom.tscn" id="13_iv1rd"]
|
||||||
[ext_resource type="PackedScene" uid="uid://bobox153pirkx" path="res://scenes/blocks/platform_short.tscn" id="13_lt15j"]
|
[ext_resource type="PackedScene" uid="uid://bobox153pirkx" path="res://scenes/blocks/platform_short.tscn" id="13_lt15j"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://cwhx0kcemeyx" path="res://scenes/items/itemblock_flower.tscn" id="14_xdsdd"]
|
||||||
|
|
||||||
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_2aufj"]
|
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_2aufj"]
|
||||||
texture = ExtResource("1_g3kb1")
|
texture = ExtResource("1_g3kb1")
|
||||||
@@ -7304,6 +7305,21 @@ sources/0 = SubResource("TileSetAtlasSource_2aufj")
|
|||||||
a = Vector2(3435, -6.03052)
|
a = Vector2(3435, -6.03052)
|
||||||
b = Vector2(-161, -6.99857)
|
b = Vector2(-161, -6.99857)
|
||||||
|
|
||||||
|
[sub_resource type="Animation" id="Animation_4k6b7"]
|
||||||
|
length = 0.001
|
||||||
|
tracks/0/type = "value"
|
||||||
|
tracks/0/imported = false
|
||||||
|
tracks/0/enabled = true
|
||||||
|
tracks/0/path = NodePath(".:position")
|
||||||
|
tracks/0/interp = 1
|
||||||
|
tracks/0/loop_wrap = true
|
||||||
|
tracks/0/keys = {
|
||||||
|
"times": PackedFloat32Array(0),
|
||||||
|
"transitions": PackedFloat32Array(1),
|
||||||
|
"update": 0,
|
||||||
|
"values": [Vector2(2096, -112)]
|
||||||
|
}
|
||||||
|
|
||||||
[sub_resource type="Animation" id="Animation_w556l"]
|
[sub_resource type="Animation" id="Animation_w556l"]
|
||||||
resource_name = "default"
|
resource_name = "default"
|
||||||
length = 3.0
|
length = 3.0
|
||||||
@@ -7321,21 +7337,6 @@ tracks/0/keys = {
|
|||||||
"values": [Vector2(2096, -112), Vector2(1936, -112)]
|
"values": [Vector2(2096, -112), Vector2(1936, -112)]
|
||||||
}
|
}
|
||||||
|
|
||||||
[sub_resource type="Animation" id="Animation_4k6b7"]
|
|
||||||
length = 0.001
|
|
||||||
tracks/0/type = "value"
|
|
||||||
tracks/0/imported = false
|
|
||||||
tracks/0/enabled = true
|
|
||||||
tracks/0/path = NodePath(".:position")
|
|
||||||
tracks/0/interp = 1
|
|
||||||
tracks/0/loop_wrap = true
|
|
||||||
tracks/0/keys = {
|
|
||||||
"times": PackedFloat32Array(0),
|
|
||||||
"transitions": PackedFloat32Array(1),
|
|
||||||
"update": 0,
|
|
||||||
"values": [Vector2(2096, -112)]
|
|
||||||
}
|
|
||||||
|
|
||||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_icyc2"]
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_icyc2"]
|
||||||
_data = {
|
_data = {
|
||||||
"RESET": SubResource("Animation_4k6b7"),
|
"RESET": SubResource("Animation_4k6b7"),
|
||||||
@@ -7419,34 +7420,6 @@ position = Vector2(2048, -48)
|
|||||||
position = Vector2(352, -96)
|
position = Vector2(352, -96)
|
||||||
hit_object = ExtResource("8_kin5r")
|
hit_object = ExtResource("8_kin5r")
|
||||||
|
|
||||||
[node name="itemblock2" parent="interactable" instance=ExtResource("7_vhpxe")]
|
|
||||||
position = Vector2(1568, -48)
|
|
||||||
hit_object = ExtResource("8_kin5r")
|
|
||||||
|
|
||||||
[node name="itemblock3" parent="interactable" instance=ExtResource("7_vhpxe")]
|
|
||||||
position = Vector2(1616, -48)
|
|
||||||
hit_object = ExtResource("9_oqkue")
|
|
||||||
auto_collect = true
|
|
||||||
|
|
||||||
[node name="itemblock4" parent="interactable" instance=ExtResource("7_vhpxe")]
|
|
||||||
position = Vector2(1664, -48)
|
|
||||||
hit_object = ExtResource("9_oqkue")
|
|
||||||
auto_collect = true
|
|
||||||
|
|
||||||
[node name="itemblock5" parent="interactable" instance=ExtResource("7_vhpxe")]
|
|
||||||
position = Vector2(1584, -112)
|
|
||||||
hit_object = ExtResource("9_oqkue")
|
|
||||||
auto_collect = true
|
|
||||||
|
|
||||||
[node name="itemblock6" parent="interactable" instance=ExtResource("7_vhpxe")]
|
|
||||||
position = Vector2(1632, -112)
|
|
||||||
hit_object = ExtResource("9_oqkue")
|
|
||||||
auto_collect = true
|
|
||||||
|
|
||||||
[node name="itemblock7" parent="interactable" instance=ExtResource("7_vhpxe")]
|
|
||||||
position = Vector2(1680, -112)
|
|
||||||
hit_object = ExtResource("10_6j1wi")
|
|
||||||
|
|
||||||
[node name="WorldBoundDown" type="Area2D" parent="."]
|
[node name="WorldBoundDown" type="Area2D" parent="."]
|
||||||
position = Vector2(0, 16)
|
position = Vector2(0, 16)
|
||||||
collision_layer = 32768
|
collision_layer = 32768
|
||||||
@@ -7474,5 +7447,17 @@ libraries = {
|
|||||||
}
|
}
|
||||||
autoplay = "default"
|
autoplay = "default"
|
||||||
|
|
||||||
|
[node name="itemblock_invisible" parent="." instance=ExtResource("12_rb6r5")]
|
||||||
|
position = Vector2(1568, -48)
|
||||||
|
hit_object = ExtResource("13_iv1rd")
|
||||||
|
|
||||||
|
[node name="itemblock_invisible2" parent="." instance=ExtResource("12_rb6r5")]
|
||||||
|
position = Vector2(1616, -48)
|
||||||
|
hit_object = ExtResource("7_vhpxe")
|
||||||
|
|
||||||
|
[node name="itemblock_invisible3" parent="." instance=ExtResource("12_rb6r5")]
|
||||||
|
position = Vector2(1664, -48)
|
||||||
|
hit_object = ExtResource("14_xdsdd")
|
||||||
|
|
||||||
[connection signal="body_entered" from="WorldBoundDown" to="WorldBoundDown" method="_on_body_entered"]
|
[connection signal="body_entered" from="WorldBoundDown" to="WorldBoundDown" method="_on_body_entered"]
|
||||||
[connection signal="timeout" from="WorldBoundDown/Timer" to="WorldBoundDown" method="_on_timer_timeout"]
|
[connection signal="timeout" from="WorldBoundDown/Timer" to="WorldBoundDown" method="_on_timer_timeout"]
|
||||||
+36
-26
@@ -1,4 +1,4 @@
|
|||||||
[gd_scene load_steps=18 format=3 uid="uid://doowvqn5s8yrd"]
|
[gd_scene load_steps=20 format=3 uid="uid://doowvqn5s8yrd"]
|
||||||
|
|
||||||
[ext_resource type="Texture2D" uid="uid://dpsuhnumiv82j" path="res://assets/bg-2-1.png" id="1_qs1dn"]
|
[ext_resource type="Texture2D" uid="uid://dpsuhnumiv82j" path="res://assets/bg-2-1.png" id="1_qs1dn"]
|
||||||
[ext_resource type="PackedScene" uid="uid://dk1aby88pygtr" path="res://scenes/player.tscn" id="2_ci3aa"]
|
[ext_resource type="PackedScene" uid="uid://dk1aby88pygtr" path="res://scenes/player.tscn" id="2_ci3aa"]
|
||||||
@@ -14,6 +14,8 @@
|
|||||||
[ext_resource type="AudioStream" uid="uid://cdtrw675os7dh" path="res://assets/sounds/01. Ground Theme.mp3" id="12_7ivjg"]
|
[ext_resource type="AudioStream" uid="uid://cdtrw675os7dh" path="res://assets/sounds/01. Ground Theme.mp3" id="12_7ivjg"]
|
||||||
[ext_resource type="Script" path="res://scripts/WorldBoundDown.gd" id="13_qoc3j"]
|
[ext_resource type="Script" path="res://scripts/WorldBoundDown.gd" id="13_qoc3j"]
|
||||||
[ext_resource type="FontFile" uid="uid://cpwx7datjer6s" path="res://assets/PixelOperator8.ttf" id="14_3xh63"]
|
[ext_resource type="FontFile" uid="uid://cpwx7datjer6s" path="res://assets/PixelOperator8.ttf" id="14_3xh63"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://daaajdv7ve15a" path="res://scenes/items/jump_thing.tscn" id="15_55rtj"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://bm04qp5vgbi10" path="res://scenes/flag.tscn" id="16_blaby"]
|
||||||
|
|
||||||
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_tac8y"]
|
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_tac8y"]
|
||||||
texture = ExtResource("1_qs1dn")
|
texture = ExtResource("1_qs1dn")
|
||||||
@@ -11483,6 +11485,7 @@ texture = ExtResource("1_qs1dn")
|
|||||||
200:17/0 = 0
|
200:17/0 = 0
|
||||||
200:17/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
200:17/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
200:17/0/physics_layer_0/angular_velocity = 0.0
|
200:17/0/physics_layer_0/angular_velocity = 0.0
|
||||||
|
200:17/0/physics_layer_0/polygon_0/points = PackedVector2Array(-1.33292, -8, 1.33937, -8, 1.14094, 8, -1.19262, 8)
|
||||||
201:17/0 = 0
|
201:17/0 = 0
|
||||||
201:17/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
201:17/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
201:17/0/physics_layer_0/angular_velocity = 0.0
|
201:17/0/physics_layer_0/angular_velocity = 0.0
|
||||||
@@ -12122,6 +12125,7 @@ texture = ExtResource("1_qs1dn")
|
|||||||
200:18/0 = 0
|
200:18/0 = 0
|
||||||
200:18/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
200:18/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
200:18/0/physics_layer_0/angular_velocity = 0.0
|
200:18/0/physics_layer_0/angular_velocity = 0.0
|
||||||
|
200:18/0/physics_layer_0/polygon_0/points = PackedVector2Array(-1.33292, -8, 1.33937, -8, 1.14094, 8, -1.19262, 8)
|
||||||
201:18/0 = 0
|
201:18/0 = 0
|
||||||
201:18/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
201:18/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
201:18/0/physics_layer_0/angular_velocity = 0.0
|
201:18/0/physics_layer_0/angular_velocity = 0.0
|
||||||
@@ -12761,6 +12765,7 @@ texture = ExtResource("1_qs1dn")
|
|||||||
200:19/0 = 0
|
200:19/0 = 0
|
||||||
200:19/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
200:19/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
200:19/0/physics_layer_0/angular_velocity = 0.0
|
200:19/0/physics_layer_0/angular_velocity = 0.0
|
||||||
|
200:19/0/physics_layer_0/polygon_0/points = PackedVector2Array(-1.33292, -8, 1.33937, -8, 1.14094, 8, -1.19262, 8)
|
||||||
201:19/0 = 0
|
201:19/0 = 0
|
||||||
201:19/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
201:19/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
201:19/0/physics_layer_0/angular_velocity = 0.0
|
201:19/0/physics_layer_0/angular_velocity = 0.0
|
||||||
@@ -13400,6 +13405,7 @@ texture = ExtResource("1_qs1dn")
|
|||||||
200:20/0 = 0
|
200:20/0 = 0
|
||||||
200:20/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
200:20/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
200:20/0/physics_layer_0/angular_velocity = 0.0
|
200:20/0/physics_layer_0/angular_velocity = 0.0
|
||||||
|
200:20/0/physics_layer_0/polygon_0/points = PackedVector2Array(-1.33292, -8, 1.33937, -8, 1.14094, 8, -1.19262, 8)
|
||||||
201:20/0 = 0
|
201:20/0 = 0
|
||||||
201:20/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
201:20/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
201:20/0/physics_layer_0/angular_velocity = 0.0
|
201:20/0/physics_layer_0/angular_velocity = 0.0
|
||||||
@@ -14039,6 +14045,7 @@ texture = ExtResource("1_qs1dn")
|
|||||||
200:21/0 = 0
|
200:21/0 = 0
|
||||||
200:21/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
200:21/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
200:21/0/physics_layer_0/angular_velocity = 0.0
|
200:21/0/physics_layer_0/angular_velocity = 0.0
|
||||||
|
200:21/0/physics_layer_0/polygon_0/points = PackedVector2Array(-1.33292, -8, 1.33937, -8, 1.14094, 8, -1.19262, 8)
|
||||||
201:21/0 = 0
|
201:21/0 = 0
|
||||||
201:21/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
201:21/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
201:21/0/physics_layer_0/angular_velocity = 0.0
|
201:21/0/physics_layer_0/angular_velocity = 0.0
|
||||||
@@ -14678,6 +14685,7 @@ texture = ExtResource("1_qs1dn")
|
|||||||
200:22/0 = 0
|
200:22/0 = 0
|
||||||
200:22/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
200:22/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
200:22/0/physics_layer_0/angular_velocity = 0.0
|
200:22/0/physics_layer_0/angular_velocity = 0.0
|
||||||
|
200:22/0/physics_layer_0/polygon_0/points = PackedVector2Array(-1.33292, -8, 1.33937, -8, 1.14094, 8, -1.19262, 8)
|
||||||
201:22/0 = 0
|
201:22/0 = 0
|
||||||
201:22/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
201:22/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
201:22/0/physics_layer_0/angular_velocity = 0.0
|
201:22/0/physics_layer_0/angular_velocity = 0.0
|
||||||
@@ -15318,6 +15326,7 @@ texture = ExtResource("1_qs1dn")
|
|||||||
200:23/0 = 0
|
200:23/0 = 0
|
||||||
200:23/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
200:23/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
200:23/0/physics_layer_0/angular_velocity = 0.0
|
200:23/0/physics_layer_0/angular_velocity = 0.0
|
||||||
|
200:23/0/physics_layer_0/polygon_0/points = PackedVector2Array(-1.33292, -8, 1.33937, -8, 1.14094, 8, -1.19262, 8)
|
||||||
201:23/0 = 0
|
201:23/0 = 0
|
||||||
201:23/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
201:23/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
201:23/0/physics_layer_0/angular_velocity = 0.0
|
201:23/0/physics_layer_0/angular_velocity = 0.0
|
||||||
@@ -15961,6 +15970,7 @@ texture = ExtResource("1_qs1dn")
|
|||||||
200:24/0 = 0
|
200:24/0 = 0
|
||||||
200:24/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
200:24/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
200:24/0/physics_layer_0/angular_velocity = 0.0
|
200:24/0/physics_layer_0/angular_velocity = 0.0
|
||||||
|
200:24/0/physics_layer_0/polygon_0/points = PackedVector2Array(-1.33292, -8, 1.33937, -8, 1.14094, 8, -1.19262, 8)
|
||||||
201:24/0 = 0
|
201:24/0 = 0
|
||||||
201:24/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
201:24/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
201:24/0/physics_layer_0/angular_velocity = 0.0
|
201:24/0/physics_layer_0/angular_velocity = 0.0
|
||||||
@@ -16606,6 +16616,7 @@ texture = ExtResource("1_qs1dn")
|
|||||||
200:25/0 = 0
|
200:25/0 = 0
|
||||||
200:25/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
200:25/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
200:25/0/physics_layer_0/angular_velocity = 0.0
|
200:25/0/physics_layer_0/angular_velocity = 0.0
|
||||||
|
200:25/0/physics_layer_0/polygon_0/points = PackedVector2Array(-1.33292, -8, 1.33937, -8, 1.14094, 8, -1.19262, 8)
|
||||||
201:25/0 = 0
|
201:25/0 = 0
|
||||||
201:25/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
201:25/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
201:25/0/physics_layer_0/angular_velocity = 0.0
|
201:25/0/physics_layer_0/angular_velocity = 0.0
|
||||||
@@ -17252,6 +17263,7 @@ texture = ExtResource("1_qs1dn")
|
|||||||
200:26/0 = 0
|
200:26/0 = 0
|
||||||
200:26/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
200:26/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
200:26/0/physics_layer_0/angular_velocity = 0.0
|
200:26/0/physics_layer_0/angular_velocity = 0.0
|
||||||
|
200:26/0/physics_layer_0/polygon_0/points = PackedVector2Array(-1.33292, -8, 1.33937, -8, 1.14094, 8, -1.19262, 8)
|
||||||
201:26/0 = 0
|
201:26/0 = 0
|
||||||
201:26/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
201:26/0/physics_layer_0/linear_velocity = Vector2(0, 0)
|
||||||
201:26/0/physics_layer_0/angular_velocity = 0.0
|
201:26/0/physics_layer_0/angular_velocity = 0.0
|
||||||
@@ -28954,7 +28966,7 @@ layer_0/z_index = -2
|
|||||||
layer_0/tile_data = PackedInt32Array(-4259851, 13369344, 18, -4194315, 13369344, 18, -4128779, 13369344, 18, -4063243, 13369344, 18, -3997707, 13369344, 18, -3932171, 13369344, 18, -3866635, 13369344, 18, -3801099, 13369344, 18, -3735563, 13369344, 18, -3670027, 13369344, 18, -3604491, 13369344, 18, -3538955, 13369344, 18, -3473419, 13369344, 18, -3407883, 13369344, 18, -3342347, 13369344, 18, -3276811, 13369344, 18, -3211275, 13369344, 18, -3145739, 13369344, 18, -3080203, 13369344, 18, -3014667, 13369344, 18, -2949131, 13369344, 18, -2883595, 13369344, 18, -2818059, 13369344, 18, -2752523, 13369344, 18, -2686987, 13369344, 18, -2621451, 13369344, 18, -2555915, 13369344, 18, -2490379, 13369344, 18, -2424843, 13369344, 18, -2359307, 13369344, 18, -2293771, 13369344, 18, -2228235, 13369344, 18, -2162699, 13369344, 18, -2097163, 13369344, 18, -2031627, 13369344, 18, -1966091, 13369344, 18, -1900555, 13369344, 18, -1835019, 13369344, 18, -1769483, 13369344, 18, -1703947, 13369344, 18, -1638411, 13369344, 18, -1572875, 13369344, 18, -1507339, 13369344, 18, -1441803, 13369344, 18, -1376267, 13369344, 18, -1310731, 13369344, 18, -1245195, 13369344, 18, -1179659, 13369344, 18, -1114123, 13369344, 18, -1048587, 13369344, 18, -983051, 13369344, 18, -917515, 13369344, 18, -851979, 13369344, 18, -786443, 13369344, 18, -720907, 13369344, 18, -655371, 13369344, 18, -589835, 13369344, 18, -524299, 13369344, 18, -458763, 13369344, 18, -393227, 13369344, 18, -327691, 13369344, 18, -262155, 13369344, 18, -196619, 13369344, 18, -131083, 13369344, 18, -65547, 13369344, 18, -11, 13369344, 18, 65525, 13369344, 18, 131061, 13369344, 18, -4259850, 13369344, 18, -4194314, 13369344, 18, -4128778, 13369344, 18, -4063242, 13369344, 18, -3997706, 13369344, 18, -3932170, 13369344, 18, -3866634, 13369344, 18, -3801098, 13369344, 18, -3735562, 13369344, 18, -3670026, 13369344, 18, -3604490, 13369344, 18, -3538954, 13369344, 18, -3473418, 13369344, 18, -3407882, 13369344, 18, -3342346, 13369344, 18, -3276810, 13369344, 18, -3211274, 13369344, 18, -3145738, 13369344, 18, -3080202, 13369344, 18, -3014666, 13369344, 18, -2949130, 13369344, 18, -2883594, 13369344, 18, -2818058, 13369344, 18, -2752522, 13369344, 18, -2686986, 13369344, 18, -2621450, 13369344, 18, -2555914, 13369344, 18, -2490378, 13369344, 18, -2424842, 13369344, 18, -2359306, 13369344, 18, -2293770, 13369344, 18, -2228234, 13369344, 18, -2162698, 13369344, 18, -2097162, 13369344, 18, -2031626, 13369344, 18, -1966090, 13369344, 18, -1900554, 13369344, 18, -1835018, 13369344, 18, -1769482, 13369344, 18, -1703946, 13369344, 18, -1638410, 13369344, 18, -1572874, 13369344, 18, -1507338, 13369344, 18, -1441802, 13369344, 18, -1376266, 13369344, 18, -1310730, 13369344, 18, -1245194, 13369344, 18, -1179658, 13369344, 18, -1114122, 13369344, 18, -1048586, 13369344, 18, -983050, 13369344, 18, -917514, 13369344, 18, -851978, 13369344, 18, -786442, 13369344, 18, -720906, 13369344, 18, -655370, 13369344, 18, -589834, 13369344, 18, -524298, 13369344, 18, -458762, 13369344, 18, -393226, 13369344, 18, -327690, 13369344, 18, -262154, 13369344, 18, -196618, 13369344, 18, -131082, 13369344, 18, -65546, 13369344, 18, -10, 13369344, 18, 65526, 13369344, 18, 131062, 13369344, 18, -4259849, 13369344, 18, -4194313, 13369344, 18, -4128777, 13369344, 18, -4063241, 13369344, 18, -3997705, 13369344, 18, -3932169, 13369344, 18, -3866633, 13369344, 18, -3801097, 13369344, 18, -3735561, 13369344, 18, -3670025, 13369344, 18, -3604489, 13369344, 18, -3538953, 13369344, 18, -3473417, 13369344, 18, -3407881, 13369344, 18, -3342345, 13369344, 18, -3276809, 13369344, 18, -3211273, 13369344, 18, -3145737, 13369344, 18, -3080201, 13369344, 18, -3014665, 13369344, 18, -2949129, 13369344, 18, -2883593, 13369344, 18, -2818057, 13369344, 18, -2752521, 13369344, 18, -2686985, 13369344, 18, -2621449, 13369344, 18, -2555913, 13369344, 18, -2490377, 13369344, 18, -2424841, 13369344, 18, -2359305, 13369344, 18, -2293769, 13369344, 18, -2228233, 13369344, 18, -2162697, 13369344, 18, -2097161, 13369344, 18, -2031625, 13369344, 18, -1966089, 13369344, 18, -1900553, 13369344, 18, -1835017, 13369344, 18, -1769481, 13369344, 18, -1703945, 13369344, 18, -1638409, 13369344, 18, -1572873, 13369344, 18, -1507337, 13369344, 18, -1441801, 13369344, 18, -1376265, 13369344, 18, -1310729, 13369344, 18, -1245193, 13369344, 18, -1179657, 13369344, 18, -1114121, 13369344, 18, -1048585, 13369344, 18, -983049, 13369344, 18, -917513, 13369344, 18, -851977, 13369344, 18, -786441, 13369344, 18, -720905, 13369344, 18, -655369, 13369344, 18, -589833, 13369344, 18, -524297, 13369344, 18, -458761, 13369344, 18, -393225, 13369344, 18, -327689, 13369344, 18, -262153, 13369344, 18, -196617, 13369344, 18, -131081, 13369344, 18, -65545, 13369344, 18, -9, 13369344, 18, 65527, 13369344, 18, 131063, 13369344, 18, -4259848, 13369344, 18, -4194312, 13369344, 18, -4128776, 13369344, 18, -4063240, 13369344, 18, -3997704, 13369344, 18, -3932168, 13369344, 18, -Line truncated
|
layer_0/tile_data = PackedInt32Array(-4259851, 13369344, 18, -4194315, 13369344, 18, -4128779, 13369344, 18, -4063243, 13369344, 18, -3997707, 13369344, 18, -3932171, 13369344, 18, -3866635, 13369344, 18, -3801099, 13369344, 18, -3735563, 13369344, 18, -3670027, 13369344, 18, -3604491, 13369344, 18, -3538955, 13369344, 18, -3473419, 13369344, 18, -3407883, 13369344, 18, -3342347, 13369344, 18, -3276811, 13369344, 18, -3211275, 13369344, 18, -3145739, 13369344, 18, -3080203, 13369344, 18, -3014667, 13369344, 18, -2949131, 13369344, 18, -2883595, 13369344, 18, -2818059, 13369344, 18, -2752523, 13369344, 18, -2686987, 13369344, 18, -2621451, 13369344, 18, -2555915, 13369344, 18, -2490379, 13369344, 18, -2424843, 13369344, 18, -2359307, 13369344, 18, -2293771, 13369344, 18, -2228235, 13369344, 18, -2162699, 13369344, 18, -2097163, 13369344, 18, -2031627, 13369344, 18, -1966091, 13369344, 18, -1900555, 13369344, 18, -1835019, 13369344, 18, -1769483, 13369344, 18, -1703947, 13369344, 18, -1638411, 13369344, 18, -1572875, 13369344, 18, -1507339, 13369344, 18, -1441803, 13369344, 18, -1376267, 13369344, 18, -1310731, 13369344, 18, -1245195, 13369344, 18, -1179659, 13369344, 18, -1114123, 13369344, 18, -1048587, 13369344, 18, -983051, 13369344, 18, -917515, 13369344, 18, -851979, 13369344, 18, -786443, 13369344, 18, -720907, 13369344, 18, -655371, 13369344, 18, -589835, 13369344, 18, -524299, 13369344, 18, -458763, 13369344, 18, -393227, 13369344, 18, -327691, 13369344, 18, -262155, 13369344, 18, -196619, 13369344, 18, -131083, 13369344, 18, -65547, 13369344, 18, -11, 13369344, 18, 65525, 13369344, 18, 131061, 13369344, 18, -4259850, 13369344, 18, -4194314, 13369344, 18, -4128778, 13369344, 18, -4063242, 13369344, 18, -3997706, 13369344, 18, -3932170, 13369344, 18, -3866634, 13369344, 18, -3801098, 13369344, 18, -3735562, 13369344, 18, -3670026, 13369344, 18, -3604490, 13369344, 18, -3538954, 13369344, 18, -3473418, 13369344, 18, -3407882, 13369344, 18, -3342346, 13369344, 18, -3276810, 13369344, 18, -3211274, 13369344, 18, -3145738, 13369344, 18, -3080202, 13369344, 18, -3014666, 13369344, 18, -2949130, 13369344, 18, -2883594, 13369344, 18, -2818058, 13369344, 18, -2752522, 13369344, 18, -2686986, 13369344, 18, -2621450, 13369344, 18, -2555914, 13369344, 18, -2490378, 13369344, 18, -2424842, 13369344, 18, -2359306, 13369344, 18, -2293770, 13369344, 18, -2228234, 13369344, 18, -2162698, 13369344, 18, -2097162, 13369344, 18, -2031626, 13369344, 18, -1966090, 13369344, 18, -1900554, 13369344, 18, -1835018, 13369344, 18, -1769482, 13369344, 18, -1703946, 13369344, 18, -1638410, 13369344, 18, -1572874, 13369344, 18, -1507338, 13369344, 18, -1441802, 13369344, 18, -1376266, 13369344, 18, -1310730, 13369344, 18, -1245194, 13369344, 18, -1179658, 13369344, 18, -1114122, 13369344, 18, -1048586, 13369344, 18, -983050, 13369344, 18, -917514, 13369344, 18, -851978, 13369344, 18, -786442, 13369344, 18, -720906, 13369344, 18, -655370, 13369344, 18, -589834, 13369344, 18, -524298, 13369344, 18, -458762, 13369344, 18, -393226, 13369344, 18, -327690, 13369344, 18, -262154, 13369344, 18, -196618, 13369344, 18, -131082, 13369344, 18, -65546, 13369344, 18, -10, 13369344, 18, 65526, 13369344, 18, 131062, 13369344, 18, -4259849, 13369344, 18, -4194313, 13369344, 18, -4128777, 13369344, 18, -4063241, 13369344, 18, -3997705, 13369344, 18, -3932169, 13369344, 18, -3866633, 13369344, 18, -3801097, 13369344, 18, -3735561, 13369344, 18, -3670025, 13369344, 18, -3604489, 13369344, 18, -3538953, 13369344, 18, -3473417, 13369344, 18, -3407881, 13369344, 18, -3342345, 13369344, 18, -3276809, 13369344, 18, -3211273, 13369344, 18, -3145737, 13369344, 18, -3080201, 13369344, 18, -3014665, 13369344, 18, -2949129, 13369344, 18, -2883593, 13369344, 18, -2818057, 13369344, 18, -2752521, 13369344, 18, -2686985, 13369344, 18, -2621449, 13369344, 18, -2555913, 13369344, 18, -2490377, 13369344, 18, -2424841, 13369344, 18, -2359305, 13369344, 18, -2293769, 13369344, 18, -2228233, 13369344, 18, -2162697, 13369344, 18, -2097161, 13369344, 18, -2031625, 13369344, 18, -1966089, 13369344, 18, -1900553, 13369344, 18, -1835017, 13369344, 18, -1769481, 13369344, 18, -1703945, 13369344, 18, -1638409, 13369344, 18, -1572873, 13369344, 18, -1507337, 13369344, 18, -1441801, 13369344, 18, -1376265, 13369344, 18, -1310729, 13369344, 18, -1245193, 13369344, 18, -1179657, 13369344, 18, -1114121, 13369344, 18, -1048585, 13369344, 18, -983049, 13369344, 18, -917513, 13369344, 18, -851977, 13369344, 18, -786441, 13369344, 18, -720905, 13369344, 18, -655369, 13369344, 18, -589833, 13369344, 18, -524297, 13369344, 18, -458761, 13369344, 18, -393225, 13369344, 18, -327689, 13369344, 18, -262153, 13369344, 18, -196617, 13369344, 18, -131081, 13369344, 18, -65545, 13369344, 18, -9, 13369344, 18, 65527, 13369344, 18, 131063, 13369344, 18, -4259848, 13369344, 18, -4194312, 13369344, 18, -4128776, 13369344, 18, -4063240, 13369344, 18, -3997704, 13369344, 18, -3932168, 13369344, 18, -Line truncated
|
||||||
layer_1/name = "mid"
|
layer_1/name = "mid"
|
||||||
layer_1/z_index = 2
|
layer_1/z_index = 2
|
||||||
layer_1/tile_data = PackedInt32Array(65526, 0, 28, 65525, 0, 28, 131061, 0, 28, 131062, 0, 28, 131063, 0, 28, 131064, 0, 28, 131065, 0, 28, 131066, 0, 28, 131067, 0, 28, 131068, 0, 28, 131069, 0, 28, 131070, 0, 28, 131071, 0, 28, 65536, 0, 28, 65537, 0, 28, 65538, 0, 28, 65539, 0, 28, 65540, 0, 28, 65541, 0, 28, 65542, 0, 28, 65543, 0, 28, 65544, 0, 28, 65545, 0, 28, 65546, 0, 28, 65547, 65536, 29, 11, 0, 28, 10, 0, 28, 9, 0, 28, 8, 0, 28, 7, 0, 28, 6, 0, 28, 5, 0, 28, 4, 0, 28, 3, 0, 28, 2, 0, 28, 1, 0, 28, 0, 0, 28, 65535, 0, 28, 65534, 0, 28, 65533, 0, 28, 65532, 0, 28, 65531, 0, 28, 65530, 0, 28, 65529, 0, 28, 65528, 0, 28, 65527, 0, 28, -11, 0, 28, -65547, 0, 28, -131083, 0, 28, -196619, 0, 28, -262155, 0, 28, -327691, 0, 28, -393227, 0, 28, -458763, 0, 28, -524299, 0, 28, -589835, 0, 28, -655371, 0, 28, -720907, 0, 28, -786443, 0, 28, -786444, 0, 28, -196605, 851968, 25, -131069, 851968, 26, -65533, 851968, 27, -131071, 720896, 26, -65535, 720896, 27, -65532, 917504, 27, -65531, 983040, 27, -65530, 1048576, 27, -65529, 1114112, 27, -65526, 1310720, 27, -65525, 1310720, 27, -131061, 1310720, 27, -65524, 1310720, 27, -131060, 1310720, 27, -196596, 1310720, 27, -65523, 1310720, 27, -131059, 1310720, 27, -196595, 1310720, 27, -262131, 1310720, 27, -65522, 1310720, 27, -131058, 1310720, 27, -196594, 1310720, 27, -262130, 1310720, 27, -327666, 1310720, 27, 12, 65536, 29, 13, 65536, 29, 14, 65536, 29, 15, 65536, 29, 16, 65536, 29, 17, 65536, 29, 18, 65536, 29, 19, 65536, 29, 20, 65536, 29, 21, 65536, 29, 22, 65536, 29, 23, 65536, 29, 24, 65536, 29, 25, 65536, 29, 26, 65536, 29, 27, 65536, 29, 65563, 65536, 29, 65562, 65536, 29, 65561, 65536, 29, 65560, 65536, 29, 65559, 65536, 29, 65558, 65536, 29, 65557, 65536, 29, 65556, 65536, 29, 65555, 65536, 29, 65554, 65536, 29, 65553, 65536, 29, 65552, 65536, 29, 65551, 65536, 29, 65550, 65536, 29, 65549, 65536, 29, 65548, 65536, 29, -196597, 1376256, 25, -589817, 1179648, 18, -524281, 1179648, 19, -589816, 1245184, 18, -524280, 1245184, 19, -589815, 1310720, 18, -524279, 1310720, 19, -262118, 1376256, 27, -196582, 1376256, 27, -131046, 1376256, 27, -65510, 1376256, 27, -131045, 1376256, 27, -65509, 1376256, 27, 28, 1441792, 28, 29, 1441792, 28, 30, 1441792, 28, 31, 1441792, 28, 32, 1441792, 28, 33, 1441792, 28, 34, 1441792, 28, 35, 1441792, 28, 36, 1441792, 28, 37, 1441792, 28, 38, 1441792, 28, 39, 1441792, 28, 65575, 1441792, 28, 65574, 1441792, 28, 65573, 1441792, 28, 65572, 1441792, 28, 65571, 1441792, 28, 65570, 1441792, 28, 65569, 1441792, 28, 65568, 1441792, 28, 65567, 1441792, 28, 65566, 1441792, 28, 65565, 1441792, 28, 65564, 1441792, 28, -65506, 2490368, 27, -65505, 2555904, 27, -131040, 2621440, 26, -65504, 2621440, 27, -65503, 2686976, 27, -196573, 2818048, 25, -131037, 2818048, 26, -65501, 2818048, 27, -262106, 3014656, 24, -196570, 3014656, 25, -131034, 3014656, 26, -65498, 3014656, 27, -262105, 3080192, 24, -196569, 3080192, 25, -131033, 3080192, 26, -65497, 3080192, 27, 40, 1376256, 28, 41, 1376256, 28, 42, 1376256, 28, 43, 1376256, 28, 44, 1376256, 28, 45, 1376256, 28, 46, 1376256, 28, 47, 1376256, 28, 48, 1376256, 28, 49, 1376256, 28, 50, 1376256, 28, 51, 1376256, 28, 52, 1376256, 28, 53, 1376256, 28, 54, 1376256, 28, 55, 1376256, 28, 56, 1376256, 28, 57, 1376256, 28, 58, 1376256, 28, 59, 1376256, 28, 60, 1376256, 28, 61, 1376256, 28, 62, 1376256, 28, 65598, 1376256, 28, 65597, 1376256, 28, 65596, 1376256, 28, 65595, 1376256, 28, 65594, 1376256, 28, 65593, 1376256, 28, 65592, 1376256, 28, 65591, 1376256, 28, 65590, 1376256, 28, 65589, 1376256, 28, 65588, 1376256, 28, 65587, 1376256, 28, 65586, 1376256, 28, 65585, 1376256, 28, 65584, 1376256, 28, 65583, 1376256, 28, 65582, 1376256, 28, 65581, 1376256, 28, 65576, 1376256, 28, 65577, 1376256, 28, 65578, 1376256, 28, 65579, 1376256, 28, 65580, 1376256, 28, -131020, 720896, 26, -65484, 720896, 27, -196554, 851968, 25, -131018, 851968, 26, -65482, 851968, 27, -65481, 917504, 27, -65480, 983040, 27, -65479, 1048576, 27, -65478, 1114112, 27, 63, 393216, 29, 64, 393216, 29, 65, 393216, 29, 65602, 393216, 29, 65603, 393216, 29, 65604, 393216, 29, 68, 393216, 29, 69, 393216, 29, 65605, 393216, 29, 70, 393216, 29, 65606, 393216, 29, 65607, 262144, 28, 71, 393216, 29, 67, 393216, 29, 66, 393216, 29, 65599, 393216, 29, 65600, 393216, 29, 65601, 393216, 29, -262076, 3014656, 24, -196540, 3014656, 25, -131004, 3014656, 26, -65468, 3014656, 27, -262075, 3080192, 24, -196539, 3080192, 25, -131003, 3080192, 26, -65467, 3080192, 27, 72, 262144, 28, 73, 262144, 28, 74, 262144, 28, 75, 262144, 28, 76, 262144, 28, 77, 262144, 28, 78, 262144, 28, 79, 262144, 28, 80, 262144, 28, 81, 262144, 28, 82, 262144, 28, 83, 262144, 28, 84, 262144, 28, 85, 262144, 28, 65621, 262144, 28, 65620, 262144, 28, 65619, 262144, 28, 65618, 262144, 28, 65617, 262144, 28, 65616, 262144, 28, 65615, 262144, 28, 65614, 262144, 28, 65613, 262144, 28, 65612, 262144, 28, 65611, 262144, 28, 65610, 262144, 28, 65609, 262144, 28, 65608, 262144, 28, -196Line truncated
|
layer_1/tile_data = PackedInt32Array(65526, 0, 28, 65525, 0, 28, 131061, 0, 28, 131062, 0, 28, 131063, 0, 28, 131064, 0, 28, 131065, 0, 28, 131066, 0, 28, 131067, 0, 28, 131068, 0, 28, 131069, 0, 28, 131070, 0, 28, 131071, 0, 28, 65536, 0, 28, 65537, 0, 28, 65538, 0, 28, 65539, 0, 28, 65540, 0, 28, 65541, 0, 28, 65542, 0, 28, 65543, 0, 28, 65544, 0, 28, 65545, 0, 28, 65546, 0, 28, 65547, 65536, 29, 11, 0, 28, 10, 0, 28, 9, 0, 28, 8, 0, 28, 7, 0, 28, 6, 0, 28, 5, 0, 28, 4, 0, 28, 3, 0, 28, 2, 0, 28, 1, 0, 28, 0, 0, 28, 65535, 0, 28, 65534, 0, 28, 65533, 0, 28, 65532, 0, 28, 65531, 0, 28, 65530, 0, 28, 65529, 0, 28, 65528, 0, 28, 65527, 0, 28, -11, 0, 28, -65547, 0, 28, -131083, 0, 28, -196619, 0, 28, -262155, 0, 28, -327691, 0, 28, -393227, 0, 28, -458763, 0, 28, -524299, 0, 28, -589835, 0, 28, -655371, 0, 28, -720907, 0, 28, -786443, 0, 28, -786444, 0, 28, -196605, 851968, 25, -131069, 851968, 26, -65533, 851968, 27, -131071, 720896, 26, -65535, 720896, 27, -65532, 917504, 27, -65531, 983040, 27, -65530, 1048576, 27, -65529, 1114112, 27, -65526, 1310720, 27, -65525, 1310720, 27, -131061, 1310720, 27, -65524, 1310720, 27, -131060, 1310720, 27, -196596, 1310720, 27, -65523, 1310720, 27, -131059, 1310720, 27, -196595, 1310720, 27, -262131, 1310720, 27, -65522, 1310720, 27, -131058, 1310720, 27, -196594, 1310720, 27, -262130, 1310720, 27, -327666, 1310720, 27, 12, 65536, 29, 13, 65536, 29, 14, 65536, 29, 15, 65536, 29, 16, 65536, 29, 17, 65536, 29, 18, 65536, 29, 19, 65536, 29, 20, 65536, 29, 21, 65536, 29, 22, 65536, 29, 23, 65536, 29, 24, 65536, 29, 25, 65536, 29, 26, 65536, 29, 27, 65536, 29, 65563, 65536, 29, 65562, 65536, 29, 65561, 65536, 29, 65560, 65536, 29, 65559, 65536, 29, 65558, 65536, 29, 65557, 65536, 29, 65556, 65536, 29, 65555, 65536, 29, 65554, 65536, 29, 65553, 65536, 29, 65552, 65536, 29, 65551, 65536, 29, 65550, 65536, 29, 65549, 65536, 29, 65548, 65536, 29, -196597, 1376256, 25, -589817, 1179648, 18, -524281, 1179648, 19, -589816, 1245184, 18, -524280, 1245184, 19, -589815, 1310720, 18, -524279, 1310720, 19, -262118, 1376256, 27, -196582, 1376256, 27, -131046, 1376256, 27, -65510, 1376256, 27, -131045, 1376256, 27, -65509, 1376256, 27, 28, 1441792, 28, 29, 1441792, 28, 30, 1441792, 28, 31, 1441792, 28, 32, 1441792, 28, 33, 1441792, 28, 34, 1441792, 28, 35, 1441792, 28, 36, 1441792, 28, 37, 1441792, 28, 38, 1441792, 28, 39, 1441792, 28, 65575, 1441792, 28, 65574, 1441792, 28, 65573, 1441792, 28, 65572, 1441792, 28, 65571, 1441792, 28, 65570, 1441792, 28, 65569, 1441792, 28, 65568, 1441792, 28, 65567, 1441792, 28, 65566, 1441792, 28, 65565, 1441792, 28, 65564, 1441792, 28, -65506, 2490368, 27, -65505, 2555904, 27, -131040, 2621440, 26, -65504, 2621440, 27, -65503, 2686976, 27, -196573, 2818048, 25, -131037, 2818048, 26, -65501, 2818048, 27, -262106, 3014656, 24, -196570, 3014656, 25, -131034, 3014656, 26, -65498, 3014656, 27, -262105, 3080192, 24, -196569, 3080192, 25, -131033, 3080192, 26, -65497, 3080192, 27, 40, 1376256, 28, 41, 1376256, 28, 42, 1376256, 28, 43, 1376256, 28, 44, 1376256, 28, 45, 1376256, 28, 46, 1376256, 28, 47, 1376256, 28, 48, 1376256, 28, 49, 1376256, 28, 50, 1376256, 28, 51, 1376256, 28, 52, 1376256, 28, 53, 1376256, 28, 54, 1376256, 28, 55, 1376256, 28, 56, 1376256, 28, 57, 1376256, 28, 58, 1376256, 28, 59, 1376256, 28, 60, 1376256, 28, 61, 1376256, 28, 62, 1376256, 28, 65598, 1376256, 28, 65597, 1376256, 28, 65596, 1376256, 28, 65595, 1376256, 28, 65594, 1376256, 28, 65593, 1376256, 28, 65592, 1376256, 28, 65591, 1376256, 28, 65590, 1376256, 28, 65589, 1376256, 28, 65588, 1376256, 28, 65587, 1376256, 28, 65586, 1376256, 28, 65585, 1376256, 28, 65584, 1376256, 28, 65583, 1376256, 28, 65582, 1376256, 28, 65581, 1376256, 28, 65576, 1376256, 28, 65577, 1376256, 28, 65578, 1376256, 28, 65579, 1376256, 28, 65580, 1376256, 28, -131020, 720896, 26, -65484, 720896, 27, -196554, 851968, 25, -131018, 851968, 26, -65482, 851968, 27, -65481, 917504, 27, -65480, 983040, 27, -65479, 1048576, 27, -65478, 1114112, 27, 63, 393216, 29, 64, 393216, 29, 65, 393216, 29, 65602, 393216, 29, 65603, 393216, 29, 65604, 393216, 29, 68, 393216, 29, 69, 393216, 29, 65605, 393216, 29, 70, 393216, 29, 65606, 393216, 29, 65607, 262144, 28, 71, 393216, 29, 67, 393216, 29, 66, 393216, 29, 65599, 393216, 29, 65600, 393216, 29, 65601, 393216, 29, -262076, 3014656, 24, -196540, 3014656, 25, -131004, 3014656, 26, -65468, 3014656, 27, -262075, 3080192, 24, -196539, 3080192, 25, -131003, 3080192, 26, -65467, 3080192, 27, 72, 262144, 28, 73, 262144, 28, 74, 262144, 28, 75, 262144, 28, 76, 262144, 28, 77, 262144, 28, 78, 262144, 28, 79, 262144, 28, 80, 262144, 28, 81, 262144, 28, 82, 262144, 28, 83, 262144, 28, 84, 262144, 28, 85, 262144, 28, 65621, 262144, 28, 65620, 262144, 28, 65619, 262144, 28, 65618, 262144, 28, 65617, 262144, 28, 65616, 262144, 28, 65615, 262144, 28, 65614, 262144, 28, 65613, 262144, 28, 65612, 262144, 28, 65611, 262144, 28, 65610, 262144, 28, 65609, 262144, 28, 65608, 262144, 28, -196Line truncated
|
||||||
|
|
||||||
[node name="player" parent="." instance=ExtResource("2_ci3aa")]
|
[node name="player" parent="." instance=ExtResource("2_ci3aa")]
|
||||||
unique_name_in_owner = true
|
unique_name_in_owner = true
|
||||||
@@ -28962,10 +28974,6 @@ position = Vector2(0, -80)
|
|||||||
|
|
||||||
[node name="itemblocks" type="Node" parent="."]
|
[node name="itemblocks" type="Node" parent="."]
|
||||||
|
|
||||||
[node name="itemblock" parent="itemblocks" instance=ExtResource("3_j1icr")]
|
|
||||||
position = Vector2(96, -48)
|
|
||||||
hit_object = ExtResource("4_fcowt")
|
|
||||||
|
|
||||||
[node name="itemblock2" parent="itemblocks" instance=ExtResource("3_j1icr")]
|
[node name="itemblock2" parent="itemblocks" instance=ExtResource("3_j1icr")]
|
||||||
position = Vector2(720, -48)
|
position = Vector2(720, -48)
|
||||||
hit_object = ExtResource("4_fcowt")
|
hit_object = ExtResource("4_fcowt")
|
||||||
@@ -29122,6 +29130,7 @@ position = Vector2(1424, -112)
|
|||||||
|
|
||||||
[node name="destroyblock22" parent="destroyblocks" instance=ExtResource("6_pgprs")]
|
[node name="destroyblock22" parent="destroyblocks" instance=ExtResource("6_pgprs")]
|
||||||
position = Vector2(1872, -112)
|
position = Vector2(1872, -112)
|
||||||
|
hit_object = ExtResource("4_fcowt")
|
||||||
|
|
||||||
[node name="destroyblock23" parent="destroyblocks" instance=ExtResource("6_pgprs")]
|
[node name="destroyblock23" parent="destroyblocks" instance=ExtResource("6_pgprs")]
|
||||||
position = Vector2(1888, -112)
|
position = Vector2(1888, -112)
|
||||||
@@ -29134,12 +29143,15 @@ position = Vector2(1920, -112)
|
|||||||
|
|
||||||
[node name="destroyblock26" parent="destroyblocks" instance=ExtResource("6_pgprs")]
|
[node name="destroyblock26" parent="destroyblocks" instance=ExtResource("6_pgprs")]
|
||||||
position = Vector2(2624, -112)
|
position = Vector2(2624, -112)
|
||||||
|
hit_object = ExtResource("4_fcowt")
|
||||||
|
|
||||||
[node name="destroyblock27" parent="destroyblocks" instance=ExtResource("6_pgprs")]
|
[node name="destroyblock27" parent="destroyblocks" instance=ExtResource("6_pgprs")]
|
||||||
position = Vector2(2880, 0)
|
position = Vector2(2880, 0)
|
||||||
|
|
||||||
[node name="destroyblock28" parent="destroyblocks" instance=ExtResource("6_pgprs")]
|
[node name="destroyblock28" parent="destroyblocks" instance=ExtResource("6_pgprs")]
|
||||||
position = Vector2(2448, -48)
|
position = Vector2(2448, -48)
|
||||||
|
hit_object = ExtResource("5_65nfk")
|
||||||
|
auto_collect = true
|
||||||
|
|
||||||
[node name="destroyblock29" parent="destroyblocks" instance=ExtResource("6_pgprs")]
|
[node name="destroyblock29" parent="destroyblocks" instance=ExtResource("6_pgprs")]
|
||||||
position = Vector2(2496, -112)
|
position = Vector2(2496, -112)
|
||||||
@@ -29177,13 +29189,13 @@ position = Vector2(544, 0)
|
|||||||
position = Vector2(752, -64)
|
position = Vector2(752, -64)
|
||||||
|
|
||||||
[node name="Gumba4" parent="enemies" instance=ExtResource("7_j53df")]
|
[node name="Gumba4" parent="enemies" instance=ExtResource("7_j53df")]
|
||||||
position = Vector2(752, 0)
|
position = Vector2(816, 0)
|
||||||
|
|
||||||
[node name="Gumba5" parent="enemies" instance=ExtResource("7_j53df")]
|
[node name="Gumba5" parent="enemies" instance=ExtResource("7_j53df")]
|
||||||
position = Vector2(784, 0)
|
position = Vector2(848, 0)
|
||||||
|
|
||||||
[node name="coopa4" parent="enemies" instance=ExtResource("8_6n4hi")]
|
[node name="coopa4" parent="enemies" instance=ExtResource("8_6n4hi")]
|
||||||
position = Vector2(912, 0)
|
position = Vector2(928, 0)
|
||||||
|
|
||||||
[node name="Gumba6" parent="enemies" instance=ExtResource("7_j53df")]
|
[node name="Gumba6" parent="enemies" instance=ExtResource("7_j53df")]
|
||||||
position = Vector2(960, 0)
|
position = Vector2(960, 0)
|
||||||
@@ -29204,10 +29216,10 @@ position = Vector2(1296, 0)
|
|||||||
position = Vector2(1328, 0)
|
position = Vector2(1328, 0)
|
||||||
|
|
||||||
[node name="Gumba12" parent="enemies" instance=ExtResource("7_j53df")]
|
[node name="Gumba12" parent="enemies" instance=ExtResource("7_j53df")]
|
||||||
position = Vector2(1488, 0)
|
position = Vector2(1536, -80)
|
||||||
|
|
||||||
[node name="Gumba13" parent="enemies" instance=ExtResource("7_j53df")]
|
[node name="Gumba13" parent="enemies" instance=ExtResource("7_j53df")]
|
||||||
position = Vector2(1680, 0)
|
position = Vector2(1728, -48)
|
||||||
|
|
||||||
[node name="Gumba14" parent="enemies" instance=ExtResource("7_j53df")]
|
[node name="Gumba14" parent="enemies" instance=ExtResource("7_j53df")]
|
||||||
position = Vector2(1792, 0)
|
position = Vector2(1792, 0)
|
||||||
@@ -29256,24 +29268,9 @@ position = Vector2(624, -64)
|
|||||||
|
|
||||||
[node name="barriers" type="Node" parent="."]
|
[node name="barriers" type="Node" parent="."]
|
||||||
|
|
||||||
[node name="StaticBody2D" parent="barriers" instance=ExtResource("9_txw4t")]
|
|
||||||
position = Vector2(704, -64)
|
|
||||||
|
|
||||||
[node name="StaticBody2D2" parent="barriers" instance=ExtResource("9_txw4t")]
|
[node name="StaticBody2D2" parent="barriers" instance=ExtResource("9_txw4t")]
|
||||||
position = Vector2(800, -64)
|
position = Vector2(800, -64)
|
||||||
|
|
||||||
[node name="StaticBody2D3" parent="barriers" instance=ExtResource("9_txw4t")]
|
|
||||||
position = Vector2(1376, 0)
|
|
||||||
|
|
||||||
[node name="StaticBody2D4" parent="barriers" instance=ExtResource("9_txw4t")]
|
|
||||||
position = Vector2(1424, 0)
|
|
||||||
|
|
||||||
[node name="StaticBody2D5" parent="barriers" instance=ExtResource("9_txw4t")]
|
|
||||||
position = Vector2(1600, 0)
|
|
||||||
|
|
||||||
[node name="StaticBody2D6" parent="barriers" instance=ExtResource("9_txw4t")]
|
|
||||||
position = Vector2(2080, 0)
|
|
||||||
|
|
||||||
[node name="StaticBody2D7" parent="barriers" instance=ExtResource("9_txw4t")]
|
[node name="StaticBody2D7" parent="barriers" instance=ExtResource("9_txw4t")]
|
||||||
position = Vector2(2112, 0)
|
position = Vector2(2112, 0)
|
||||||
|
|
||||||
@@ -29394,5 +29391,18 @@ theme_override_fonts/font = ExtResource("14_3xh63")
|
|||||||
theme_override_font_sizes/font_size = 32
|
theme_override_font_sizes/font_size = 32
|
||||||
text = "120"
|
text = "120"
|
||||||
|
|
||||||
|
[node name="jump_thing" parent="." instance=ExtResource("15_55rtj")]
|
||||||
|
position = Vector2(2880, -16)
|
||||||
|
|
||||||
|
[node name="destroyblock" parent="." instance=ExtResource("6_pgprs")]
|
||||||
|
position = Vector2(96, -48)
|
||||||
|
hit_object = ExtResource("4_fcowt")
|
||||||
|
|
||||||
|
[node name="Flag" parent="." instance=ExtResource("16_blaby")]
|
||||||
|
z_index = 20
|
||||||
|
position = Vector2(3079, -17)
|
||||||
|
load_level = "level_0"
|
||||||
|
level_score = 6
|
||||||
|
|
||||||
[connection signal="body_entered" from="WorldBoundDown" to="WorldBoundDown" method="_on_body_entered"]
|
[connection signal="body_entered" from="WorldBoundDown" to="WorldBoundDown" method="_on_body_entered"]
|
||||||
[connection signal="timeout" from="WorldBoundDown/Timer" to="WorldBoundDown" method="_on_timer_timeout"]
|
[connection signal="timeout" from="WorldBoundDown/Timer" to="WorldBoundDown" method="_on_timer_timeout"]
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
extends CanvasLayer
|
extends CanvasLayer
|
||||||
|
|
||||||
@onready var buttons = [$Control/Button_1, $Control/Button_2, $Control/Button_3,
|
@onready var buttons = [$Control/Button_1, $Control/Button_2, $Control/Button_3,
|
||||||
$Control/Button_4
|
$Control/Button_4, $Control/Button_5
|
||||||
]
|
]
|
||||||
var available_level = 0
|
var available_level = 0
|
||||||
|
|
||||||
|
|||||||
@@ -2,10 +2,22 @@ extends RigidBody2D
|
|||||||
|
|
||||||
@onready var animated_sprite_2d = $AnimatedSprite2D
|
@onready var animated_sprite_2d = $AnimatedSprite2D
|
||||||
@onready var animation_player = $AnimationPlayer
|
@onready var animation_player = $AnimationPlayer
|
||||||
|
@export var hit_object : PackedScene
|
||||||
|
@export var auto_collect : bool
|
||||||
|
const ITEMBLOCK = preload("res://scenes/blocks/itemblock.tscn")
|
||||||
|
|
||||||
func _ready():
|
func _ready():
|
||||||
animated_sprite_2d.play("default")
|
animated_sprite_2d.play("default")
|
||||||
|
|
||||||
func _on_activate_body_entered(body):
|
func _on_activate_body_entered(body):
|
||||||
if body.is_big:
|
if hit_object == null:
|
||||||
animation_player.play("destroy")
|
if body.is_big:
|
||||||
|
animation_player.play("destroy")
|
||||||
|
else:
|
||||||
|
var inst2 = ITEMBLOCK.instantiate()
|
||||||
|
get_parent().add_child(inst2)
|
||||||
|
inst2.position.x = position.x
|
||||||
|
inst2.position.y = position.y
|
||||||
|
inst2.hit_object = hit_object
|
||||||
|
inst2.auto_collect = auto_collect
|
||||||
|
queue_free()
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
extends RigidBody2D
|
||||||
|
@export var hit_object:PackedScene
|
||||||
|
@onready var collision_shape_2d = $CollisionShape2D
|
||||||
|
|
||||||
|
func _ready():
|
||||||
|
collision_shape_2d.disabled = true
|
||||||
|
|
||||||
|
func _on_activate_body_entered(body):
|
||||||
|
if hit_object == null:
|
||||||
|
return
|
||||||
|
|
||||||
|
if body.velocity.y > 0:
|
||||||
|
return
|
||||||
|
|
||||||
|
var instance = hit_object.instantiate()
|
||||||
|
get_parent().add_child(instance)
|
||||||
|
instance.position.x = position.x
|
||||||
|
instance.position.y = position.y
|
||||||
|
queue_free()
|
||||||
@@ -14,6 +14,7 @@ var is_down = false
|
|||||||
@onready var collision_shape_2d = $CollisionShape2D
|
@onready var collision_shape_2d = $CollisionShape2D
|
||||||
@onready var ray_cast_left_3 = $RayCastLeft3
|
@onready var ray_cast_left_3 = $RayCastLeft3
|
||||||
@onready var ray_cast_right_3 = $RayCastRight3
|
@onready var ray_cast_right_3 = $RayCastRight3
|
||||||
|
@onready var player = %player
|
||||||
|
|
||||||
func _ready():
|
func _ready():
|
||||||
var coll = CapsuleShape2D.new()
|
var coll = CapsuleShape2D.new()
|
||||||
@@ -22,7 +23,8 @@ func _ready():
|
|||||||
collision_shape_2d.shape = coll
|
collision_shape_2d.shape = coll
|
||||||
|
|
||||||
func _physics_process(delta):
|
func _physics_process(delta):
|
||||||
linear_velocity.x = speed
|
if abs(position.x - player.position.x) < 220 or is_down:
|
||||||
|
linear_velocity.x = speed
|
||||||
|
|
||||||
if ray_cast_left_2 == null:
|
if ray_cast_left_2 == null:
|
||||||
return
|
return
|
||||||
|
|||||||
@@ -11,9 +11,11 @@ extends RigidBody2D
|
|||||||
var innocent = false
|
var innocent = false
|
||||||
@onready var timer_2 = $Timer2
|
@onready var timer_2 = $Timer2
|
||||||
@onready var gumba = $"."
|
@onready var gumba = $"."
|
||||||
|
@onready var player = %player
|
||||||
|
|
||||||
func _physics_process(delta):
|
func _physics_process(delta):
|
||||||
linear_velocity.x = speed
|
if abs(position.x - player.position.x) < 220:
|
||||||
|
linear_velocity.x = speed
|
||||||
|
|
||||||
if ray_cast_left_2 == null:
|
if ray_cast_left_2 == null:
|
||||||
return
|
return
|
||||||
|
|||||||
@@ -0,0 +1,18 @@
|
|||||||
|
extends Node2D
|
||||||
|
@onready var animated_sprite_2d = $AnimatedSprite2D
|
||||||
|
@onready var collision_shape_2d = $StaticBody2D/CollisionShape2D
|
||||||
|
|
||||||
|
func _on_area_2d_body_entered(body):
|
||||||
|
animated_sprite_2d.play("down")
|
||||||
|
body.JUMPt_velocity *= 1.6
|
||||||
|
animated_sprite_2d.position.y += 8
|
||||||
|
collision_shape_2d.position.y += 8
|
||||||
|
collision_shape_2d.shape.size.y -= 16
|
||||||
|
|
||||||
|
|
||||||
|
func _on_area_2d_body_exited(body):
|
||||||
|
animated_sprite_2d.play("default")
|
||||||
|
body.JUMPt_velocity /= 1.6
|
||||||
|
animated_sprite_2d.position.y -= 8
|
||||||
|
collision_shape_2d.position.y -= 8
|
||||||
|
collision_shape_2d.shape.size.y += 16
|
||||||
+1
-3
@@ -17,7 +17,6 @@ extends CharacterBody2D
|
|||||||
|
|
||||||
const SPEED = 130.0
|
const SPEED = 130.0
|
||||||
var JUMPt_velocity = -360.0
|
var JUMPt_velocity = -360.0
|
||||||
var org_jump_veloc : int
|
|
||||||
var on_pipe = false
|
var on_pipe = false
|
||||||
var right_pipe = false
|
var right_pipe = false
|
||||||
var left_pipe = false
|
var left_pipe = false
|
||||||
@@ -70,7 +69,6 @@ func _unhandled_input(event):
|
|||||||
|
|
||||||
func _ready():
|
func _ready():
|
||||||
color_rect.visible = false
|
color_rect.visible = false
|
||||||
org_jump_veloc = JUMPt_velocity
|
|
||||||
pipedetector_ground.position.y = 0
|
pipedetector_ground.position.y = 0
|
||||||
collision_shape_2d.shape.height = 15
|
collision_shape_2d.shape.height = 15
|
||||||
|
|
||||||
@@ -85,9 +83,9 @@ func _process(delta):
|
|||||||
|
|
||||||
# check pipe
|
# check pipe
|
||||||
if on_pipe and (Input.is_action_just_pressed("crawl") or crawl) and is_on_floor() or right_pipe and (Input.is_action_pressed("move_right") or t_velocity > 0):
|
if on_pipe and (Input.is_action_just_pressed("crawl") or crawl) and is_on_floor() or right_pipe and (Input.is_action_pressed("move_right") or t_velocity > 0):
|
||||||
|
on_pause = true
|
||||||
pipe_sound.play()
|
pipe_sound.play()
|
||||||
crawl = false
|
crawl = false
|
||||||
on_pause = true
|
|
||||||
t_velocity = 0
|
t_velocity = 0
|
||||||
color_rect.visible = true
|
color_rect.visible = true
|
||||||
pipe_timer.start()
|
pipe_timer.start()
|
||||||
|
|||||||
Reference in new issue
Block a user