Text Movement

Is their a way to stop text from moving/updating w/ the camera? I need it to stay in the same place, while the camera moves.



                                    o = text, and camera moves to the right, while the text remains in the same spot.

(Pretend those are square views)

               

|


|                        |
|
|          |                          |        |
|  o      |        <--            |      o |
|
|                        |
|

Sure, just look at the FPS text in any SimpleGame based example. You can look inside SimpleGame.java how it's done (look for fpsNode I believe)

Or maybe he wants the text to be pinned to the world?

…that's what it sounds like to me.



darkfrog

text is automatically in Ortho mode, which means the coordinates are defined in terms of screen position, not world position.  You could add update routines to update the screen coordinates each frame based on a world position calculation.