BoundlessCarrot / DiaB-concept

Testing game engine stuff and concepts for an arcade game idea I've had for years
0 stars 0 forks source link

Handle 2 projectiles hitting at (almost) the same time #3

Closed BoundlessCarrot closed 2 months ago

BoundlessCarrot commented 2 months ago

If many projectiles hit enemies at the same time, we have no way of handling that - we simply break the collision detection loop at the first hit and just return that single CollisionEvent

Maybe returning an array (more likely ArrayList) of CollisionEvents is the best path?