FX2048 (WebFX demo)

FX2048 (WebFX demo)

NKT-IKBU
Jan 23, 2023
  • 5.0

    Android OS

About FX2048 (WebFX demo)

WebFX version of the FX2048 JavaFX game

TARGET AUDIENCE

This app has been published for developers following the WebFX project, and is part of the project demos.

FOR NEW AUDIENCE

WebFX is a free, open-source cross-platform solution that can target 7 platforms (Web, Android, iOS, macOS, Linux, Windows & embed such as Raspberry Pi) from a single Java code base.

Underlying technologies: OpenJFX, Gluon & GWT.

For instance, you can visit the web version of this same app at https://fx2048.webfx.dev

Whatever the platform, the application source code is exactly the same (see the LINKS section below to access the source code of this demo).

The application is written in Java and uses the JavaFX API to build the user interface.

The Gluon toolchain (built on top of GraalVM) is used to compile the application Java code into a native app for all platforms except the Web (so this includes this Android version).

GWT is used to compile the Web version. It transpiles the Java code into an optimised JavaScript code.

As a result, all executables in all platforms offer optimized performances.

ABOUT THIS PARTICULAR DEMO

This is the game 2048. You can use the arrow keys to play, or the touch screen on tablets and mobiles. Tiles with the same number can merge into one that sums these 2 numbers. The goal of the play is to sum 2048 on a single tile.

This particular demo is a patched version of the original FX2048 JavaFX game written by Bruno Borges. The reason of this patch is to make it GWT compatible, and therefore also compilable for the web.

This demo also shows that you can write applications such as games using the JavaFX scene graph and CSS (this game is not canvas based).

LINKS

Original JavaFX game: https://github.com/brunoborges/fx2048

This demo source code: https://github.com/webfx-demos/webfx-demo-fx2048

WebFX Website: https://webfx.dev

WebFX GitHub: https://github.com/webfx-project/webfx

Show More

What's new in the latest 1.0

Last updated on Jan 23, 2023
Minor bug fixes and improvements. Install or update to the newest version to check it out!
Show More

Gameplay and Screenshots

  • FX2048 (WebFX demo) poster
  • FX2048 (WebFX demo) screenshot 1
  • FX2048 (WebFX demo) screenshot 2
APKPure icon

Download APKPure App to get more game rewards and discounts

One-click to install XAPK/APK files on Android!

Download APKPure
thank icon
We use cookies and other technologies on this website to enhance your user experience.
By clicking any link on this page you are giving your consent to our Privacy Policy and Cookies Policy.
Learn More about Policies