Calculator Community > The Axe Parser Project

Lag Problems with Collisions

(1/1)

The VFX Wizard:
I have been re-creating Space Invaders in Axe and it was going smoothly until I ran into some lag problems. Every enemy has to check for a collision with each bullet and the player every tick. When I added player collision the whole game started going extremely slow. Is there an optimization trick I'm missing? Thanks.

Xeda112358:
Could you post the code you are currently using?
In assembly, I would draw to a "collision buffer" and test with that, but I don't think that is efficient in Axe code.

Navigation

[0] Message Index

Go to full version