This is how my game is supposed to look (so far):
That's when creating a view of size 1920x1080 and displaying it in a fullscreen 1080p window.
When I change the resolution to 720p and re-set the view to a FloatRect(0, 0, 1920, 1080), it looks like this:
This is the code that sets up the window and view:
const std::string& gameName, Scene* scn) {
RenderWindow rw(VideoMode(Vector2u(1280.f, 720.f)), gameName, sf::Style::Fullscreen);
Engine::gameName = gameName;
window = &rw;
View view(FloatRect(Vector2f(0.f, 0.f), Vector2f(1920.f, 1080.f)));
rw.setView(view);
I have looked at the code that places the tiles over and over and theres no reason it should be displaying like this. And then the debug text still lines up but the pause menu text doesn't. I am so confused and this is for an assignment that's due in a few days so I don't have time to start over. Is this a common problem with a known solution? I did try googling and found nothing.
Please let me know what you think. I am brand new to SFML and don't want to lose marks over this <3
Edit: Updated to fix images