Do you want your ad here?

Contact us to get your ad seen by thousands of users every day!

[email protected]

JavaFX Links of January 2024

  • January 31, 2024
  • 5187 Unique Views
  • 5 min read
Table of Contents
CoreApplicationsGamesComponents, Libraries, ToolsPodcast, Video, BooksTutorialsMiscellaneousJFX Central

This is the first JavaFX LinksOfTheMonth review for 2024, an overview of the LinksOfTheWeek that got published on jfx-central.com during January.


Core

Applications

Games

  • OrangoMango made a perfect Snake AI, check the video! You can find the game (and play it) with a link to the sources on orangomango.itch.io/snake.
  • Almas Baim published FXGL game engine 21 with:
    • Java and JavaFX 21
    • Numerous dialogue editor improvements
    • Initial hex support for Tiled
    • Extra Image processing API
    • Video cutscenes
    • Full changelog on GitHub
  • Almas also found another awesome project built with JavaFX and FXGL: "Royal Demons". From the readme: "... won the Best Project Competition out of a total of 114 teams at Georgia Tech CS 2340 Objects and Design course during Spring 2021."
    • And he found out that: "team JavaFX is now right in the middle of JVM game projects on the 1st page of GitHub search with 3960 stars! Since FXGL is now 49.4% #Kotlin and 49.1% #Java, I had to cheat and include both language: Java, language: Kotlin in the search."
  • Max Rydahl Andersen wants to collaborate with Almas to make FXGL and game development easier with JBang: "I'm happy to help to make FXGL example games "jbang friendly" ... there are lots of ways we can do that."
  • New video update by London Softworks: "Trying my best to work every day, so many exciting things to come in the near future! For now, enjoy a small demo of a few components (Texture, Mesh, Transformation) being fully implemented!"
  • Beta preview by Hlan Htet Kyaw of Brain Buster: "Please test and provide feedback. Any help would be appreciated."

Components, Libraries, Tools

  • Steve Hannah published a new IntelliJ Plugin for jDeploy to create a new desktop app with automated releases on GitHub in under 2 minutes: "In addition to creating the project locally, the wizard will create a new GitHub repository, that is set up to generate new releases on every commit. Within 30 seconds of creating your project, you should be able to download and install the app from GitHub releases."
  • Michael Gasche shared a showcase of a rapid development framework on the Foojay Slack with some out-of-the-box functionalities (installer, licensing/registering, app-config, update-checks, some further dialogs) for Java FX UI apps: "It has default views which can be used with a one-liner to show an HTML page, license dialog, or other content that can be switched off per platform, e.g. because the Windows installer already has one. The Registration module in the demo is a "dummy" as it is quite big and advanced and possibly involves a server."
  • Laurent Bourgès reached the milestone of +125,000 downloads of his Marlin Renderer: "An open source (GPL2 + CP) Java2D RenderingEngine optimized for performance (improved memory usage (~ no GC) and footprint, better multi-threading) and better visual quality based on OpenJDK's Pisces implementation." And he adds: "Enjoy FOSS & see you at FOSDEM24".
  • Carl Dea shared a video: "JavaFX with the native background blurring effect on the MacOS is now working! Thanks to Steve Hannah for the tremendous help in understanding the native side (MacOS). Demo here. Eventually will end up in Pedro Duque Vieira's FXThemes project. I also want to give a shout-out to the amazing software engineer Martin Fox (a JavaFX contributor)."
  • Pedro Duque Vieira is asking for help testing out FXThemes: "If you have a machine running Windows 10 can you run the fxthemes-samples subproject and tell me if the window that shows up has a background blur? The project is using Java17 for now..."

Podcast, Video, Books

Tutorials

Miscellaneous

  • The JFX Adopters Meeting 2024 takes place on the 6th of March at ZEISS in Munich Germany. It's a user meeting about JavaFX technology and the registration is open. You can still apply to be a speaker at this event!
  • Heshan Kariyawasam fell in love with JavaFX canvas: "So I'm going to simulate night sky. I'll try to add Constellations and Meteors so it will be more realistic."
  • Want to combine Quarkus and JavaFX? Seems work is ongoing:
  • Laurent Bourgès realized he needs to celebrate "10 years as openjdk committer, 10 years since first Marlin-renderer 0.3: 2014.01, and a new Marlin 0.9.4.8 release: 2024.01. I want to launch the Marlin-renderer Drawing Contest #MDC btw 01.20 and 02.03: Please draw me a nice thing with the marlin-renderer in 3 categories. Submissions will be shared as png, svg, pdf files under author's declared license. What do you think?"
    • Geographic maps (gis)
    • Illustration / plans / complex charts
    • Computer arts
  • A tip from Heshan Kariyawas: "Before the production release of a JavaFX app on Windows using JPackage, enable the console with the --win-console flag for easy debugging. However, after the production release, no debuggers are available. This tip proved very useful for me today."

JFX Central

Duke T-shirt azul and javafx
A JavaFX App on ZuluFX in 60 Seconds

Learn how to use a popular distribution from Azul to build a JavaFX HelloWorld Application in 60 seconds!

I’m not sure if you’ll taken more than 60 seconds to complete the steps, but assuming your environment is setup and the JDK 11+ and JavaFX is installed you should be able to cut and paste the code in seconds.

JavaFX application created using IntelliJ
Beginning JavaFX Applications with IntelliJ IDE

This article is for the beginner who wants to get started developing JavaFX applications using IntelliJ IDE.

While this article may seem elementary for some, I believe it can help newcomers to the JavaFX platform avoid some pitfalls and really hit the ground running.

Book review: “Learn JavaFX Game and App Development with FXGL 17”

Review of new book on FXGL, providing an impressive list of components with methods to override and build the exact functionality your game requires.

Creating a Snake Game with JavaFX FXGL in Three Pair-Programming Sessions

In this article, Almas and Frank show you how to start with an idea for a game and bring it to life in a prototype application. We will then modify the application to run on a Raspberry Pi and on a mobile device.

To give some background, some time ago my 10y old son challenged me to create a Snake-like game with emojis. He selected the emoji images and I “only” needed to do the programming bit, the easy part… Luckily Almas asked me if I had a topic for some pair-programming for his YouTube channel, and his question turned into a three-part series. My son is delighted because his idea is now a real game!

High Performance Rendering in JavaFX

In this article, we comparatively evaluate four different approaches to render particles in JavaFX in terms of runtime performance.

The approaches are Canvas, PixelBuffer AWT, PixelBuffer CPU and PixelBuffer GPU.

The evaluation suggests the following order of approaches from fastest to slowest:

– PixelBuffer GPU (fastest).
– PixelBuffer CPU.
– PixelBuffer AWT.
– Canvas (slowest).

Do you want your ad here?

Contact us to get your ad seen by thousands of users every day!

[email protected]

Comments (0)

Highlight your code snippets using [code lang="language name"] shortcode. Just insert your code between opening and closing tag: [code lang="java"] code [/code]. Or specify another language.

No comments yet. Be the first.

Subscribe to foojay updates:

https://foojay.io/feed/
Copied to the clipboard