mspraggs / potentia

Southampton Game Jam 2015
0 stars 0 forks source link

Window rescaling. #22

Closed Fyll closed 9 years ago

Fyll commented 9 years ago

Eventually we're going to have to handle window rescaling. My question is, do we want to just stretch everything to fit, stretch everything to fit while keeping everything square, leave everything the same size, or something else?

DivFord commented 9 years ago

I don't know if you've seen my fullscreen code. Set FULLSCREEN in constants to true, and it should render the window scaled to screen size.

Fyll commented 9 years ago

Huh. I wonder why that didn't work earlier when we did it at the Game Jam...

DivFord commented 9 years ago

We had it on SDL_WINDOW_FULLSCREEN_DESKTOP, when we needed SDL_WINDOW_FULLSCREEN. And yes, I just tried options until it worked.