Add charge throw mechanics; refactor bullet and brick components

This commit is contained in:
2025-05-12 23:08:54 +02:00
parent b09bee9fb6
commit 59c309409c
34 changed files with 422 additions and 96 deletions

View File

@@ -0,0 +1,9 @@
class_name StraightMotionComponent
extends Node
@export var root: Node2D
@export var launch_component: LaunchComponent
func _physics_process(delta: float) -> void:
root.position += launch_component.get_initial_velocity() * delta