Compare commits

..

3 commits

Author SHA1 Message Date
Henry
c378433086 Converted .wav files to .mp3 for greater mobile compatability. Disabled
all inputs upon game over.
2026-03-11 11:28:16 +00:00
Henry
a1838c3648 Disabled shooting once player got heart for second ending. 2026-03-10 17:56:41 +00:00
Henry
fe456205a8 Tweaked ending sequence speeds to be a little bit slower for more
dramatic effect.
2026-03-10 15:47:11 +00:00
55 changed files with 333 additions and 156 deletions

View file

@ -1,46 +0,0 @@
[gd_scene format=3 uid="uid://cbn8gkhh54biw"]
[ext_resource type="Script" uid="uid://xjow2vrn307m" path="res://test_enemy.gd" id="1_wrqmu"]
[ext_resource type="Script" uid="uid://0nsrno5ksdeh" path="res://scripts/ExampleResource.gd" id="2_2fskf"]
[ext_resource type="Resource" uid="uid://cy58t3vbkogtu" path="res://resources/example_resource1.tres" id="2_4vrue"]
[ext_resource type="Texture2D" uid="uid://dy743vehs0t1t" path="res://icon.svg" id="3_nascw"]
[sub_resource type="Resource" id="Resource_nascw"]
script = ExtResource("2_2fskf")
speed = 5.0
metadata/_custom_type_script = "uid://0nsrno5ksdeh"
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4vrue"]
[node name="ResourceTest" type="Node2D" unique_id=1938241335]
[node name="TestEnemy" type="Area2D" parent="." unique_id=197600973]
position = Vector2(177, 252)
script = ExtResource("1_wrqmu")
example_resource = SubResource("Resource_nascw")
[node name="Sprite2D" type="Sprite2D" parent="TestEnemy" unique_id=392517985]
position = Vector2(19, -111)
[node name="CollisionShape2D" type="CollisionShape2D" parent="TestEnemy" unique_id=1888418400]
shape = SubResource("RectangleShape2D_4vrue")
[node name="TestEnemy2a" type="Area2D" parent="." unique_id=681188134]
position = Vector2(60, 166)
script = ExtResource("1_wrqmu")
example_resource = ExtResource("2_4vrue")
[node name="Sprite2D" type="Sprite2D" parent="TestEnemy2a" unique_id=479189583]
[node name="CollisionShape2D" type="CollisionShape2D" parent="TestEnemy2a" unique_id=1055590466]
shape = SubResource("RectangleShape2D_4vrue")
[node name="TestEnemy2b" type="Area2D" parent="." unique_id=148383400]
position = Vector2(176, 93)
script = ExtResource("1_wrqmu")
example_resource = ExtResource("2_4vrue")
[node name="Sprite2D" type="Sprite2D" parent="TestEnemy2b" unique_id=2119219440]
[node name="CollisionShape2D" type="CollisionShape2D" parent="TestEnemy2b" unique_id=656950543]
shape = SubResource("RectangleShape2D_4vrue")

View file

@ -8,7 +8,7 @@ custom_features=""
export_filter="all_resources" export_filter="all_resources"
include_filter="*" include_filter="*"
exclude_filter="" exclude_filter=""
export_path="../../Downloads/2026-03-10 105009 The Third Place/index.html" export_path="../../Downloads/2026-03-11 102729 The Third Place/index.html"
patches=PackedStringArray() patches=PackedStringArray()
patch_delta_encoding=false patch_delta_encoding=false
patch_delta_compression_level_zstd=19 patch_delta_compression_level_zstd=19

View file

@ -1,7 +0,0 @@
[gd_resource type="Resource" script_class="BulletResource" format=3 uid="uid://ds8pfhnj8c303"]
[ext_resource type="Script" uid="uid://64l0xhnsdh7x" path="res://scripts/bullet_stats.gd" id="1_c83q5"]
[resource]
script = ExtResource("1_c83q5")
metadata/_custom_type_script = "uid://64l0xhnsdh7x"

View file

@ -1,10 +0,0 @@
[gd_resource type="Resource" script_class="ExampleResource" format=3 uid="uid://cy58t3vbkogtu"]
[ext_resource type="Script" uid="uid://0nsrno5ksdeh" path="res://scripts/ExampleResource.gd" id="1_aogvj"]
[ext_resource type="Texture2D" uid="uid://deyu1prtitqcp" path="res://_graphics/Mini Pixel Pack 3/Enemies/Bon_Bon (16 x 16).png" id="2_xrkta"]
[resource]
script = ExtResource("1_aogvj")
speed = 5.0
sprite = ExtResource("2_xrkta")
metadata/_custom_type_script = "uid://0nsrno5ksdeh"

View file

@ -9,8 +9,8 @@
[ext_resource type="Texture2D" uid="uid://c4nhwvs13x5bc" path="res://sprites/heart.png" id="7_2cdgk"] [ext_resource type="Texture2D" uid="uid://c4nhwvs13x5bc" path="res://sprites/heart.png" id="7_2cdgk"]
[ext_resource type="Script" uid="uid://b01h56iyb6pp2" path="res://scenes/heart.gd" id="7_qsl3t"] [ext_resource type="Script" uid="uid://b01h56iyb6pp2" path="res://scenes/heart.gd" id="7_qsl3t"]
[ext_resource type="AudioStream" uid="uid://c7q8cq4h58pfo" path="res://sounds/pew.wav" id="8_5f346"] [ext_resource type="AudioStream" uid="uid://c7q8cq4h58pfo" path="res://sounds/pew.wav" id="8_5f346"]
[ext_resource type="AudioStream" uid="uid://p1cak78qhthj" path="res://sounds/horse.wav" id="9_0onds"] [ext_resource type="AudioStream" uid="uid://cegj71o1vqd21" path="res://sounds/web_ready/horse.mp3" id="9_0onds"]
[ext_resource type="AudioStream" uid="uid://bwdkcyrjnxfhu" path="res://sounds/chicken_thunk.wav" id="9_2avx2"] [ext_resource type="AudioStream" uid="uid://by8o1dkunerkg" path="res://sounds/web_ready/chicken_thunk.mp3" id="11_lfs1x"]
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_qsl3t"] [sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_qsl3t"]
particle_flag_disable_z = true particle_flag_disable_z = true
@ -211,7 +211,7 @@ tracks/1/keys = {
"clips": [{ "clips": [{
"end_offset": 0.0, "end_offset": 0.0,
"start_offset": 0.0, "start_offset": 0.0,
"stream": ExtResource("9_2avx2") "stream": ExtResource("11_lfs1x")
}], }],
"times": PackedFloat32Array(0.23333333) "times": PackedFloat32Array(0.23333333)
} }

View file

@ -1,11 +1,8 @@
extends Area2D extends Area2D
@onready var bullet = $Bullet @onready var bullet = $Bullet
#@export var speed = -250
@export var stats: Resource
#var bullet_data = load("res://resources/bullet_resource.tres")
@export var speed = -250
var shader_active = false var shader_active = false
var pause = false var pause = false
var target = null var target = null
@ -23,7 +20,7 @@ func start(pos):
func _process(delta): func _process(delta):
if pause == true: return if pause == true: return
position.y += stats.speed * delta position.y += speed * delta
#if target: #if target:
#var direction = (target.position - position).normalized() #var direction = (target.position - position).normalized()

View file

@ -2,7 +2,6 @@
[ext_resource type="Script" uid="uid://c6oorp45vpqpc" path="res://scenes/bullet.gd" id="1_v8qja"] [ext_resource type="Script" uid="uid://c6oorp45vpqpc" path="res://scenes/bullet.gd" id="1_v8qja"]
[ext_resource type="Shader" uid="uid://dfywtah53il1m" path="res://shaders/player_hit.gdshader" id="2_eoqba"] [ext_resource type="Shader" uid="uid://dfywtah53il1m" path="res://shaders/player_hit.gdshader" id="2_eoqba"]
[ext_resource type="Script" uid="uid://64l0xhnsdh7x" path="res://scripts/bullet_stats.gd" id="2_tamys"]
[ext_resource type="Texture2D" uid="uid://bnc77g20gb20h" path="res://sprites/david-head.png" id="2_y25gk"] [ext_resource type="Texture2D" uid="uid://bnc77g20gb20h" path="res://sprites/david-head.png" id="2_y25gk"]
[ext_resource type="Texture2D" uid="uid://dwd6pycecukqb" path="res://sprites/david-headshot.png" id="3_l5glv"] [ext_resource type="Texture2D" uid="uid://dwd6pycecukqb" path="res://sprites/david-headshot.png" id="3_l5glv"]
[ext_resource type="AudioStream" uid="uid://cy01lrl2la6bn" path="res://sounds/splat_alt.wav" id="5_qncy5"] [ext_resource type="AudioStream" uid="uid://cy01lrl2la6bn" path="res://sounds/splat_alt.wav" id="5_qncy5"]
@ -21,7 +20,6 @@ size = Vector2(12, 11)
[node name="Bullet" type="Area2D" unique_id=1850257077] [node name="Bullet" type="Area2D" unique_id=1850257077]
z_index = -1 z_index = -1
script = ExtResource("1_v8qja") script = ExtResource("1_v8qja")
stats = ExtResource("2_tamys")
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=29933687] [node name="Sprite2D" type="Sprite2D" parent="." unique_id=29933687]
material = SubResource("ShaderMaterial_qncy5") material = SubResource("ShaderMaterial_qncy5")

View file

@ -1,17 +1,15 @@
extends Area2D extends Area2D
#bullet_data: BulletResource
var bullet_data = load("res://resources/bullet_resource.tres")
#@export var speed = 150
@export var speed = 150
func start(pos): func start(pos):
position = pos position = pos
func _process(delta): func _process(delta):
position.y += bullet_data.speed * delta position.y += speed * delta
func _on_visible_on_screen_notifier_2d_screen_exited(): func _on_visible_on_screen_notifier_2d_screen_exited():
queue_free() queue_free()

View file

@ -3,8 +3,8 @@
[ext_resource type="Script" uid="uid://i0r17jo6838m" path="res://scenes/enemy_chicken.gd" id="1_s7c3p"] [ext_resource type="Script" uid="uid://i0r17jo6838m" path="res://scenes/enemy_chicken.gd" id="1_s7c3p"]
[ext_resource type="Texture2D" uid="uid://cy4jggxmnohbb" path="res://sprites/chicken.png" id="2_h1rgn"] [ext_resource type="Texture2D" uid="uid://cy4jggxmnohbb" path="res://sprites/chicken.png" id="2_h1rgn"]
[ext_resource type="Texture2D" uid="uid://bm7fgqwqfqmf4" path="res://sprites/explosion_pallete-swap.png" id="3_s7c3p"] [ext_resource type="Texture2D" uid="uid://bm7fgqwqfqmf4" path="res://sprites/explosion_pallete-swap.png" id="3_s7c3p"]
[ext_resource type="AudioStream" uid="uid://bwdkcyrjnxfhu" path="res://sounds/chicken_thunk.wav" id="4_7ellt"] [ext_resource type="AudioStream" uid="uid://by8o1dkunerkg" path="res://sounds/web_ready/chicken_thunk.mp3" id="4_od8vd"]
[ext_resource type="AudioStream" uid="uid://c7q8cq4h58pfo" path="res://sounds/pew.wav" id="5_od8vd"] [ext_resource type="AudioStream" uid="uid://bo88av3ourdju" path="res://sounds/web_ready/pew.mp3" id="5_x465u"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4gyqm"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_4gyqm"]
size = Vector2(28.57145, 28.571442) size = Vector2(28.57145, 28.571442)
@ -222,11 +222,11 @@ libraries/ = SubResource("AnimationLibrary_7ellt")
autoplay = &"flap" autoplay = &"flap"
[node name="ChickenHit" type="AudioStreamPlayer2D" parent="." unique_id=484642092] [node name="ChickenHit" type="AudioStreamPlayer2D" parent="." unique_id=484642092]
stream = ExtResource("4_7ellt") stream = ExtResource("4_od8vd")
volume_db = -9.26 volume_db = -9.26
[node name="Pew" type="AudioStreamPlayer2D" parent="." unique_id=2040231846] [node name="Pew" type="AudioStreamPlayer2D" parent="." unique_id=2040231846]
stream = ExtResource("5_od8vd") stream = ExtResource("5_x465u")
volume_db = -16.0 volume_db = -16.0
max_polyphony = 4 max_polyphony = 4

View file

@ -4,9 +4,9 @@
[ext_resource type="Texture2D" uid="uid://b5pswf7r8b7j4" path="res://sprites/crt.png" id="2_emiuq"] [ext_resource type="Texture2D" uid="uid://b5pswf7r8b7j4" path="res://sprites/crt.png" id="2_emiuq"]
[ext_resource type="Texture2D" uid="uid://cy4jggxmnohbb" path="res://sprites/chicken.png" id="2_ugdur"] [ext_resource type="Texture2D" uid="uid://cy4jggxmnohbb" path="res://sprites/chicken.png" id="2_ugdur"]
[ext_resource type="Texture2D" uid="uid://bm7fgqwqfqmf4" path="res://sprites/explosion_pallete-swap.png" id="3_emiuq"] [ext_resource type="Texture2D" uid="uid://bm7fgqwqfqmf4" path="res://sprites/explosion_pallete-swap.png" id="3_emiuq"]
[ext_resource type="AudioStream" uid="uid://cbi5q575w1g1n" path="res://sounds/CRT_IMPACT.wav" id="6_gas3w"] [ext_resource type="AudioStream" uid="uid://cq7lebefb2e05" path="res://sounds/web_ready/CRT_IMPACT.mp3" id="5_r7ajx"]
[ext_resource type="AudioStream" uid="uid://drnkea24pvbar" path="res://sounds/crt_block.wav" id="6_r7ajx"] [ext_resource type="AudioStream" uid="uid://4sx6ofrtqqc4" path="res://sounds/web_ready/crt_block.mp3" id="6_cb474"]
[ext_resource type="AudioStream" uid="uid://c7q8cq4h58pfo" path="res://sounds/pew.wav" id="7_r7ajx"] [ext_resource type="AudioStream" uid="uid://bo88av3ourdju" path="res://sounds/web_ready/pew.mp3" id="7_cuvsu"]
[sub_resource type="Shader" id="Shader_emiuq"] [sub_resource type="Shader" id="Shader_emiuq"]
code = "shader_type canvas_item; code = "shader_type canvas_item;
@ -255,15 +255,15 @@ one_shot = true
libraries/ = SubResource("AnimationLibrary_7ellt") libraries/ = SubResource("AnimationLibrary_7ellt")
[node name="ImpactCRT" type="AudioStreamPlayer2D" parent="." unique_id=518408763] [node name="ImpactCRT" type="AudioStreamPlayer2D" parent="." unique_id=518408763]
stream = ExtResource("6_gas3w") stream = ExtResource("5_r7ajx")
volume_db = -16.028 volume_db = -16.028
[node name="BlockCRT" type="AudioStreamPlayer2D" parent="." unique_id=2105873606] [node name="BlockCRT" type="AudioStreamPlayer2D" parent="." unique_id=2105873606]
stream = ExtResource("6_r7ajx") stream = ExtResource("6_cb474")
volume_db = -1.424 volume_db = -1.424
[node name="Pew" type="AudioStreamPlayer2D" parent="." unique_id=1064680598] [node name="Pew" type="AudioStreamPlayer2D" parent="." unique_id=1064680598]
stream = ExtResource("7_r7ajx") stream = ExtResource("7_cuvsu")
volume_db = -20.82 volume_db = -20.82
pitch_scale = 0.95 pitch_scale = 0.95
max_polyphony = 2 max_polyphony = 2

View file

@ -3,7 +3,7 @@
[ext_resource type="Script" uid="uid://dp8e0btv8lktd" path="res://scenes/enemy_mirror.gd" id="1_ucqiy"] [ext_resource type="Script" uid="uid://dp8e0btv8lktd" path="res://scenes/enemy_mirror.gd" id="1_ucqiy"]
[ext_resource type="Script" uid="uid://dno2nntxrik2j" path="res://scenes/sink.gd" id="2_alyar"] [ext_resource type="Script" uid="uid://dno2nntxrik2j" path="res://scenes/sink.gd" id="2_alyar"]
[ext_resource type="Texture2D" uid="uid://bs5540jcnaf7o" path="res://sprites/sink_and_mirror.png" id="2_il73p"] [ext_resource type="Texture2D" uid="uid://bs5540jcnaf7o" path="res://sprites/sink_and_mirror.png" id="2_il73p"]
[ext_resource type="AudioStream" uid="uid://cbi5q575w1g1n" path="res://sounds/CRT_IMPACT.wav" id="4_alyar"] [ext_resource type="AudioStream" uid="uid://cq7lebefb2e05" path="res://sounds/web_ready/CRT_IMPACT.mp3" id="4_alyar"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_tcthq"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_tcthq"]
size = Vector2(26, 18) size = Vector2(26, 18)

View file

@ -2,7 +2,7 @@
[ext_resource type="Shader" uid="uid://x02irwg8ynvp" path="res://shaders/pixel_highlight.gdshader" id="1_d4l8f"] [ext_resource type="Shader" uid="uid://x02irwg8ynvp" path="res://shaders/pixel_highlight.gdshader" id="1_d4l8f"]
[ext_resource type="Texture2D" uid="uid://cklakjbjislch" path="res://sprites/table.png" id="1_kcy6j"] [ext_resource type="Texture2D" uid="uid://cklakjbjislch" path="res://sprites/table.png" id="1_kcy6j"]
[ext_resource type="AudioStream" uid="uid://cs4pq5u144agp" path="res://sounds/MIRROR_SHATTER.wav" id="3_twce5"] [ext_resource type="AudioStream" uid="uid://bqqdkm4whlcxa" path="res://sounds/web_ready/MIRROR_SHATTER.mp3" id="3_twce5"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_twce5"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_twce5"]
shader = ExtResource("1_d4l8f") shader = ExtResource("1_d4l8f")

View file

@ -3,6 +3,8 @@ extends Node2D
var player = preload("res://scenes/player.tscn") var player = preload("res://scenes/player.tscn")
var instance = null var instance = null
var playing: bool = false var playing: bool = false
var input_locked: bool = false
var enemy_wave: int var enemy_wave: int
@ -87,12 +89,14 @@ func _on_player_died():
EventBus.goose_talk.emit(7) EventBus.goose_talk.emit(7)
instance.queue_free() instance.queue_free()
game_over.show() game_over.show()
input_locked = true
$LevelAudio.stop() $LevelAudio.stop()
await get_tree().create_timer(2).timeout await get_tree().create_timer(2).timeout
game_over.hide() game_over.hide()
$CanvasLayer/Title.show() $CanvasLayer/Title.show()
start_button.show() start_button.show()
playing = false playing = false
input_locked = false
func new_game(): func new_game():
$CanvasLayer/Title.hide() $CanvasLayer/Title.hide()
@ -141,6 +145,9 @@ func new_game():
func _input(EventInput): func _input(EventInput):
if input_locked == true:
return
if EventInput is InputEventScreenTouch: if EventInput is InputEventScreenTouch:
if EventInput.pressed: if EventInput.pressed:
@ -173,24 +180,28 @@ func _on_win_game(value: int):
if value == 1: # Heart Taken if value == 1: # Heart Taken
playing = false playing = false
input_locked = true
$Player._on_player_victory(1) $Player._on_player_victory(1)
await $Player._on_player_victory(1) await $Player._on_player_victory(1)
game_over.show() game_over.show()
await get_tree().create_timer(5).timeout await get_tree().create_timer(8).timeout
game_over.hide() game_over.hide()
$CanvasLayer/Title.show() $CanvasLayer/Title.show()
start_button.show() start_button.show()
input_locked = false
if value == 2: #Heart Broken if value == 2: #Heart Broken
playing = false playing = false
input_locked = true
$Player._on_player_victory(2) $Player._on_player_victory(2)
await $Player._on_player_victory(2) await $Player._on_player_victory(2)
game_over.show() game_over.show()
await get_tree().create_timer(5).timeout await get_tree().create_timer(8).timeout
game_over.hide() game_over.hide()
$CanvasLayer/Title.show() $CanvasLayer/Title.show()
start_button.show() start_button.show()
input_locked = false
func _on_flash_screen(duration: float = .25): func _on_flash_screen(duration: float = .25):

View file

@ -11,12 +11,12 @@
[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="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="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="PackedScene" uid="uid://cd1kwb8klcsb5" path="res://scenes/goose.tscn" id="9_85g3d"]
[ext_resource type="AudioStream" uid="uid://c3e8sdfqcikp6" path="res://sounds/welcome.wav" id="10_choun"]
[ext_resource type="Texture2D" uid="uid://bkvmydfn5saxg" path="res://addons/virtual_joystick/textures/joystick_tip.png" id="10_muem4"] [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="PackedScene" uid="uid://drf1k1iulvy6f" path="res://scenes/wave.tscn" id="11_ya4ey"]
[ext_resource type="AudioStream" uid="uid://i61hg7wispq6" path="res://sounds/Ambient 2.0.wav" id="12_trceg"] [ext_resource type="AudioStream" uid="uid://ia32cbqcvanp" path="res://sounds/web_ready/welcome.mp3" id="13_muem4"]
[ext_resource type="AudioStream" uid="uid://mjhprrmwn7qk" path="res://sounds/radio_tune.wav" id="14_a8y0u"] [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://btna02f5ajd7y" path="res://sounds/ambient_hiss.wav" id="15_jkv2x"] [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"] [sub_resource type="Animation" id="Animation_1bvp3"]
length = 0.001 length = 0.001
@ -70,7 +70,7 @@ shader = ExtResource("8_eb6dy")
shader_parameter/intensity = 1.0 shader_parameter/intensity = 1.0
[sub_resource type="CircleShape2D" id="CircleShape2D_dp3eg"] [sub_resource type="CircleShape2D" id="CircleShape2D_dp3eg"]
radius = 46.98 radius = 66.89
[sub_resource type="ShaderMaterial" id="ShaderMaterial_5vw27"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_5vw27"]
@ -136,6 +136,7 @@ offset_top = 228.0
offset_right = 297.0 offset_right = 297.0
offset_bottom = 528.0 offset_bottom = 528.0
pressed_color = Color(0.7477647, 0.718735, 0.89654267, 1) pressed_color = Color(0.7477647, 0.718735, 0.89654267, 1)
deadzone_size = 5.0
clampzone_size = 40.0 clampzone_size = 40.0
visibility_mode = 1 visibility_mode = 1
action_left = "left" action_left = "left"
@ -169,24 +170,24 @@ position = Vector2(301, 272)
[node name="Welcome" type="AudioStreamPlayer2D" parent="." unique_id=1716491479] [node name="Welcome" type="AudioStreamPlayer2D" parent="." unique_id=1716491479]
position = Vector2(118, 162) position = Vector2(118, 162)
stream = ExtResource("10_choun") stream = ExtResource("13_muem4")
volume_db = 0.5 volume_db = 0.5
[node name="LevelAudio" type="AudioStreamPlayer2D" parent="." unique_id=2125260365] [node name="LevelAudio" type="AudioStreamPlayer2D" parent="." unique_id=2125260365]
stream = ExtResource("12_trceg") stream = ExtResource("14_muem4")
[node name="Wave" parent="." unique_id=2117861058 instance=ExtResource("11_ya4ey")] [node name="Wave" parent="." unique_id=2117861058 instance=ExtResource("11_ya4ey")]
[node name="SFX" type="Node2D" parent="." unique_id=2059049976] [node name="SFX" type="Node2D" parent="." unique_id=2059049976]
[node name="Tuner" type="AudioStreamPlayer2D" parent="SFX" unique_id=751830572] [node name="Tuner" type="AudioStreamPlayer2D" parent="SFX" unique_id=751830572]
stream = ExtResource("14_a8y0u") stream = ExtResource("16_dp3eg")
volume_db = -27.781 volume_db = -27.781
pitch_scale = 0.8 pitch_scale = 0.8
max_polyphony = 2 max_polyphony = 2
[node name="AmbientHiss" type="AudioStreamPlayer2D" parent="SFX" unique_id=2084228487] [node name="AmbientHiss" type="AudioStreamPlayer2D" parent="SFX" unique_id=2084228487]
stream = ExtResource("15_jkv2x") stream = ExtResource("17_0ld40")
volume_db = -17.0 volume_db = -17.0
pitch_scale = 0.71 pitch_scale = 0.71

View file

@ -155,6 +155,7 @@ func _on_area_entered(area):
EventBus.heart_beat.emit(2.0) EventBus.heart_beat.emit(2.0)
ship.frame = 0 ship.frame = 0
can_win = true can_win = true
can_shoot = false
EventBus.ending.emit(1) EventBus.ending.emit(1)
#if area.is_in_group("boss") and can_win == true: #if area.is_in_group("boss") and can_win == true:
@ -188,7 +189,7 @@ func _on_player_victory(ending: int) -> void:
await get_tree().create_timer(4).timeout await get_tree().create_timer(4).timeout
# $Ship/Boosters/BoosterBurst.show() # $Ship/Boosters/BoosterBurst.show()
var tween = create_tween() var tween = create_tween()
tween.tween_property(self, "position:y", 60 * -1, .25).set_ease(tween.EASE_IN) tween.tween_property(self, "position:y", 60 * -1, .5).set_ease(tween.EASE_IN)
await tween.finished await tween.finished
queue_free() queue_free()
@ -202,6 +203,6 @@ func _on_player_victory(ending: int) -> void:
await get_tree().create_timer(4).timeout await get_tree().create_timer(4).timeout
# $Ship/Boosters/BoosterBurst.show() # $Ship/Boosters/BoosterBurst.show()
var tween = create_tween() var tween = create_tween()
tween.tween_property(self, "position:y", 60 * -1, .25).set_ease(tween.EASE_IN) tween.tween_property(self, "position:y", 60 * -1, 4).set_ease(tween.EASE_IN)
await tween.finished await tween.finished
queue_free() queue_free()

View file

@ -10,7 +10,7 @@
[ext_resource type="PackedScene" uid="uid://4jvu41vu2557" path="res://scenes/explosion.tscn" id="8_dw050"] [ext_resource type="PackedScene" uid="uid://4jvu41vu2557" path="res://scenes/explosion.tscn" id="8_dw050"]
[ext_resource type="Texture2D" uid="uid://bnc77g20gb20h" path="res://sprites/david-head.png" id="8_ur7pv"] [ext_resource type="Texture2D" uid="uid://bnc77g20gb20h" path="res://sprites/david-head.png" id="8_ur7pv"]
[ext_resource type="Texture2D" uid="uid://bm7fgqwqfqmf4" path="res://sprites/explosion_pallete-swap.png" id="10_d2wvv"] [ext_resource type="Texture2D" uid="uid://bm7fgqwqfqmf4" path="res://sprites/explosion_pallete-swap.png" id="10_d2wvv"]
[ext_resource type="AudioStream" uid="uid://co6fdp24nloo1" path="res://sounds/HeadInflatePOP 2.0.wav" id="11_d2wvv"] [ext_resource type="AudioStream" uid="uid://q3wgdjrv0era" path="res://sounds/web_ready/HeadInflatePOP 2.0.mp3" id="11_d2wvv"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_b26j0"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_b26j0"]
resource_local_to_scene = true resource_local_to_scene = true

View file

@ -63,7 +63,7 @@ func spawn_enemies():
t.position = Vector2(screensize.x / 2, position.y + 125) t.position = Vector2(screensize.x / 2, position.y + 125)
#await get_tree().create_timer(1.5).timeout #await get_tree().create_timer(1.5).timeout
var ts = t.get_child(2) var ts = t.get_child(2)
await get_tree().create_timer(.9).timeout await get_tree().create_timer(4).timeout
ts.play() ts.play()
ts = t.get_child(0) ts = t.get_child(0)
ts.frame = 1 ts.frame = 1

View file

@ -1,11 +0,0 @@
extends Resource
class_name EnemyResource
var primary_enemy_bullet: BulletResource = preload("res://scripts/BulletResource.gd")
var exploding: bool
@export var enemy_type: String
@export var health: int
@export var speed: int
var start_pos: float
@export var tween_speed: float

View file

@ -1 +0,0 @@
uid://dxmlb4jyoucud

View file

@ -1,7 +0,0 @@
extends Resource
class_name ExampleResource
@export var type: String = "Example"
@export var speed: float = 10.0
@export var sprite: Texture2D = preload("res://icon.svg")
@export var new_type: bool = false

View file

@ -1 +0,0 @@
uid://0nsrno5ksdeh

View file

@ -1,15 +0,0 @@
class_name BulletStats
extends Resource
@export var bullet_type: String
@export var bullet: String
@export var damage: int
@export var speed: int
func _init(bullet_type:String = "normal", bullet:String = "res://resources/bullet_resource.tres", damage:int = 1, speed:int = 150):
self.bullet_type = bullet_type
self.bullet = bullet
self.damage = damage
self.speed = speed

View file

@ -1 +0,0 @@
uid://64l0xhnsdh7x

Binary file not shown.

View file

@ -0,0 +1,19 @@
[remap]
importer="mp3"
type="AudioStreamMP3"
uid="uid://cmfoge28taxp0"
path="res://.godot/imported/Ambient 1.0.mp3-758efedd0872a2adb51603f19b1e0823.mp3str"
[deps]
source_file="res://sounds/web_ready/Ambient 1.0.mp3"
dest_files=["res://.godot/imported/Ambient 1.0.mp3-758efedd0872a2adb51603f19b1e0823.mp3str"]
[params]
loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4

Binary file not shown.

View file

@ -0,0 +1,19 @@
[remap]
importer="mp3"
type="AudioStreamMP3"
uid="uid://drm2pdos48jc3"
path="res://.godot/imported/Ambient 2.0.mp3-b294adb1fe4b8f26136be2002d6e230f.mp3str"
[deps]
source_file="res://sounds/web_ready/Ambient 2.0.mp3"
dest_files=["res://.godot/imported/Ambient 2.0.mp3-b294adb1fe4b8f26136be2002d6e230f.mp3str"]
[params]
loop=true
loop_offset=0
bpm=0
beat_count=0
bar_beats=4

Binary file not shown.

View file

@ -0,0 +1,19 @@
[remap]
importer="mp3"
type="AudioStreamMP3"
uid="uid://cq7lebefb2e05"
path="res://.godot/imported/CRT_IMPACT.mp3-6fcae10c80ca1532ca6c3122cd172bb0.mp3str"
[deps]
source_file="res://sounds/web_ready/CRT_IMPACT.mp3"
dest_files=["res://.godot/imported/CRT_IMPACT.mp3-6fcae10c80ca1532ca6c3122cd172bb0.mp3str"]
[params]
loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4

Binary file not shown.

View file

@ -0,0 +1,19 @@
[remap]
importer="mp3"
type="AudioStreamMP3"
uid="uid://q3wgdjrv0era"
path="res://.godot/imported/HeadInflatePOP 2.0.mp3-3f60ddb254488d08b6805a19cd344d4a.mp3str"
[deps]
source_file="res://sounds/web_ready/HeadInflatePOP 2.0.mp3"
dest_files=["res://.godot/imported/HeadInflatePOP 2.0.mp3-3f60ddb254488d08b6805a19cd344d4a.mp3str"]
[params]
loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4

Binary file not shown.

View file

@ -0,0 +1,19 @@
[remap]
importer="mp3"
type="AudioStreamMP3"
uid="uid://d4fob1ebp0aqo"
path="res://.godot/imported/HeadInflatePOP.mp3-d5c6fd4def46b7f48f8c5aaf2e0e40a7.mp3str"
[deps]
source_file="res://sounds/web_ready/HeadInflatePOP.mp3"
dest_files=["res://.godot/imported/HeadInflatePOP.mp3-d5c6fd4def46b7f48f8c5aaf2e0e40a7.mp3str"]
[params]
loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4

Binary file not shown.

View file

@ -0,0 +1,19 @@
[remap]
importer="mp3"
type="AudioStreamMP3"
uid="uid://bqqdkm4whlcxa"
path="res://.godot/imported/MIRROR_SHATTER.mp3-e4afccd74e04003813627383dd1f54a2.mp3str"
[deps]
source_file="res://sounds/web_ready/MIRROR_SHATTER.mp3"
dest_files=["res://.godot/imported/MIRROR_SHATTER.mp3-e4afccd74e04003813627383dd1f54a2.mp3str"]
[params]
loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4

Binary file not shown.

View file

@ -0,0 +1,19 @@
[remap]
importer="mp3"
type="AudioStreamMP3"
uid="uid://d1m7fyfktoa5o"
path="res://.godot/imported/ambient_hiss.mp3-10be24c3900bcf7f6381e8cbababf06d.mp3str"
[deps]
source_file="res://sounds/web_ready/ambient_hiss.mp3"
dest_files=["res://.godot/imported/ambient_hiss.mp3-10be24c3900bcf7f6381e8cbababf06d.mp3str"]
[params]
loop=true
loop_offset=0
bpm=0
beat_count=0
bar_beats=4

Binary file not shown.

View file

@ -0,0 +1,19 @@
[remap]
importer="mp3"
type="AudioStreamMP3"
uid="uid://by8o1dkunerkg"
path="res://.godot/imported/chicken_thunk.mp3-6ab6f9b601248ce3a12f4b657d6d9e56.mp3str"
[deps]
source_file="res://sounds/web_ready/chicken_thunk.mp3"
dest_files=["res://.godot/imported/chicken_thunk.mp3-6ab6f9b601248ce3a12f4b657d6d9e56.mp3str"]
[params]
loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4

Binary file not shown.

View file

@ -0,0 +1,19 @@
[remap]
importer="mp3"
type="AudioStreamMP3"
uid="uid://4sx6ofrtqqc4"
path="res://.godot/imported/crt_block.mp3-3a438480f072cec05e978702884c6e23.mp3str"
[deps]
source_file="res://sounds/web_ready/crt_block.mp3"
dest_files=["res://.godot/imported/crt_block.mp3-3a438480f072cec05e978702884c6e23.mp3str"]
[params]
loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4

BIN
sounds/web_ready/horse.mp3 Normal file

Binary file not shown.

View file

@ -0,0 +1,19 @@
[remap]
importer="mp3"
type="AudioStreamMP3"
uid="uid://cegj71o1vqd21"
path="res://.godot/imported/horse.mp3-442e2a7c248f9df2d450b09410f0809d.mp3str"
[deps]
source_file="res://sounds/web_ready/horse.mp3"
dest_files=["res://.godot/imported/horse.mp3-442e2a7c248f9df2d450b09410f0809d.mp3str"]
[params]
loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4

BIN
sounds/web_ready/pew.mp3 Normal file

Binary file not shown.

View file

@ -0,0 +1,19 @@
[remap]
importer="mp3"
type="AudioStreamMP3"
uid="uid://bo88av3ourdju"
path="res://.godot/imported/pew.mp3-37c20b43d7473ff91cb9da452e6f85cd.mp3str"
[deps]
source_file="res://sounds/web_ready/pew.mp3"
dest_files=["res://.godot/imported/pew.mp3-37c20b43d7473ff91cb9da452e6f85cd.mp3str"]
[params]
loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4

Binary file not shown.

View file

@ -0,0 +1,19 @@
[remap]
importer="mp3"
type="AudioStreamMP3"
uid="uid://t1wms0jp1tjg"
path="res://.godot/imported/radio_tune.mp3-c0a71b16f7275a4a7f04d35742d8c97b.mp3str"
[deps]
source_file="res://sounds/web_ready/radio_tune.mp3"
dest_files=["res://.godot/imported/radio_tune.mp3-c0a71b16f7275a4a7f04d35742d8c97b.mp3str"]
[params]
loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4

BIN
sounds/web_ready/splat.mp3 Normal file

Binary file not shown.

View file

@ -0,0 +1,19 @@
[remap]
importer="mp3"
type="AudioStreamMP3"
uid="uid://c7juvhgu5mwkq"
path="res://.godot/imported/splat.mp3-34936bed3c9717acda3be411ea67e351.mp3str"
[deps]
source_file="res://sounds/web_ready/splat.mp3"
dest_files=["res://.godot/imported/splat.mp3-34936bed3c9717acda3be411ea67e351.mp3str"]
[params]
loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4

Binary file not shown.

View file

@ -0,0 +1,19 @@
[remap]
importer="mp3"
type="AudioStreamMP3"
uid="uid://mbp5oshimxgf"
path="res://.godot/imported/splat_alt.mp3-7e6c3b87ab72071c7eabf8c913778c08.mp3str"
[deps]
source_file="res://sounds/web_ready/splat_alt.mp3"
dest_files=["res://.godot/imported/splat_alt.mp3-7e6c3b87ab72071c7eabf8c913778c08.mp3str"]
[params]
loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4

Binary file not shown.

View file

@ -0,0 +1,19 @@
[remap]
importer="mp3"
type="AudioStreamMP3"
uid="uid://ia32cbqcvanp"
path="res://.godot/imported/welcome.mp3-6ecf631fa68143d29ba0107998d49dbb.mp3str"
[deps]
source_file="res://sounds/web_ready/welcome.mp3"
dest_files=["res://.godot/imported/welcome.mp3-6ecf631fa68143d29ba0107998d49dbb.mp3str"]
[params]
loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4

View file

@ -1,14 +0,0 @@
extends Area2D
@export var example_resource: ExampleResource
var speed: float = 0
var type: String = "null"
func _ready() -> void:
#resource_sprite.texture = example_resource.sprite
$Sprite2D.texture = example_resource.sprite
#$Sprite2D/Sprite2D.texture = example_resource.sprite
speed = example_resource.speed
type = example_resource.type

View file

@ -1 +0,0 @@
uid://xjow2vrn307m