Omnimaga

Calculator Community => Major Community Projects => The Axe Parser Project => Topic started by: The VFX Wizard on March 22, 2018, 09:04:24 am

Title: Lag Problems with Collisions
Post by: The VFX Wizard on March 22, 2018, 09:04:24 am
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.
Title: Re: Lag Problems with Collisions
Post by: Xeda112358 on March 22, 2018, 09:20:50 am
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.