19Fermer21
blastarLe 07/02/2017 à 09:00
what classic console-game handles 80 enemies at the same time on screen? 20 enemies should be enough for 2d-shooters or most other games. smile
in my opinion doing a collision-check in the correct order is more important than any other optimization, collision zones are overrated because you need additional checks for every object. a successful collision-check needs 4 CMP.W but most will fail after 1st or 2nd check -> no collision! checking each object and sorting to a different zone is wasting of time!
VRAM access is slow but moving all bullets (changing x- & y-pos incl. check 'out of screen') without updating VRAM takes more time than collision-checks!

@CosmicR
What's your solution or routine for a collision check?