Hello all,
I’ve been working on a class that animates and moves sprites. This is all done using meshs. There are multiple rects from the mesh moving around the screen. Each rect holds thier own screen coords. I change the coords to move the rects on the screen. The lightbulb just went on and i finally figured out what translate and rotate do. Would I be better off just translating the rect instead of moving its draw coords?
Here is a link to the code I currently have.
https://gist.github.com/briarfox/44731d2f8fcdec0bd0ab