Tag Info

New answers tagged

0

The event MouseButtonPressed is sent only once (that's how SFML works), so when you check this statement : if (event.type == sf::Event::MouseButtonPressed) it is only true when you click, it won't be true again unless you click again Instead of doing this if (event.type == sf::Event::MouseButtonPressed) You could do this if ...


1

GUI is actually rendered according to the screen view port and not according to the camera. In other words it is camera independent. You can try having a 3D text view or sprite in order to achieve the desired functionality. There are lot of other options also . Try Unity 5 GUI system or check out the NGUI plugin for unity. If you still want to use the ...



Top 50 recent answers are included