-
Hi, I am Michael, the developer of Serflings which is basically a remake of the old game The Settlers 1 from BlueByte. I developed the game around my own engine with Java2D and Swing Canvas with custom rendering. My plan is to switch to JavaFX and because I like the idea of FXGL, I decided to completely replace the game engine (challenges ahead :D ). I did some tests which raised some questions about how to do it with FXGL 11 (best practices).
I think this is it for now. Thank you for helping out. I think there will be more questions waiting if I start to dig deeper. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi Michael,
Re: more questions, that's fine. The wiki and the |
Beta Was this translation helpful? Give feedback.
Hi Michael,
There are no different modes available for setting up the "aesthetics" of the application, though this sounds like a potential feature to be included. If you feel this has a general-purpose use case for it, opening an issue would help keep track of this. You can enable/disable/tweak most of these via the
GameSettings
object insideinitSettings()
.Here's an example on how to do it from code. Though the API (from the same service) also allows you to load text from
.lang
files, which are essentially the same as a typical resource bundle.If it already works for you, there is probably no strong reason to change it to FXGL's way of serializing data. Here's a sample that shows…