Hello!
I got an AS3 background and i’d like to make a simple shoot them up to start with corona and lua.
My first question is on how to approach bullet or enemy management.
Usually i got a BulletManager class where i handle pooling, creation and deletion a BulletPattern wich manage bullet behavior and a Bullet class for the object itself, nearly the same for enemies.
Do you think i should modify my setup? heard object pooling was automatic, really =) ? this may change something on how to approach that project I don’t really get it for now
In AS3 i use a registy class to keep some public static variables for easy access in other classes
What would be the equivalent for example if i want to access player’s coordinates for one of my enemy?
Thanks in advance,
Max.