After the previous posts, this is the first one that uncovers an issue, where a custom solution is required.
Schlagwort: OpenPatrician
Overlay with AnchorLayout
Aim of this post is to show how multiple animations or other nodes can be placed side by side in an efficient way on a single layer on the stack
JavaFX animated overlay with Canvas
First steps with JavaFX
Recently I visited a presentation about JavaFX and I got the impression, that this might be something which might be useful for my OpenPatrician project. Therefore I added a task to explore different aspects need for the game. In this first part I present two basic examples.
Image Scaling
For my game project OpenPatrician I use rendered image which I created using the 3D software Blender. As it is the nature of things there are many different users out there and everyone has its own screen with its own resolution. Therefor the challenge lies therein to create a game screen that uses the available space on the screen in an optimal way.
The game has some informational parts which are constant in size, but the main screen – where the actual game is happening can vary in size. Therefor it is important to be able to use an image as optimal as possible.