Hi,
I’m desperately trying to get my head around classes and calling/defining their attributes and was wondering if there was a basic game tutorial you guys could recommend, ideally including multiple instances of objects talking to the main app.
I have box2d set up and can create shapes, even define their species and behaviors, but can’t for the life of me figure out how to “read” their position on screen from the main update loop…
I’d even be happy if all my classes could share a single array of coordinates, but I’d rather learn to do it properly
Many thanks in advance for your tips
Alex