Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - TrueBeast

Pages: [1]
1
Graphics / Minimap
« on: April 06, 2019, 01:45:22 am »
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?

Pages: [1]