New answers tagged slick
Typically, if you would like the option to allow for maximizing and minimizing of the window, in your main method you can call: Display.setResizable(true); More resize stuff can also be found in an answer I did here on stackoverflow: http://stackoverflow.com/questions/22153057/slick2d-methods-are-missing/22334355#22334355
If you want to resize your images, scaled to the window size, you will need to scale your Graphics object in your render method. To do this properly, you will need to make your game with a predetermined resolution (kind of like, the starting resolution of your game, that all users would start with.) Lets say you are writing a game with the window size ...
Firs things first, The texture coordinates are probably not that what you want. You probably want 0, 0, 0, 1, 1, 0, 1, 1 with a size of 2. Further you are using glVertexPointer and glTexCoordPointer with the value vertexSize, it is unclear what that is. It is probably 3 or the code would not render. Ensure that this is the number of values per vertex. The ...
Top 50 recent answers are included