How do I make my game fullscreen? It's always in windowed mode. I'm using Eclipse on a Mac.
Tell me more
×
Game Development Stack Exchange is a question and answer site for
professional and independent game developers. It's 100% free, no registration required.
|
At one place in your code, you create your game container. If you followed the tutorials, that part will look something like this:
Now you can call setDisplayMode on the container object:
The first two parameter define the window resolution, the third if slick should be opened in windowed or fullscreen mode (true for fullscreen mode). You should head to the slick2d wiki, as it has some beginner tutorials explaining such things. For example in this tutorial the basic things are explained step by step (also your question is answered there): Creating a Basic Game tutorial All tutorials: Slick2d Tutorials Index |
|||||
|

