1
General / universe using sf::view
« on: May 15, 2012, 09:10:13 am »
Hello,
I have for example a universe with a size of 10000 x 10000 pixel. If my ship is at a pos of 10000, 10000 and goes on, my ship should move to 0,0. Is it possible to use sf::View?
I think if I reset the view to 0,0 and my ship is in the center of the screen, I see only the objects at 0,0 not the rest of 10000,10000.
If someone understand my weired explanations and has an example how to implement, let me know.
Best regards
Andreas
I have for example a universe with a size of 10000 x 10000 pixel. If my ship is at a pos of 10000, 10000 and goes on, my ship should move to 0,0. Is it possible to use sf::View?
I think if I reset the view to 0,0 and my ship is in the center of the screen, I see only the objects at 0,0 not the rest of 10000,10000.
If someone understand my weired explanations and has an example how to implement, let me know.
Best regards
Andreas