Animate doors!
This commit is contained in:
parent
e4ebd6bf83
commit
7ce2863cfd
13 changed files with 160 additions and 23 deletions
|
|
@ -6,6 +6,7 @@ func _ready():
|
|||
func _unhandled_input(event):
|
||||
if event is InputEventKey and event.pressed and not event.echo:
|
||||
if event.keycode == KEY_SPACE or event.keycode == KEY_ENTER:
|
||||
get_viewport().set_input_as_handled()
|
||||
_start()
|
||||
|
||||
func _start():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue