bullet hell, asteroid and reaction done,. i think ill drop space invaders , 40 minutes left
This commit is contained in:
parent
82652730f2
commit
c000461fd6
23 changed files with 377 additions and 23 deletions
|
|
@ -26,9 +26,13 @@ func _process(delta: float) -> void:
|
|||
reaction_window -= delta
|
||||
if(Input.is_action_just_pressed("reaction_press")):
|
||||
if(time_remaining<=0 and reaction_window > 0):
|
||||
pass
|
||||
print("reaction win")
|
||||
game_win.emit()
|
||||
#winner
|
||||
else:
|
||||
pass
|
||||
print("reaction lose")
|
||||
game_lose.emit()
|
||||
#loser
|
||||
pass
|
||||
if(reaction_window <= 0):
|
||||
print("reaction lose")
|
||||
game_lose.emit()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue