Replace per-node ball enemies with BallSystem (packed data + MultiMesh) #77
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/ball-system"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
BallSystemnode manages all ball enemies as packed data arrays (no CharacterBody2D nodes). Physics simulation runs in a custom GDScript loop.MultiMeshInstance2Dper ball type, writing transforms and colors directly tomultimesh.buffereach frame.BallTypeConfigresource captures all per-type parameters. Four types (standard, small, big, chain) configured in test_scene_1.tscn.apply_explosion()API includescan_bombflag for future use.BallSystem.spawn_ball(); player emergency bomb routes throughBallSystem.apply_explosion().Test plan
godot4 --headless --quit-after 100exits cleangdlintpasses on all modified/new files