Added level 8
This commit is contained in:
@@ -29,6 +29,7 @@ position = Vector2(5, 5)
|
|||||||
shape = SubResource("RectangleShape2D_bhunq")
|
shape = SubResource("RectangleShape2D_bhunq")
|
||||||
|
|
||||||
[node name="DamageTimer" type="Timer" parent="." unique_id=38832097]
|
[node name="DamageTimer" type="Timer" parent="." unique_id=38832097]
|
||||||
|
wait_time = 0.33
|
||||||
|
|
||||||
[connection signal="body_entered" from="Area2D" to="." method="_on_body_entered"]
|
[connection signal="body_entered" from="Area2D" to="." method="_on_body_entered"]
|
||||||
[connection signal="body_exited" from="Area2D" to="." method="_on_body_exited"]
|
[connection signal="body_exited" from="Area2D" to="." method="_on_body_exited"]
|
||||||
|
|||||||
@@ -162,6 +162,7 @@ position = Vector2(-12, -19)
|
|||||||
position = Vector2(12, -19)
|
position = Vector2(12, -19)
|
||||||
|
|
||||||
[node name="ShootTimer" type="Timer" parent="." unique_id=1043641466]
|
[node name="ShootTimer" type="Timer" parent="." unique_id=1043641466]
|
||||||
|
wait_time = 0.923
|
||||||
|
|
||||||
[connection signal="animation_finished" from="LeftSprite" to="." method="_on_left_sprite_animation_finished"]
|
[connection signal="animation_finished" from="LeftSprite" to="." method="_on_left_sprite_animation_finished"]
|
||||||
[connection signal="frame_changed" from="LeftSprite" to="." method="_on_sprite_frame_changed"]
|
[connection signal="frame_changed" from="LeftSprite" to="." method="_on_sprite_frame_changed"]
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
extends AbstractLevel
|
||||||
|
|
||||||
|
|
||||||
|
@onready var congratulations : Control = $CanvasLayer/Congratulations
|
||||||
|
|
||||||
|
|
||||||
|
func _ready() -> void:
|
||||||
|
super._ready()
|
||||||
|
congratulations.hide()
|
||||||
|
|
||||||
|
|
||||||
|
func _complete_level(player_position: Vector2) -> void:
|
||||||
|
SoundManager.play_ui_stream(SoundManager.sfx_stream_congratulations)
|
||||||
|
get_tree().paused = true
|
||||||
|
congratulations.show()
|
||||||
|
|
||||||
|
await get_tree().create_timer(5, true).timeout
|
||||||
|
congratulations.hide()
|
||||||
|
super._complete_level(player_position)
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
uid://dxsjslx6tshsw
|
||||||
File diff suppressed because one or more lines are too long
@@ -8,7 +8,8 @@
|
|||||||
[ext_resource type="PackedScene" uid="uid://bw1w6x8ncgi4c" path="res://game/levels/level_5.tscn" id="6_eo2u3"]
|
[ext_resource type="PackedScene" uid="uid://bw1w6x8ncgi4c" path="res://game/levels/level_5.tscn" id="6_eo2u3"]
|
||||||
[ext_resource type="PackedScene" uid="uid://uuwic631i8n4" path="res://game/levels/level_6.tscn" id="7_da5al"]
|
[ext_resource type="PackedScene" uid="uid://uuwic631i8n4" path="res://game/levels/level_6.tscn" id="7_da5al"]
|
||||||
[ext_resource type="PackedScene" uid="uid://i3gfjhoga82g" path="res://game/levels/level_7.tscn" id="8_rvthr"]
|
[ext_resource type="PackedScene" uid="uid://i3gfjhoga82g" path="res://game/levels/level_7.tscn" id="8_rvthr"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://dt6uxfx6liyx6" path="res://game/levels/level_8.tscn" id="9_7ahfy"]
|
||||||
|
|
||||||
[node name="LevelManager" type="Node" unique_id=1657502743]
|
[node name="LevelManager" type="Node" unique_id=1657502743]
|
||||||
script = ExtResource("1_te7jw")
|
script = ExtResource("1_te7jw")
|
||||||
levels = Array[PackedScene]([ExtResource("2_dp0cj"), ExtResource("3_r84xe"), ExtResource("4_r84xe"), ExtResource("5_yl05u"), ExtResource("6_eo2u3"), ExtResource("7_da5al"), ExtResource("8_rvthr")])
|
levels = Array[PackedScene]([ExtResource("2_dp0cj"), ExtResource("3_r84xe"), ExtResource("4_r84xe"), ExtResource("5_yl05u"), ExtResource("6_eo2u3"), ExtResource("7_da5al"), ExtResource("8_rvthr"), ExtResource("9_7ahfy")])
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ const MUSIC_BUS = "Music"
|
|||||||
@export var ui_stream_select : AudioStream
|
@export var ui_stream_select : AudioStream
|
||||||
|
|
||||||
@export_group("SFX Streams", "sfx_stream")
|
@export_group("SFX Streams", "sfx_stream")
|
||||||
|
@export var sfx_stream_congratulations : AudioStream
|
||||||
@export var sfx_stream_corruption : AudioStream
|
@export var sfx_stream_corruption : AudioStream
|
||||||
@export var sfx_stream_danger : AudioStream
|
@export var sfx_stream_danger : AudioStream
|
||||||
@export var sfx_stream_destruction : AudioStream
|
@export var sfx_stream_destruction : AudioStream
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
[ext_resource type="AudioStream" uid="uid://cwmibbhy2fpq2" path="res://sound/ui/accept.wav" id="2_ge1il"]
|
[ext_resource type="AudioStream" uid="uid://cwmibbhy2fpq2" path="res://sound/ui/accept.wav" id="2_ge1il"]
|
||||||
[ext_resource type="AudioStream" uid="uid://d2tsomsqmhf0h" path="res://sound/ui/decline.wav" id="3_agyxs"]
|
[ext_resource type="AudioStream" uid="uid://d2tsomsqmhf0h" path="res://sound/ui/decline.wav" id="3_agyxs"]
|
||||||
[ext_resource type="AudioStream" uid="uid://cfb2adf5hft7b" path="res://sound/ui/select.wav" id="4_0i6kl"]
|
[ext_resource type="AudioStream" uid="uid://cfb2adf5hft7b" path="res://sound/ui/select.wav" id="4_0i6kl"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://duahboiexw0ic" path="res://sound/sfx/congratulations.wav" id="5_13qx5"]
|
||||||
[ext_resource type="AudioStream" uid="uid://dg38c1dh27a80" path="res://sound/sfx/corruption.wav" id="5_ab171"]
|
[ext_resource type="AudioStream" uid="uid://dg38c1dh27a80" path="res://sound/sfx/corruption.wav" id="5_ab171"]
|
||||||
[ext_resource type="AudioStream" uid="uid://bcc0textvn2lx" path="res://sound/sfx/jump.wav" id="5_fpnh3"]
|
[ext_resource type="AudioStream" uid="uid://bcc0textvn2lx" path="res://sound/sfx/jump.wav" id="5_fpnh3"]
|
||||||
[ext_resource type="AudioStream" uid="uid://b6q00ggpln0k5" path="res://sound/sfx/game_over.wav" id="6_6ll5c"]
|
[ext_resource type="AudioStream" uid="uid://b6q00ggpln0k5" path="res://sound/sfx/game_over.wav" id="6_6ll5c"]
|
||||||
@@ -31,6 +32,7 @@ player_count_sfx = 32
|
|||||||
ui_stream_accept = ExtResource("2_ge1il")
|
ui_stream_accept = ExtResource("2_ge1il")
|
||||||
ui_stream_decline = ExtResource("3_agyxs")
|
ui_stream_decline = ExtResource("3_agyxs")
|
||||||
ui_stream_select = ExtResource("4_0i6kl")
|
ui_stream_select = ExtResource("4_0i6kl")
|
||||||
|
sfx_stream_congratulations = ExtResource("5_13qx5")
|
||||||
sfx_stream_corruption = ExtResource("5_ab171")
|
sfx_stream_corruption = ExtResource("5_ab171")
|
||||||
sfx_stream_danger = ExtResource("6_wyfta")
|
sfx_stream_danger = ExtResource("6_wyfta")
|
||||||
sfx_stream_destruction = ExtResource("6_l4iry")
|
sfx_stream_destruction = ExtResource("6_l4iry")
|
||||||
|
|||||||
Binary file not shown.
@@ -0,0 +1,24 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="wav"
|
||||||
|
type="AudioStreamWAV"
|
||||||
|
uid="uid://duahboiexw0ic"
|
||||||
|
path="res://.godot/imported/congratulations.wav-63bdb23e26745f6e53c7b089aaefdaf4.sample"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://sound/sfx/congratulations.wav"
|
||||||
|
dest_files=["res://.godot/imported/congratulations.wav-63bdb23e26745f6e53c7b089aaefdaf4.sample"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
force/8_bit=false
|
||||||
|
force/mono=false
|
||||||
|
force/max_rate=false
|
||||||
|
force/max_rate_hz=44100
|
||||||
|
edit/trim=false
|
||||||
|
edit/normalize=false
|
||||||
|
edit/loop_mode=0
|
||||||
|
edit/loop_begin=0
|
||||||
|
edit/loop_end=-1
|
||||||
|
compress/mode=2
|
||||||
Reference in New Issue
Block a user