set min and max size of the game window
Hello Almas, I'm tring this awesome game engine, but I encountered a confusion at the beginning as shown in this picture below. Is there any way similar to JavaFX that can set the min and max size of the game window?
what FXGL do:
what JavaFX do:
Hi, you should be able to access the Stage object via FXGL.getPrimaryStage() once it is loaded. Then you can call the JavaFX API as above.
Let me know if this works for your use case.
Yes it works.
Sorry about another question, I noticed the Music support are only for mp3 and wav, but most of my game music is in ogg format, do you have any solution to this problem?
The most straightforward solution is to probably use a converter from ogg to mp3.
The most straightforward solution is to probably use a converter from ogg to mp3.
Thanks for your suggestion. After a day of searching, I decided to integrate lwjgl's openal function to play ogg music, just like libgdx do. After all, ogg is more suitable for games.