Fix the repo lol.

main
Luna Brovchuk 2023-09-30 19:53:37 +02:00
parent 3bcc5f4401
commit c23ad7a0cb
2 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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)