Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Moving a Mesh question

BriarfoxBriarfox Mod
edited March 2013 in Questions Posts: 1,542

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

Tagged:

Comments

Sign In or Register to comment.