space-invaders/space-invaders.tscn

353 lines
14 KiB
Plaintext
Raw Permalink Normal View History

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"]
[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_kv2i2"]
2026-04-22 02:17:21 +00:00
[node name="Game" type="Node2D" unique_id=1637093307]
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="StaticBody2D" parent="." unique_id=368173764]
position = Vector2(61, 134)
2026-04-22 02:17:21 +00:00
script = ExtResource("2_kxkvm")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="enemy" unique_id=644160547]
shape = SubResource("RectangleShape2D_kv2i2")
debug_color = Color(0.4298056, 0.599785, 0.1415984, 0.41960785)
[node name="enemy2" type="StaticBody2D" parent="." unique_id=726027381]
position = Vector2(315, 134)
script = ExtResource("2_kxkvm")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="enemy2" unique_id=1821108836]
shape = SubResource("RectangleShape2D_kv2i2")
debug_color = Color(0.4298056, 0.599785, 0.1415984, 0.41960785)
[node name="enemy3" type="StaticBody2D" parent="." unique_id=1193535475]
position = Vector2(263, 134)
script = ExtResource("2_kxkvm")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="enemy3" unique_id=1111163947]
shape = SubResource("RectangleShape2D_kv2i2")
debug_color = Color(0.4298056, 0.599785, 0.1415984, 0.41960785)
[node name="enemy4" type="StaticBody2D" parent="." unique_id=302269803]
position = Vector2(213, 135)
script = ExtResource("2_kxkvm")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="enemy4" unique_id=1334284773]
shape = SubResource("RectangleShape2D_kv2i2")
debug_color = Color(0.4298056, 0.599785, 0.1415984, 0.41960785)
[node name="enemy5" type="StaticBody2D" parent="." unique_id=460782298]
position = Vector2(109, 134)
script = ExtResource("2_kxkvm")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="enemy5" unique_id=436870710]
shape = SubResource("RectangleShape2D_kv2i2")
debug_color = Color(0.4298056, 0.599785, 0.1415984, 0.41960785)
[node name="enemy6" type="StaticBody2D" parent="." unique_id=1547837257]
position = Vector2(160, 135)
script = ExtResource("2_kxkvm")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="enemy6" unique_id=1667857899]
shape = SubResource("RectangleShape2D_kv2i2")
debug_color = Color(0.4298056, 0.599785, 0.1415984, 0.41960785)
[node name="enemy7" type="StaticBody2D" parent="." unique_id=258647370]
position = Vector2(357, 134)
script = ExtResource("2_kxkvm")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="enemy7" unique_id=733618965]
shape = SubResource("RectangleShape2D_kv2i2")
debug_color = Color(0.4298056, 0.599785, 0.1415984, 0.41960785)
[node name="enemy8" type="StaticBody2D" parent="." unique_id=493889689]
position = Vector2(399, 134)
script = ExtResource("2_kxkvm")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="enemy8" unique_id=1232831963]
shape = SubResource("RectangleShape2D_kv2i2")
debug_color = Color(0.4298056, 0.599785, 0.1415984, 0.41960785)
[node name="enemy9" type="StaticBody2D" parent="." unique_id=475706607]
position = Vector2(444, 136)
script = ExtResource("2_kxkvm")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="enemy9" unique_id=480339972]
shape = SubResource("RectangleShape2D_kv2i2")
debug_color = Color(0.4298056, 0.599785, 0.1415984, 0.41960785)
[node name="enemy10" type="StaticBody2D" parent="." unique_id=1896867077]
position = Vector2(492, 133)
script = ExtResource("2_kxkvm")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="enemy10" unique_id=52803408]
shape = SubResource("RectangleShape2D_kv2i2")
debug_color = Color(0.4298056, 0.599785, 0.1415984, 0.41960785)
[node name="enemy11" type="StaticBody2D" parent="." unique_id=1655161071]
position = Vector2(62, 83)
script = ExtResource("2_kxkvm")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="enemy11" unique_id=227922379]
shape = SubResource("RectangleShape2D_kv2i2")
debug_color = Color(0.4298056, 0.599785, 0.1415984, 0.41960785)
[node name="enemy12" type="StaticBody2D" parent="." unique_id=2086147549]
position = Vector2(316, 83)
script = ExtResource("2_kxkvm")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="enemy12" unique_id=1316695271]
shape = SubResource("RectangleShape2D_kv2i2")
debug_color = Color(0.4298056, 0.599785, 0.1415984, 0.41960785)
[node name="enemy13" type="StaticBody2D" parent="." unique_id=736358622]
position = Vector2(264, 83)
script = ExtResource("2_kxkvm")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="enemy13" unique_id=1944424486]
shape = SubResource("RectangleShape2D_kv2i2")
debug_color = Color(0.4298056, 0.599785, 0.1415984, 0.41960785)
[node name="enemy14" type="StaticBody2D" parent="." unique_id=344956909]
position = Vector2(214, 84)
script = ExtResource("2_kxkvm")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="enemy14" unique_id=1006326999]
shape = SubResource("RectangleShape2D_kv2i2")
debug_color = Color(0.4298056, 0.599785, 0.1415984, 0.41960785)
[node name="enemy15" type="StaticBody2D" parent="." unique_id=1421351877]
position = Vector2(110, 83)
script = ExtResource("2_kxkvm")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="enemy15" unique_id=1021838885]
shape = SubResource("RectangleShape2D_kv2i2")
debug_color = Color(0.4298056, 0.599785, 0.1415984, 0.41960785)
[node name="enemy16" type="StaticBody2D" parent="." unique_id=1373777720]
position = Vector2(161, 84)
script = ExtResource("2_kxkvm")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="enemy16" unique_id=1700365134]
shape = SubResource("RectangleShape2D_kv2i2")
debug_color = Color(0.4298056, 0.599785, 0.1415984, 0.41960785)
[node name="enemy17" type="StaticBody2D" parent="." unique_id=49641413]
position = Vector2(358, 83)
script = ExtResource("2_kxkvm")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="enemy17" unique_id=225437419]
shape = SubResource("RectangleShape2D_kv2i2")
debug_color = Color(0.4298056, 0.599785, 0.1415984, 0.41960785)
[node name="enemy18" type="StaticBody2D" parent="." unique_id=509642523]
position = Vector2(400, 83)
script = ExtResource("2_kxkvm")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="enemy18" unique_id=1639587716]
shape = SubResource("RectangleShape2D_kv2i2")
debug_color = Color(0.4298056, 0.599785, 0.1415984, 0.41960785)
[node name="enemy19" type="StaticBody2D" parent="." unique_id=270729399]
position = Vector2(445, 85)
script = ExtResource("2_kxkvm")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="enemy19" unique_id=618865773]
shape = SubResource("RectangleShape2D_kv2i2")
debug_color = Color(0.4298056, 0.599785, 0.1415984, 0.41960785)
[node name="enemy20" type="StaticBody2D" parent="." unique_id=1595649490]
position = Vector2(493, 82)
script = ExtResource("2_kxkvm")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="enemy20" unique_id=103533710]
shape = SubResource("RectangleShape2D_kv2i2")
debug_color = Color(0.4298056, 0.599785, 0.1415984, 0.41960785)
[node name="enemy21" type="StaticBody2D" parent="." unique_id=166279462]
position = Vector2(61, 36)
script = ExtResource("2_kxkvm")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="enemy21" unique_id=839820698]
shape = SubResource("RectangleShape2D_kv2i2")
debug_color = Color(0.4298056, 0.599785, 0.1415984, 0.41960785)
[node name="enemy22" type="StaticBody2D" parent="." unique_id=1714668594]
position = Vector2(315, 36)
script = ExtResource("2_kxkvm")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="enemy22" unique_id=1254157303]
shape = SubResource("RectangleShape2D_kv2i2")
debug_color = Color(0.4298056, 0.599785, 0.1415984, 0.41960785)
[node name="enemy23" type="StaticBody2D" parent="." unique_id=1089921364]
position = Vector2(263, 36)
script = ExtResource("2_kxkvm")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="enemy23" unique_id=468627351]
shape = SubResource("RectangleShape2D_kv2i2")
debug_color = Color(0.4298056, 0.599785, 0.1415984, 0.41960785)
[node name="enemy24" type="StaticBody2D" parent="." unique_id=428547248]
position = Vector2(213, 37)
script = ExtResource("2_kxkvm")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="enemy24" unique_id=1222961253]
shape = SubResource("RectangleShape2D_kv2i2")
debug_color = Color(0.4298056, 0.599785, 0.1415984, 0.41960785)
[node name="enemy25" type="StaticBody2D" parent="." unique_id=779740520]
position = Vector2(109, 36)
script = ExtResource("2_kxkvm")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="enemy25" unique_id=1626708704]
shape = SubResource("RectangleShape2D_kv2i2")
debug_color = Color(0.4298056, 0.599785, 0.1415984, 0.41960785)
[node name="enemy26" type="StaticBody2D" parent="." unique_id=1526777589]
position = Vector2(160, 37)
script = ExtResource("2_kxkvm")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="enemy26" unique_id=1926583115]
shape = SubResource("RectangleShape2D_kv2i2")
debug_color = Color(0.4298056, 0.599785, 0.1415984, 0.41960785)
[node name="enemy27" type="StaticBody2D" parent="." unique_id=1020855623]
position = Vector2(357, 36)
script = ExtResource("2_kxkvm")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="enemy27" unique_id=1453554228]
shape = SubResource("RectangleShape2D_kv2i2")
debug_color = Color(0.4298056, 0.599785, 0.1415984, 0.41960785)
[node name="enemy28" type="StaticBody2D" parent="." unique_id=1643848861]
position = Vector2(399, 36)
script = ExtResource("2_kxkvm")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="enemy28" unique_id=862239129]
shape = SubResource("RectangleShape2D_kv2i2")
debug_color = Color(0.4298056, 0.599785, 0.1415984, 0.41960785)
[node name="enemy29" type="StaticBody2D" parent="." unique_id=1685025434]
position = Vector2(444, 38)
script = ExtResource("2_kxkvm")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="enemy29" unique_id=379292630]
shape = SubResource("RectangleShape2D_kv2i2")
debug_color = Color(0.4298056, 0.599785, 0.1415984, 0.41960785)
[node name="enemy30" type="StaticBody2D" parent="." unique_id=1738488973]
position = Vector2(492, 35)
script = ExtResource("2_kxkvm")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="enemy30" unique_id=756582115]
shape = SubResource("RectangleShape2D_kv2i2")
debug_color = Color(0.4298056, 0.599785, 0.1415984, 0.41960785)