1
Graphics / Best way to implement a basic UI?
« on: March 24, 2019, 07:32:25 pm »
Hi there,
I am making a game where the main sf::View follows the player as they wander through a large world. I would like to start imlementing a UI on top of this, but I am not sure the best way to do this. Should I have a second view pointing to an artibitrary faraway area where i draw my ui elements and then just show that view on top of my world view? Or should i just move my UI elements everytime my character moves? Or is there a much better way to do this?
Any help is appreciated
Thanks
I am making a game where the main sf::View follows the player as they wander through a large world. I would like to start imlementing a UI on top of this, but I am not sure the best way to do this. Should I have a second view pointing to an artibitrary faraway area where i draw my ui elements and then just show that view on top of my world view? Or should i just move my UI elements everytime my character moves? Or is there a much better way to do this?
Any help is appreciated
Thanks