I'm developing a java game and I planned to do the UI with Swing, but I wanted to have animations between the menus, and for what I know, that would be hard to achieve.
I've been searching all day and saw that Java FX has transitions and transformations. I've been playing with it for a while, but I still don't know if I can do what I want.
Is it possible to achieve this effect? https://i.sstatic.net/zThXH.gif
After a few failed tries, I decided to search for what is used in the gif I showed.
I eventually found it and it was exactly what I was searching.
github.com/AurelienRibon/sliding-layout
It's a very small library used for smooth animations between layouts of components. It's very easy to use!
In 20 minutes I was able to do this: imgflip.com/i/tmef
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With