Wire up sfx, Sega Master System palette for win/end screen, add start screen
This commit is contained in:
parent
2f1437050a
commit
710ae4268f
13 changed files with 161 additions and 40 deletions
|
|
@ -45,7 +45,9 @@ func _ready():
|
|||
_screen.pulse_started.connect(_on_pulse_started)
|
||||
_screen.pulse_blocked.connect(_on_pulse_blocked)
|
||||
_screen.pulse_blocked_perfect.connect(_on_pulse_blocked_perfect)
|
||||
_screen.doors_closing.connect(func(): _on_doors_closing(true))
|
||||
_screen.doors_closing.connect(func():
|
||||
$SfxHacked.play()
|
||||
_on_doors_closing(true))
|
||||
|
||||
EventBus.game_started.connect(_on_game_started)
|
||||
EventBus.game_lost.connect(func(_reason): $SfxRobotIUnderstand.play())
|
||||
|
|
@ -167,6 +169,7 @@ func _enter_static_then_hacked(token: int) -> void:
|
|||
return
|
||||
state = ScreenState.HACKED
|
||||
_dbg("HACKED")
|
||||
$SfxHacked.play()
|
||||
_screen.enter_hacked()
|
||||
EventBus.active_button_changed.emit("open"),
|
||||
CONNECT_ONE_SHOT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue