194 lines
7.3 KiB
Text
194 lines
7.3 KiB
Text
[gd_scene format=3 uid="uid://cc2dnhuv4qx7m"]
|
|
|
|
[ext_resource type="Script" uid="uid://c51huloycn5as" path="res://scenes/main.gd" id="1_h2yge"]
|
|
[ext_resource type="PackedScene" uid="uid://tlcdxoupi2lb" path="res://scenes/parallax_clouds.tscn" id="2_5vw27"]
|
|
[ext_resource type="PackedScene" uid="uid://dmr0fcamx7t56" path="res://addons/virtual_joystick/virtual_joystick_scene.tscn" id="3_jbj1t"]
|
|
[ext_resource type="Texture2D" uid="uid://b25w6ms7bxlhu" path="res://sprites/third space bgrnd.png" id="3_tipki"]
|
|
[ext_resource type="PackedScene" uid="uid://s6wf3egdqtmh" path="res://scenes/ui.tscn" id="4_1bvp3"]
|
|
[ext_resource type="Shader" uid="uid://x02irwg8ynvp" path="res://shaders/pixel_highlight.gdshader" id="4_272bh"]
|
|
[ext_resource type="Texture2D" uid="uid://bonoqs5pisflo" path="res://_graphics/Mini Pixel Pack 3/UI objects/START (48 x 8).png" id="5_lquwl"]
|
|
[ext_resource type="Texture2D" uid="uid://0mcbtnidp5kn" path="res://sprites/third space title.png" id="5_tipki"]
|
|
[ext_resource type="Texture2D" uid="uid://bubqwoum50gf8" path="res://_graphics/Mini Pixel Pack 3/UI objects/GAME_OVER (72 x 8).png" id="6_7mycd"]
|
|
[ext_resource type="Shader" uid="uid://blxo4qgrkjiup" path="res://shaders/flash.gdshader" id="8_eb6dy"]
|
|
[ext_resource type="PackedScene" uid="uid://cd1kwb8klcsb5" path="res://scenes/goose.tscn" id="9_85g3d"]
|
|
[ext_resource type="Texture2D" uid="uid://bkvmydfn5saxg" path="res://addons/virtual_joystick/textures/joystick_tip.png" id="10_muem4"]
|
|
[ext_resource type="PackedScene" uid="uid://drf1k1iulvy6f" path="res://scenes/wave.tscn" id="11_ya4ey"]
|
|
[ext_resource type="AudioStream" uid="uid://ia32cbqcvanp" path="res://sounds/web_ready/welcome.mp3" id="13_muem4"]
|
|
[ext_resource type="AudioStream" uid="uid://drm2pdos48jc3" path="res://sounds/web_ready/Ambient 2.0.mp3" id="14_muem4"]
|
|
[ext_resource type="AudioStream" uid="uid://t1wms0jp1tjg" path="res://sounds/web_ready/radio_tune.mp3" id="16_dp3eg"]
|
|
[ext_resource type="AudioStream" uid="uid://d1m7fyfktoa5o" path="res://sounds/web_ready/ambient_hiss.mp3" id="17_0ld40"]
|
|
|
|
[sub_resource type="Animation" id="Animation_1bvp3"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("background:region_rect")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Rect2(0, 0, 240, 320)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_h2yge"]
|
|
resource_name = "scroll"
|
|
length = 2.0
|
|
loop_mode = 1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("background:region_rect")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 2),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Rect2(0, 0, 240, 320), Rect2(0, -64, 240, 320)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_lquwl"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_1bvp3"),
|
|
&"scroll": SubResource("Animation_h2yge")
|
|
}
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_kek77"]
|
|
shader = ExtResource("4_272bh")
|
|
shader_parameter/speed = 2.250000106875
|
|
shader_parameter/line_width = 0.1450000068875
|
|
shader_parameter/line_color = Color(1, 1, 1, 1)
|
|
shader_parameter/pause_duration = 6.0
|
|
shader_parameter/offset = 10.0
|
|
shader_parameter/pixelate_line = 0
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_trceg"]
|
|
shader = ExtResource("8_eb6dy")
|
|
shader_parameter/intensity = 1.0
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_dp3eg"]
|
|
radius = 66.89
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_5vw27"]
|
|
|
|
[node name="Main" type="Node2D" unique_id=128010797]
|
|
script = ExtResource("1_h2yge")
|
|
|
|
[node name="ParallaxClouds" parent="." unique_id=571002326 instance=ExtResource("2_5vw27")]
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=122041916]
|
|
libraries/ = SubResource("AnimationLibrary_lquwl")
|
|
autoplay = &"scroll"
|
|
|
|
[node name="CanvasLayer" type="CanvasLayer" parent="." unique_id=1849605109]
|
|
|
|
[node name="UI" parent="CanvasLayer" unique_id=1138646344 instance=ExtResource("4_1bvp3")]
|
|
offset_right = -1.0
|
|
offset_bottom = 36.0
|
|
|
|
[node name="Title" type="TextureRect" parent="CanvasLayer" unique_id=561106216]
|
|
self_modulate = Color(0.015236704, 0.015236706, 0.0152367065, 1)
|
|
material = SubResource("ShaderMaterial_kek77")
|
|
offset_left = 29.0
|
|
offset_top = 101.0
|
|
offset_right = 269.0
|
|
offset_bottom = 166.0
|
|
scale = Vector2(0.75, 0.75)
|
|
size_flags_horizontal = 4
|
|
texture = ExtResource("5_tipki")
|
|
stretch_mode = 3
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="CanvasLayer" unique_id=1787047882]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="Start" type="TextureButton" parent="CanvasLayer/CenterContainer" unique_id=735420279]
|
|
layout_mode = 2
|
|
texture_normal = ExtResource("5_lquwl")
|
|
|
|
[node name="GameOver" type="TextureRect" parent="CanvasLayer/CenterContainer" unique_id=2025679102]
|
|
layout_mode = 2
|
|
texture = ExtResource("6_7mycd")
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="CanvasLayer" unique_id=18763245]
|
|
visible = false
|
|
material = SubResource("ShaderMaterial_trceg")
|
|
offset_right = 240.0
|
|
offset_bottom = 320.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="VirtualControls" type="Node2D" parent="CanvasLayer" unique_id=728616058]
|
|
|
|
[node name="Virtual Joystick" parent="CanvasLayer/VirtualControls" unique_id=2019740770 instance=ExtResource("3_jbj1t")]
|
|
process_mode = 3
|
|
modulate = Color(1, 1, 1, 0.44000003)
|
|
z_index = 10
|
|
anchors_preset = -1
|
|
offset_left = -2.999999
|
|
offset_top = 228.0
|
|
offset_right = 297.0
|
|
offset_bottom = 528.0
|
|
pressed_color = Color(0.7477647, 0.718735, 0.89654267, 1)
|
|
deadzone_size = 5.0
|
|
clampzone_size = 40.0
|
|
visibility_mode = 1
|
|
action_left = "left"
|
|
action_right = "right"
|
|
action_up = "up"
|
|
action_down = "down"
|
|
|
|
[node name="TouchScreenButton" type="TouchScreenButton" parent="CanvasLayer/VirtualControls" unique_id=1967993492]
|
|
modulate = Color(1, 1, 1, 0.44000003)
|
|
position = Vector2(180, 263)
|
|
scale = Vector2(0.35, 0.35)
|
|
texture_normal = ExtResource("10_muem4")
|
|
shape = SubResource("CircleShape2D_dp3eg")
|
|
action = "shoot"
|
|
visibility_mode = 1
|
|
|
|
[node name="background" type="Sprite2D" parent="." unique_id=1790434669]
|
|
visible = false
|
|
z_index = -4
|
|
texture_repeat = 2
|
|
material = SubResource("ShaderMaterial_5vw27")
|
|
scale = Vector2(1.1064814, 1.0557377)
|
|
texture = ExtResource("3_tipki")
|
|
centered = false
|
|
region_rect = Rect2(0, 0, 240, 320)
|
|
|
|
[node name="Goose" parent="." unique_id=1594509381 instance=ExtResource("9_85g3d")]
|
|
visible = false
|
|
z_index = 2
|
|
position = Vector2(301, 272)
|
|
|
|
[node name="Welcome" type="AudioStreamPlayer2D" parent="." unique_id=1716491479]
|
|
position = Vector2(118, 162)
|
|
stream = ExtResource("13_muem4")
|
|
volume_db = 0.5
|
|
|
|
[node name="LevelAudio" type="AudioStreamPlayer2D" parent="." unique_id=2125260365]
|
|
stream = ExtResource("14_muem4")
|
|
|
|
[node name="Wave" parent="." unique_id=2117861058 instance=ExtResource("11_ya4ey")]
|
|
|
|
[node name="SFX" type="Node2D" parent="." unique_id=2059049976]
|
|
|
|
[node name="Tuner" type="AudioStreamPlayer2D" parent="SFX" unique_id=751830572]
|
|
stream = ExtResource("16_dp3eg")
|
|
volume_db = -27.781
|
|
pitch_scale = 0.8
|
|
max_polyphony = 2
|
|
|
|
[node name="AmbientHiss" type="AudioStreamPlayer2D" parent="SFX" unique_id=2084228487]
|
|
stream = ExtResource("17_0ld40")
|
|
volume_db = -17.0
|
|
pitch_scale = 0.71
|
|
|
|
[connection signal="pressed" from="CanvasLayer/CenterContainer/Start" to="." method="_on_start_pressed"]
|