5 Commits

Author SHA1 Message Date
4c581b140c message
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 9s
Create tag and build when new code gets to main / Export (push) Successful in 2m27s
2025-08-03 19:01:55 +02:00
a37c803963 fix: mix
Some checks failed
Create tag and build when new code gets to main / BumpTag (push) Successful in 8s
Create tag and build when new code gets to main / Export (push) Failing after 2m32s
2025-08-03 18:43:40 +02:00
9f12974c85 feat: world building finished
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 9s
Create tag and build when new code gets to main / Export (push) Successful in 2m24s
2025-08-03 18:34:44 +02:00
ddbfe47cd2 Merge branch 'main' of https://git.game-dev.space/minimata/GMTK25
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 8s
Create tag and build when new code gets to main / Export (push) Successful in 2m19s
2025-08-03 18:00:10 +02:00
8158a83a37 Cave corrections 2025-08-03 17:59:54 +02:00
4 changed files with 103 additions and 33 deletions

View File

@ -5,13 +5,13 @@ bus/1/name = &"SFX"
bus/1/solo = false
bus/1/mute = false
bus/1/bypass_fx = false
bus/1/volume_db = -12.4611
bus/1/volume_db = -19.6683
bus/1/send = &"Master"
bus/2/name = &"Ambiance"
bus/2/solo = false
bus/2/mute = false
bus/2/bypass_fx = false
bus/2/volume_db = -16.4004
bus/2/volume_db = -15.795
bus/2/send = &"Master"
bus/3/name = &"Music"
bus/3/solo = false
@ -29,13 +29,13 @@ bus/5/name = &"Steps"
bus/5/solo = false
bus/5/mute = false
bus/5/bypass_fx = false
bus/5/volume_db = -23.3524
bus/5/volume_db = -29.2359
bus/5/send = &"Master"
bus/6/name = &"Dialogue"
bus/6/solo = false
bus/6/mute = false
bus/6/bypass_fx = false
bus/6/volume_db = -10.9863
bus/6/volume_db = -8.39524
bus/6/send = &"Master"
bus/7/name = &"BadGuy"
bus/7/solo = false

18
main.gd
View File

@ -25,6 +25,12 @@ var active_camera: SuperCamera
@onready var red_hood_cutscene: AnimationPlayer = $RedHoodCutscene
@onready var final_cutscene: AnimationPlayer = $FinalCutscene
@onready var trigger_second_npc_dialogue: Area2D = $TriggerSecondNPCDialogue
@onready var trigger_npc_first_dialogue: Area2D = $TriggerNPCFirstDialogue
@onready var trigger_final_dialogue: Area2D = $TriggerFinalDialogue
@onready var ending: ColorRect = $Ending
@onready var ambiance: AudioStreamPlayer = $Ambiance
var ambiance_stream: AudioStreamInteractive
@ -35,8 +41,8 @@ func _ready() -> void:
child.became_active.connect(on_camera_became_active)
ambiance.get_stream_playback().switch_to_clip_by_name("Start")
# opening_cutscene.play("opening_cutscene")
# opening_fade_to_black.visible = true
opening_cutscene.play("opening_cutscene")
opening_fade_to_black.visible = true
func on_camera_became_active(camera: SuperCamera):
active_camera = camera
@ -49,6 +55,7 @@ func _process(delta: float) -> void:
bubbles_interior.global_position.x = active_camera.global_position.x
choices_container.global_position.x = active_camera.global_position.x - 100
opening_fade_to_black.global_position.x = active_camera.global_position.x - 320.0
ending.global_position.x = active_camera.global_position.x - 320.0
background_far.global_position.x = active_camera.global_position.x * parallax_far
background_middle.global_position.x = active_camera.global_position.x * parallax_middle
@ -77,10 +84,11 @@ func _on_trigger_second_npc_dialogue_body_entered(body: Node2D) -> void:
func _on_red_hood_sword_dialogue_dialogue_ended() -> void:
red_hood_cutscene.play("flee")
trigger_second_npc_dialogue.queue_free()
func _on_final_armor_dialogue_ended() -> void:
red_hood_cutscene.play("final")
trigger_final_dialogue.queue_free()
func _on_final_cinematic_body_entered(body: Node2D) -> void:
@ -97,3 +105,7 @@ func _on_squelettes_ambiance_body_entered(body: Node2D) -> void:
func _on_cave_ambiance_body_entered(body: Node2D) -> void:
ambiance.get_stream_playback().switch_to_clip_by_name("Cave")
func _on_npc_shield_dialogue_dialogue_ended() -> void:
trigger_npc_first_dialogue.queue_free()

106
main.tscn

File diff suppressed because one or more lines are too long

View File

@ -21,7 +21,7 @@ var gravity_modifier = 1
@onready var base: AnimatedSprite2D = $Base
var current_sprite: AnimatedSprite2D
var is_in_cutscene = false # back to true on build
var is_in_cutscene = true # back to true on build
var current_animation = "idle"
var is_hitting = false