You can now compile your #JavaFX web apps to #WebAssembly with WebFX and even write them in #Kotlin thanks to its new #TeaVM support.
More info in our blog below, including live demos! ๐ฅ
https://t.co/QQYoL9RQGR
Holiday time! โฑ๏ธ๐
We added a level selector to JArkanoid!
Discover all 32 levels of this other excellent #JavaFX game written by @hansolo_
Playable online at https://t.co/7c3WhxFd2O
Thank you btw for the 300+ stars on the #WebFX GitHub repo! โญ๏ธโญ๏ธโญ๏ธ ๐
@javasunsFX The author said "it is just a fun project for practicing purpose with lots of unfinished things".
Not many devs go beyond standard layouts, not knowing javafx allows writing our own, a powerful feature for responsive design, as explained in the "Responsive" card on our website.
A user kindly shared his app that we host at https://t.co/JH66sp3bzn
It showcases some cool #webfx features:
โ Scene graph (no canvas)
โ Charts
โ Dual CSS (#javafx & web)
โ I18n
โ Json
โ Web service
โ Java service
โ Local storage
โ Sound
Repo listed in webfx-demos
@phidias51@justinfagnani For these 2 reasons (TeaVM cannot transpile JavaFX and WASM cannot access the DOM), it is not true that JavaFX compiles to WASM, at this time of writing.
@phidias51@justinfagnani Also, WASM has a serious limitation: it cannot access the DOM. There is a trick to give it a canvas, but that's it. So transpiling an entire JavaFX app into a pure WASM code (with no JS) that would map the JavaFX scene graph into DOM is impossible mission today.
@phidias51@justinfagnani The website you mentioned clearly states that JavaFX doesn't compile in the browser (actually it does now with WebFX). TeaVM cannot transpile all Java apps (same with GWT, J2CL, etc...). In particular, it cannot transpile any JavaFX app, because JavaFX is not TeaVM compatible.
@phidias51@justinfagnani It uses SnapKit, not JavaFX. As far as we know, WebFX is the only JavaFX transpiler. We may support WASM in the future, but saying JavaFX compiles to WASM is incorrect today.
SpaceFX update: 2 new weapons!
โข Autofire Fury ๐ฅ
โข Rainbow Blaster ๐
Can you now score 100,000?
https://t.co/Z3DJ1BJZgg
All of this made possible only by the amazingly performant JavaFX game engine written by @hansolo_ and the power of GWT.
#Java#JavaFX#GWT#WebFX#WebDev
We've released a new version of SpaceFX! ๐ A few updates to make the game even more challenging for true gamers. Check it out on our GitHub demo space ๐น
https://t.co/PES6PnQvga
We've released a new version of SpaceFX! ๐ A few updates to make the game even more challenging for true gamers. Check it out on our GitHub demo space ๐น
https://t.co/PES6PnQvga
@gochev The JavaFX controls supported so far are listed in our roadmap which is located in our README: https://t.co/9FcKrXqETl (read the roadmap comments). We will add a demo link to these controls soon. For complex controls, we will first provide lighter alternatives in WebFX Extras.
If you would like to follow the WebFX project more closely, you can now join our #news channel on Discord, as well as a #general chat for questions or support.
You can find the links in our README, which also includes an updated roadmap.
https://t.co/lPCsApQ1bg
Thank you JetBrains for the free license ๐ With IDEA Ultimate profiler, we greatly improved the performance of our CLI.
- WebFX Platform: 105 java modules
- WebFX: 39
- WebFX Extras: 65
- WebFX Stack: 115
- Modality: 141
All 465 pom.xml & deps updated in 17s from src (800k+ LOC)
@EvanderTor57903 WebFX has a good coverage of javafx-graphics, javafx-media, javafx-web, but middle coverage of javafx-controls. So far it supports Button, CheckBox, RadioButton, ContextMenu, Label, Hyperlink, TextField, TextArea, PasswordField, ProgressBar, Slider, ScrollPane, SplitPane, TabPane
WebFX now supports WebGL. This means that you can program a JavaFX canvas with a WebGL context in the browser.
Here is a live demo: https://t.co/OCfY3zUbel
#WebGL#WebFX#JavaFX
@orango_mango @dlemmermann @SystemsInCode@HydraulicDev Yes, that's what fxlauncher & getdown do, and I guess also the solutions mentioned by @dlemmermann, they download the latest jar from an alternative app store (or your own server). I don't know if there are solutions that work also with native JavaFX apps compiled with Gluon.
The #webfx Fetch API allows you to query web services (text, json, etc...). Fully cross-platform => your code will run on all supported platforms (desktops, servers, mobiles & browser) like illustrated by this #javafx chess game running in the browser (congrats @orango_mango).
Chess 2.0 is finally complete.
The #webfx version is now available at https://t.co/N8bmeFgdOx
๐น๏ธ Play single player against stockfish
โ๏ธPlay multiplayer against a friend in LAN or on the server.
A #chess game made in #java and #javafx for Linux, Windows, Mac, Android and browser.
@SystemsInCode@orango_mango Confining users to a specific platform doesn't seem a modern approach. JavaFX desktop apps can have instant updates via fxlauncher or getdown (we have one in prod still working like a charm today!). No equivalent with modern app stores yet => in-app msg seems the only option...๐คทโโ๏ธ