Skip to content

Commit

Permalink
fade in on start
Browse files Browse the repository at this point in the history
  • Loading branch information
maggardJosh committed Apr 14, 2024
1 parent 33c3d33 commit 181cd67
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion DeathRect.gd
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ var count: float = 0
func _ready() -> void:
GameEvents.enter_death_buffer.connect(_on_enter_death_buffer)
GameEvents.player_enter_air.connect(_on_exit_death_buffer)
modulate.a = 0
count = show_time
modulate.a = 1
is_showing = false

func _on_enter_death_buffer():
is_showing = true
Expand Down

0 comments on commit 181cd67

Please sign in to comment.