Add minimum jump height, fire rate configuration, and improve throw input handling

This commit is contained in:
2025-05-29 01:33:54 +02:00
parent 9b6a4f38bd
commit df154a786c
5 changed files with 9 additions and 2 deletions

View File

@@ -40,6 +40,9 @@ func on_timer_timeout() -> void:
func throw_brick(power_multiplier: float = 1.0) -> void:
if not can_throw:
return
var instance: Node2D = brick_scene.instantiate()
var init := instance.get_node_or_null("ProjectileInitComponent") as ProjectileInitComponent
if init and player_controller.current_movement is PlatformMovement: