2024-11-26 01:52:14 +00:00
|
|
|
[gd_scene load_steps=9 format=3 uid="uid://dmk3hbsrqhgad"]
|
2024-11-19 01:50:07 +00:00
|
|
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://flumvyk8tafw" path="res://scenes/box.tscn" id="1_ixp3c"]
|
2024-11-26 01:52:14 +00:00
|
|
|
[ext_resource type="Script" path="res://scripts/scene_manager.gd" id="1_sylse"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://b6vk2imhuhv0j" path="res://scenes/character.tscn" id="1_umdfo"]
|
2024-11-19 01:50:07 +00:00
|
|
|
[ext_resource type="Script" path="res://scripts/trigger.gd" id="2_e4xab"]
|
2024-11-26 01:52:14 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://e4o5ja1w0gph" path="res://scenes/bullet.tscn" id="4_7436f"]
|
2024-11-19 01:50:07 +00:00
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_mhewf"]
|
|
|
|
size = Vector2(102, 12)
|
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0jo0r"]
|
|
|
|
|
|
|
|
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_jsnkw"]
|
|
|
|
|
|
|
|
[node name="Game" type="Node2D"]
|
|
|
|
|
2024-11-26 01:52:14 +00:00
|
|
|
[node name="SceneManager" type="Node" parent="."]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
script = ExtResource("1_sylse")
|
|
|
|
|
2024-11-19 01:50:07 +00:00
|
|
|
[node name="Platform" type="StaticBody2D" parent="."]
|
|
|
|
position = Vector2(584, 454)
|
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Platform"]
|
|
|
|
shape = SubResource("RectangleShape2D_mhewf")
|
|
|
|
|
|
|
|
[node name="Platform2" type="StaticBody2D" parent="."]
|
|
|
|
position = Vector2(802, 455)
|
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Platform2"]
|
|
|
|
shape = SubResource("RectangleShape2D_mhewf")
|
|
|
|
|
|
|
|
[node name="Platform4" type="StaticBody2D" parent="."]
|
|
|
|
position = Vector2(980, 381)
|
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Platform4"]
|
|
|
|
shape = SubResource("RectangleShape2D_mhewf")
|
|
|
|
|
|
|
|
[node name="Platform3" type="StaticBody2D" parent="."]
|
|
|
|
position = Vector2(331, 455)
|
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Platform3"]
|
|
|
|
shape = SubResource("RectangleShape2D_mhewf")
|
|
|
|
|
|
|
|
[node name="Platform5" type="StaticBody2D" parent="."]
|
|
|
|
position = Vector2(137, 363)
|
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Platform5"]
|
|
|
|
shape = SubResource("RectangleShape2D_mhewf")
|
|
|
|
|
2024-11-26 01:52:14 +00:00
|
|
|
[node name="CharacterBody2D" parent="." instance=ExtResource("1_umdfo")]
|
2024-11-19 01:50:07 +00:00
|
|
|
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
|
|
position = Vector2(576, 533)
|
|
|
|
scale = Vector2(18.56, 0.640005)
|
|
|
|
script = ExtResource("2_e4xab")
|
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
|
|
shape = SubResource("RectangleShape2D_0jo0r")
|
|
|
|
debug_color = Color(0.774214, 0.233911, 0.917118, 0.42)
|
|
|
|
|
|
|
|
[node name="RigidBody2D" parent="." instance=ExtResource("1_ixp3c")]
|
2024-11-26 01:52:14 +00:00
|
|
|
position = Vector2(699, 304)
|
2024-11-19 01:50:07 +00:00
|
|
|
|
|
|
|
[node name="RigidBody2D2" parent="." instance=ExtResource("1_ixp3c")]
|
|
|
|
position = Vector2(586, 229)
|
|
|
|
|
|
|
|
[node name="RigidBody2D3" parent="." instance=ExtResource("1_ixp3c")]
|
|
|
|
position = Vector2(533, 301)
|
|
|
|
|
|
|
|
[node name="StaticBody2D" type="StaticBody2D" parent="."]
|
|
|
|
position = Vector2(581, 648)
|
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
|
|
|
|
shape = SubResource("WorldBoundaryShape2D_jsnkw")
|
|
|
|
|
2024-11-26 01:52:14 +00:00
|
|
|
[node name="Area2D2" parent="." instance=ExtResource("4_7436f")]
|
|
|
|
position = Vector2(207, 491)
|
|
|
|
|
2024-11-19 01:50:07 +00:00
|
|
|
[connection signal="body_entered" from="Area2D" to="Area2D" method="_on_body_entered"]
|