1
Ive been trying to make a minimap, although when i use this code
sf::View minimap;
minimap.setViewport(sf::FloatRect(0.75f, 0.f, 0.25f, 0.25f));
m_window.setView(minimap);
it sets everything in the window to be the minimap.
So what im left with is a blank screen but a working minimap.
My question is, how do i get it to draw both the minimap AND the game at the same time?
sf::View minimap;
minimap.setViewport(sf::FloatRect(0.75f, 0.f, 0.25f, 0.25f));
m_window.setView(minimap);
it sets everything in the window to be the minimap.
So what im left with is a blank screen but a working minimap.
My question is, how do i get it to draw both the minimap AND the game at the same time?