The door finally opens! The demo is running fully inside #FXGL using an adapted subset of #FXyz (for loading models).
Happy holidays to all developers reading this, including #javafx#java#kotlin#gamedev communities! Here's hoping 2021 will be a safe one. Cheers!
High #fantasy#novel about the adventures of two rangers in Zephyria. The book’s contents are largely AI generated. The goal is to evaluate the effectiveness of AI as a tool to aid authors in storytelling.
Get chapter 1 here: fxgl.itch.io/zephyria-a-tale…
If you've used ossrh in the past for publishing, it's now done via central. Here's a quick migration guide: central.sonatype.org/publish…
tldr: change server from ossrh to central, recreate auth token, enable snapshots if needed
Found it funny that I've completed Star Wars KotoR countless times, yet I've only now started to grasp its combat mechanics having finished Baldur's Gate 3. Well, time to replay.
Just a quick proof-of-concept demo running WebGL inside #FXGL
Given native GLSL support is on its way, WebGL support is unlikely to reach production.
#JavaFX
#FXGL 25 will ship with an upgraded integration with MediaPipe hand tracking. The demo below uses a built-in laptop webcam.
The demo consumes raw tracking data with no fine-tuning. So improved user experience results are certainly possible.
#JavaFX
One of the use cases I envisaged for a combined JavaFX scene graph and OpenGL context.
The majority of the game is rendered by JavaFX / FXGL, but some complex visual effects are done with OpenGL shaders. From performance point of view, this is also sensible.
#JavaFX#FXGL
There are some really cool shaders available online. Here's one from shadertoy.com/view/XfyXRV
The demo shows a property bound to a shader variable, hence the ability to control the rotation speed.
The glass effect and reflections are just🤩
#JavaFX#FXGL
First public demo of #FXGL shaders is available: github.com/AlmasB/FXGL-Shade…
If you are on Windows and feel bored, give this demo a try and play with different shaders. If anything fails / crashes / doesn't work, please report an issue on the main FXGL repo.
#JavaFX@maxandersen
Any shader resolution up to 1080p is now supported. Not particularly happy with performance (the demo below is 720p, an integrated Intel UHD), but I hope we can improve on that.
Native code is up, Maven snapshot release tomorrow:
github.com/AlmasB/FXGL/blob/…#JavaFX#FXGL
A minimal example of the user code with 2 shaders and the resulting visual.
Each GLImageView is driven by a GLSL shader. Using FXGL properties, any uniform variable can be set directly, at runtime.
Those with a Windows box will be able to play with this shortly.
#JavaFX#FXGL
A sneak peek into shader support development: binding FXGL properties to GLSL uniform variables. This means devs not only compile shaders from Java layer, but also control shader behaviour from Java.
#FXGL 25 DevStream: Adding Shaders to #JavaFXyoutu.be/xHKnz9DQ2wA?si=4JS4…
Now that the proof-of-concept works, the next thing is to try and get some use cases tested.
This is a first example showing multiple shaders in a single scene graph. Eventually, we'll be able to store shaders in just a plain java String.
#FXGL#javafx
#FXGL: I can render into a Node with OpenGL🤩
Me: it has been done before🥱
FXGL: with shaders😉
Me: go on *sips tea*🤔
FXGL: can write shaders in pure Java (at runtime!)😎
Me: *spits out tea* you what?😮
#JavaFX#gamedev
#JavaFX#FXGL Song: Made with Suno and ChatGPT
Just a quick test for entertainment purposes, but Suno is really awesome for a non-design person like me!
youtu.be/0YR81_ft_s0?si=tA2-…