I'm in the middle of creating simple 2D shooter game, where a ship at the bottom shoots many bullets towards many enemys.
I put checking collision both in enemies and in the bullet instance. But I have trouble with "self", "upvalue","nil" related error.
Honestly, I'm still confused with "self" in gideros.
I tried to put actionscript3-structured-alike script in my game, but it did'nt work.
Is there a better way how to do this? Thanks
Comments
so are you using box2d or TNT collision engine?
And would be cool to see part of your code, to understand what exactly you are confused about