Twin-Stick-2D-Shoot-Em-Up/demo/Godot/main_scene.tscn
2025-04-15 12:00:09 -07:00

143 lines
5.1 KiB
Text

[gd_scene load_steps=16 format=3 uid="uid://dyqku4b80noy4"]
[ext_resource type="Script" uid="uid://cr4csxl0khabs" path="res://Godot/main_scene.gd" id="1_6ltk3"]
[ext_resource type="Texture2D" uid="uid://cgrc7fd8xohcm" path="res://Non-Godot/Temp.png" id="2_g3lig"]
[ext_resource type="AudioStream" uid="uid://byodmf0g5kw64" path="res://Non-Godot/Poof.wav" id="2_mthls"]
[ext_resource type="Texture2D" uid="uid://dxyo0qx6sfvhr" path="res://Non-Godot/Player.png" id="2_t4ro5"]
[ext_resource type="AudioStream" uid="uid://crkpiw57ipdgi" path="res://Non-Godot/Player_Kill.wav" id="3_lee88"]
[ext_resource type="AudioStream" uid="uid://7rnng3yryqfd" path="res://Non-Godot/Hurt.wav" id="3_mthls"]
[ext_resource type="Texture2D" uid="uid://bw7liao61jovj" path="res://Non-Godot/Bullet.png" id="4_ju4ic"]
[ext_resource type="Script" uid="uid://dwu85q6q3wft7" path="res://Godot/spawner.gd" id="5_lee88"]
[ext_resource type="Script" uid="uid://dxqphakp0wvj7" path="res://Godot/player.gd" id="5_lttqn"]
[ext_resource type="Script" uid="uid://cvg673gajpuhs" path="res://Godot/spawner_item.gd" id="6_1d8q1"]
[ext_resource type="PackedScene" uid="uid://c16xjmwoohnsq" path="res://Godot/collectible.tscn" id="7_k2rys"]
[ext_resource type="PackedScene" uid="uid://bsu8nbvtd4bvq" path="res://Godot/powerable.tscn" id="8_i64o6"]
[sub_resource type="Gradient" id="Gradient_t4ro5"]
colors = PackedColorArray(1, 1, 0, 1, 0, 0, 0, 0)
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_7qtk0"]
[sub_resource type="BoxMesh" id="BoxMesh_eii8h"]
size = Vector3(1000, 20, 1)
[node name="Main Scene" type="Node2D"]
script = ExtResource("1_6ltk3")
[node name="Score" type="Label" parent="."]
top_level = true
offset_left = 340.0
offset_top = 349.0
offset_right = 428.0
offset_bottom = 436.0
theme_override_font_sizes/font_size = 30
text = "Score:
Coins:"
horizontal_alignment = 1
[node name="Player" type="Player" parent="." groups=["Player"]]
ShootPoofSound = ExtResource("2_mthls")
ShootHitSound = ExtResource("3_mthls")
ShootBulletTexture = ExtResource("4_ju4ic")
DragsTexture = ExtResource("2_t4ro5")
DragsDeathAudio = ExtResource("3_lee88")
DragsDeathParticles = SubResource("Gradient_t4ro5")
InputLeft = &"Left"
InputUp = &"Up"
InputRight = &"Right"
InputDown = &"Down"
InputShoot = &"Shoot"
InputRespawn = &"Respawn"
position = Vector2(375, 396)
scale = Vector2(1.5, 1.5)
script = ExtResource("5_lttqn")
[node name="Spawner" type="Spawner" parent="."]
SizeX = 2.0
SizeY = 2.0
position = Vector2(23, -23)
script = ExtResource("5_lee88")
tex = ExtResource("2_g3lig")
[node name="Spawner2" type="Spawner" parent="."]
TimerRandomization = true
SizeX = 2.0
SizeY = 2.0
position = Vector2(793, -27)
script = ExtResource("5_lee88")
tex = ExtResource("2_g3lig")
[node name="Spawner3" type="Spawner" parent="."]
TimerRandomization = true
SizeX = 8.0
SizeY = 8.0
position = Vector2(35, 762)
script = ExtResource("5_lee88")
Size = 1.5
Health = 3
Value = 3
tex = ExtResource("2_g3lig")
[node name="Spawner4" type="Spawner" parent="."]
SpawnInterval = 1.0
position = Vector2(803, 820)
script = ExtResource("5_lee88")
tex = ExtResource("2_g3lig")
[node name="CollectSpawner" type="Spawner" parent="."]
SizeX = 400.0
SizeY = 400.0
position = Vector2(384, 397)
script = ExtResource("6_1d8q1")
Coin = ExtResource("7_k2rys")
PowerUp = ExtResource("8_i64o6")
[node name="Object" type="StaticBody2D" parent="."]
position = Vector2(417, 905)
[node name="CollisionShape2D" type="CollisionShape2D" parent="Object"]
position = Vector2(0, -9)
shape = SubResource("WorldBoundaryShape2D_7qtk0")
[node name="MeshInstance2D" type="MeshInstance2D" parent="Object"]
mesh = SubResource("BoxMesh_eii8h")
[node name="Object2" type="StaticBody2D" parent="."]
position = Vector2(-73, 395)
rotation = 1.5708
[node name="CollisionShape2D" type="CollisionShape2D" parent="Object2"]
position = Vector2(0, -9)
shape = SubResource("WorldBoundaryShape2D_7qtk0")
[node name="MeshInstance2D" type="MeshInstance2D" parent="Object2"]
mesh = SubResource("BoxMesh_eii8h")
[node name="Object3" type="StaticBody2D" parent="."]
position = Vector2(417, -115)
rotation = 3.14159
[node name="CollisionShape2D" type="CollisionShape2D" parent="Object3"]
position = Vector2(0, -9)
shape = SubResource("WorldBoundaryShape2D_7qtk0")
[node name="MeshInstance2D" type="MeshInstance2D" parent="Object3"]
mesh = SubResource("BoxMesh_eii8h")
[node name="Object4" type="StaticBody2D" parent="."]
position = Vector2(907, 395)
rotation = -1.5708
[node name="CollisionShape2D" type="CollisionShape2D" parent="Object4"]
position = Vector2(0, -9)
shape = SubResource("WorldBoundaryShape2D_7qtk0")
[node name="MeshInstance2D" type="MeshInstance2D" parent="Object4"]
mesh = SubResource("BoxMesh_eii8h")
[connection signal="Respawn" from="Player" to="Player" method="_on_respawn"]
[connection signal="Spawn" from="Spawner" to="Spawner" method="_on_spawn"]
[connection signal="Spawn" from="Spawner2" to="Spawner2" method="_on_spawn"]
[connection signal="Spawn" from="Spawner3" to="Spawner3" method="_on_spawn"]
[connection signal="Spawn" from="Spawner4" to="Spawner4" method="_on_spawn"]
[connection signal="Spawn" from="CollectSpawner" to="CollectSpawner" method="_on_spawn"]