2026-04-22 02:17:21 +00:00
|
|
|
[gd_scene format=3 uid="uid://bpno3xoqtrcl8"]
|
|
|
|
|
|
|
|
|
|
[ext_resource type="Script" uid="uid://cehhkd2b24fhi" path="res://scripts/player.gd" id="1_5oyi1"]
|
2026-04-22 02:55:40 +00:00
|
|
|
[ext_resource type="Script" uid="uid://cvax0kvnw574u" path="res://scripts/game-controller.gd" id="1_kv2i2"]
|
2026-04-22 02:17:21 +00:00
|
|
|
[ext_resource type="Script" uid="uid://c6x4gdnsnusgk" path="res://scripts/enemy.gd" id="2_kxkvm"]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_qlrl5"]
|
|
|
|
|
size = Vector2(60, 20)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_qlrl5"]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_qlrl5"]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_5oyi1"]
|
|
|
|
|
|
|
|
|
|
[node name="Game" type="Node2D" unique_id=1637093307]
|
2026-04-22 02:55:40 +00:00
|
|
|
script = ExtResource("1_kv2i2")
|
2026-04-22 02:17:21 +00:00
|
|
|
|
|
|
|
|
[node name="Block" type="StaticBody2D" parent="." unique_id=346683741]
|
|
|
|
|
position = Vector2(117, 416)
|
|
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Block" unique_id=865286329]
|
|
|
|
|
shape = SubResource("RectangleShape2D_qlrl5")
|
|
|
|
|
|
|
|
|
|
[node name="Block2" type="StaticBody2D" parent="." unique_id=1049581506]
|
|
|
|
|
position = Vector2(247, 415)
|
|
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Block2" unique_id=1020616326]
|
|
|
|
|
shape = SubResource("RectangleShape2D_qlrl5")
|
|
|
|
|
|
|
|
|
|
[node name="Block3" type="StaticBody2D" parent="." unique_id=522695556]
|
|
|
|
|
position = Vector2(376, 415)
|
|
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Block3" unique_id=959405841]
|
|
|
|
|
shape = SubResource("RectangleShape2D_qlrl5")
|
|
|
|
|
|
|
|
|
|
[node name="Block4" type="StaticBody2D" parent="." unique_id=1674288083]
|
|
|
|
|
position = Vector2(506, 414)
|
|
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Block4" unique_id=1497238280]
|
|
|
|
|
shape = SubResource("RectangleShape2D_qlrl5")
|
|
|
|
|
|
|
|
|
|
[node name="player" type="CharacterBody2D" parent="." unique_id=1197192583]
|
|
|
|
|
position = Vector2(117, 485)
|
|
|
|
|
script = ExtResource("1_5oyi1")
|
|
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="player" unique_id=1558361405]
|
|
|
|
|
shape = SubResource("CircleShape2D_qlrl5")
|
|
|
|
|
debug_color = Color(0.16326007, 0.6404062, 0.21622941, 0.41960785)
|
|
|
|
|
|
|
|
|
|
[node name="floor" type="StaticBody2D" parent="." unique_id=1177442948]
|
|
|
|
|
position = Vector2(69.99999, 497.99997)
|
|
|
|
|
rotation = -0.0052206772
|
|
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="floor" unique_id=423880877]
|
|
|
|
|
position = Vector2(0.99998283, 0.0052375793)
|
|
|
|
|
shape = SubResource("WorldBoundaryShape2D_qlrl5")
|
|
|
|
|
|
|
|
|
|
[node name="wall2" type="StaticBody2D" parent="." unique_id=2146699765]
|
|
|
|
|
position = Vector2(628, 378)
|
|
|
|
|
rotation = -0.005373059
|
|
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="wall2" unique_id=26229833]
|
|
|
|
|
position = Vector2(-1.1260986, -1.9318237)
|
|
|
|
|
rotation = -1.5555981
|
|
|
|
|
shape = SubResource("WorldBoundaryShape2D_qlrl5")
|
|
|
|
|
|
|
|
|
|
[node name="wall1" type="StaticBody2D" parent="." unique_id=495120457]
|
|
|
|
|
position = Vector2(0, 380.00006)
|
|
|
|
|
rotation = -3.1641757
|
|
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="wall1" unique_id=1141221446]
|
|
|
|
|
rotation = -1.5555981
|
|
|
|
|
shape = SubResource("WorldBoundaryShape2D_qlrl5")
|
|
|
|
|
|
|
|
|
|
[node name="enemy" type="RigidBody2D" parent="." unique_id=1639975968]
|
|
|
|
|
position = Vector2(47, 257)
|
|
|
|
|
script = ExtResource("2_kxkvm")
|
|
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="enemy" unique_id=47752407]
|
|
|
|
|
shape = SubResource("RectangleShape2D_5oyi1")
|
|
|
|
|
debug_color = Color(0.54979414, 0.56277347, 0.10956033, 0.41960785)
|