Fix the repo lol.
parent
3bcc5f4401
commit
c23ad7a0cb
|
@ -7,6 +7,6 @@ func get_input():
|
|||
var input_direction = Input.get_vector("left", "right", "up", "down")
|
||||
velocity = input_direction * speed
|
||||
|
||||
func _physics_process(delta):
|
||||
func _physics_process(_delta):
|
||||
get_input()
|
||||
move_and_slide(velocity)
|
||||
velocity = move_and_slide(velocity)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
extends Node
|
||||
|
||||
func game_start():
|
||||
get_tree().change_scene_to(Global.game_scene)
|
||||
get_tree().change_scene_to(Global.GAME_SCENE)
|
||||
|
||||
func game_exit():
|
||||
get_tree().quit(0)
|
||||
|
|
Loading…
Reference in New Issue