GMTK-2024/gmtk_2024/scripts/pushable.gd
2024-08-18 11:02:15 +02:00

7 lines
154 B
GDScript

extends CharacterBody2D
class_name Box;
func _physics_process(delta: float) -> void:
velocity.y += 50
velocity.x = velocity.x * 0.8
move_and_slide()