We are about to switch to a new forum software. Until then we have removed the registration on this forum.
If I am doing something which has an object moving, and therefore the background being redrawn each frame, is there any way to keep another object on the screen? I cannot figure out how to do it without redrawing that object every single frame, which is difficult when the origin is moving due to translate().
Answers
You will have to redraw the background every time but you can isolate translations (also rotation and scale transformations) with pushMatrix(0 and popMatrix() like this
in 3D you can also use HUD - see Wikipedia
ask if you need one of those please
You don't have to use
translate()
to move one object? You could just change it's coordinates.