133 lines
4.8 KiB
Plaintext
133 lines
4.8 KiB
Plaintext
[gd_scene load_steps=12 format=3 uid="uid://c7psh8jpkkc6x"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/game_controller.gd" id="1_pcysq"]
|
|
[ext_resource type="PackedScene" uid="uid://c81n274ug0a7g" path="res://scenes/trigger.tscn" id="2_ti1yu"]
|
|
[ext_resource type="PackedScene" uid="uid://b0d1gs2knc2l8" path="res://scenes/player.tscn" id="3_70p4h"]
|
|
[ext_resource type="PackedScene" uid="uid://c0tjxqfvsxh5a" path="res://scenes/crate.tscn" id="3_af2om"]
|
|
[ext_resource type="Script" path="res://scripts/crate.gd" id="4_erghp"]
|
|
[ext_resource type="PackedScene" uid="uid://dg6vhq7diydcj" path="res://scenes/bullet.tscn" id="4_vo7vc"]
|
|
[ext_resource type="Script" path="res://scripts/scene_manager.gd" id="5_w3sh3"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_nynyi"]
|
|
size = Vector2(96, 20)
|
|
|
|
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_ukrrp"]
|
|
distance = -212.0
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_5skqu"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_xevc8"]
|
|
size = Vector2(12.7899, 20)
|
|
|
|
[node name="Game" type="Node2D"]
|
|
scale = Vector2(1.00342, 1)
|
|
script = ExtResource("1_pcysq")
|
|
|
|
[node name="level" type="Node2D" parent="."]
|
|
|
|
[node name="StaticBody2D" type="StaticBody2D" parent="level"]
|
|
position = Vector2(363.756, 472)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="level/StaticBody2D"]
|
|
shape = SubResource("RectangleShape2D_nynyi")
|
|
|
|
[node name="StaticBody2D2" type="StaticBody2D" parent="level"]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="level/StaticBody2D2"]
|
|
position = Vector2(295, 431)
|
|
scale = Vector2(9.37136, 1)
|
|
shape = SubResource("WorldBoundaryShape2D_ukrrp")
|
|
|
|
[node name="StaticBody2D3" type="StaticBody2D" parent="level"]
|
|
position = Vector2(463.415, 416)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="level/StaticBody2D3"]
|
|
rotation = -0.412146
|
|
shape = SubResource("RectangleShape2D_nynyi")
|
|
|
|
[node name="StaticBody2D4" type="StaticBody2D" parent="level"]
|
|
position = Vector2(161.448, 545)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="level/StaticBody2D4"]
|
|
shape = SubResource("RectangleShape2D_nynyi")
|
|
|
|
[node name="StaticBody2D5" type="StaticBody2D" parent="level"]
|
|
position = Vector2(258.117, 505)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="level/StaticBody2D5"]
|
|
shape = SubResource("RectangleShape2D_nynyi")
|
|
|
|
[node name="StaticBody2D6" type="StaticBody2D" parent="level"]
|
|
position = Vector2(576.03, 550)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="level/StaticBody2D6"]
|
|
shape = SubResource("RectangleShape2D_nynyi")
|
|
|
|
[node name="StaticBody2D7" type="StaticBody2D" parent="level"]
|
|
position = Vector2(61.7887, 591)
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="level/StaticBody2D7"]
|
|
shape = SubResource("RectangleShape2D_nynyi")
|
|
|
|
[node name="crates" type="Node2D" parent="."]
|
|
scale = Vector2(1.00102, 1)
|
|
|
|
[node name="crate1" parent="crates" instance=ExtResource("3_af2om")]
|
|
position = Vector2(620.876, 381)
|
|
scale = Vector2(0.961, 1)
|
|
script = ExtResource("4_erghp")
|
|
|
|
[node name="crate2" parent="crates" instance=ExtResource("3_af2om")]
|
|
position = Vector2(665.723, 305)
|
|
scale = Vector2(0.961, 1)
|
|
script = ExtResource("4_erghp")
|
|
|
|
[node name="crate3" parent="crates" instance=ExtResource("3_af2om")]
|
|
position = Vector2(740.467, 404)
|
|
scale = Vector2(0.961, 1)
|
|
script = ExtResource("4_erghp")
|
|
|
|
[node name="crate4" parent="crates" instance=ExtResource("3_af2om")]
|
|
position = Vector2(821.191, 315)
|
|
scale = Vector2(0.961, 1)
|
|
script = ExtResource("4_erghp")
|
|
|
|
[node name="CharacterBody2D" parent="." instance=ExtResource("3_70p4h")]
|
|
position = Vector2(407, 65)
|
|
|
|
[node name="Area2D" parent="." instance=ExtResource("4_vo7vc")]
|
|
position = Vector2(-95, 221)
|
|
|
|
[node name="SceneManager" type="Node" parent="."]
|
|
unique_name_in_owner = true
|
|
script = ExtResource("5_w3sh3")
|
|
|
|
[node name="Triggers" type="Node2D" parent="."]
|
|
|
|
[node name="Trigger" parent="Triggers" instance=ExtResource("2_ti1yu")]
|
|
position = Vector2(984.633, 590)
|
|
scale = Vector2(4.89056, -5.15013)
|
|
effect = "destroy"
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Triggers/Trigger"]
|
|
shape = SubResource("CircleShape2D_5skqu")
|
|
debug_color = Color(0.852174, 0.268268, 0.648794, 0.42)
|
|
|
|
[node name="powerup" parent="Triggers" instance=ExtResource("2_ti1yu")]
|
|
position = Vector2(485.34, 352)
|
|
rotation = 3.14159
|
|
scale = Vector2(4.28659, -3.95816)
|
|
effect = "powerup"
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Triggers/powerup"]
|
|
position = Vector2(-21.1567, 36.8858)
|
|
scale = Vector2(0.998303, 1.01771)
|
|
shape = SubResource("RectangleShape2D_xevc8")
|
|
debug_color = Color(0.161783, 0.629796, 0.397798, 0.42)
|