turrent section

This commit is contained in:
Haze Weathers 2025-07-17 19:06:48 -06:00
parent 5faeb3c6e9
commit 479014a980
3 changed files with 99 additions and 20 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Before After
Before After

File diff suppressed because one or more lines are too long

View file

@ -27,7 +27,7 @@ func _physics_process(delta: float) -> void:
sprite.frame = 1
direction *= -1.0
var tween = create_tween().set_process_mode(Tween.TWEEN_PROCESS_PHYSICS)
tween.tween_property(sprite, "frame", 0, 0.0).set_delay(0.5)
tween.tween_property(sprite, "frame", 0, 0.0).set_delay(0.3)
tween.tween_property(self, "velocity", Vector2(jump_distance * direction, -jump_height), 0.0)
tween.tween_property(self, "landed", false, 0.0)
tween.tween_callback(tween, "kill")