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()
|
||||
|
|
|
|||
|
|
@ -19,8 +19,10 @@ colors = PackedColorArray(1, 0, 0.141176, 1, 1, 1, 0, 1)
|
|||
gradient = SubResource("Gradient_6p5vi")
|
||||
fill_to = Vector2(1, 1)
|
||||
|
||||
[node name="Reaction" type="Node"]
|
||||
[node name="Reaction" type="Node" node_paths=PackedStringArray("prepare_node", "press_node")]
|
||||
script = ExtResource("1_fqqjl")
|
||||
prepare_node = NodePath("Prepare")
|
||||
press_node = NodePath("Press")
|
||||
|
||||
[node name="Prepare" type="Control" parent="."]
|
||||
layout_mode = 3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue