Un shader de transition entre les scènes
ça fait plus propre braw
This commit is contained in:
@@ -22,7 +22,6 @@ func _ready() -> void:
|
||||
cam.limit_bottom = bottom_right_global.y - 24
|
||||
|
||||
func _unhandled_input(event: InputEvent) -> void:
|
||||
print(human.get_feet_global_position())
|
||||
human.stop_interaction()
|
||||
human.velocityVector = Vector2(0, 0)
|
||||
human.wants_to_grab = false
|
||||
@@ -30,7 +29,6 @@ func _unhandled_input(event: InputEvent) -> void:
|
||||
human.velocityVector = Input.get_vector("move_left", "move_right", "move_up", "move_down")
|
||||
if human.velocityVector != Vector2(0, 0):
|
||||
GameState.isUsingTouch = false
|
||||
else:
|
||||
update_game_state()
|
||||
|
||||
if event.is_action_pressed("grab"):
|
||||
|
||||
Reference in New Issue
Block a user