This site requires JavaScript, please enable it in your browser!
Greenfoot back
Entity1037
Entity1037 wrote ...

2014/9/15

Fullscreen window in eclipse with LWJGL without the width stretching?

Entity1037 Entity1037

2014/9/15

#
So I'm trying to make a fullscreen game window in Eclipse using LWJGL, but I don't know how to resize the window so the Height is the Height of the screen, and the width is resized so that it keeps the same ratio as before, and has black bars put on the sides of the screen to fill out the rest. Does anyone know how to do that? Is there a method that I missed?
Entity1037 Entity1037

2014/9/15

#
Ugg; I just realized the title should be "without loosing aspect ratio" instead of "without the width stretching" and I can't change it!
You need to login to post a reply.