Comments (7)
found a related issue. AlmasB/FXGL#644
from fxglgames.
Update.
module FlappyBird {
requires com.almasb.fxgl.all;
opens assets.music;
opens assets.sounds;
opens assets.textures;
opens com.almasb.fxglgames.flappy;
exports com.almasb.fxglgames.flappy;
}
I try to create every sub-pakcage of assets ,and opens them, it reported new error:
[JavaFX Application Thread] WARN AssetLoader - Failed to load sound jump.wav Error: java.lang.UnsupportedOperationException: Unsupported protocol "jrt"
It seems like an openJdk bug.
from fxglgames.
from fxglgames.
Hi, you can open the module without opening each asset. So,
open module ...{
}
from fxglgames.
open module FlappyBird {
requires com.almasb.fxgl.all;
exports com.almasb.fxglgames.flappy;
}
@AlmasB
I tried it, still failed, it showed the same error.
The steps.
execute the command
mvn clean install
mvn javafx:jlink
run the FlappyBird.bat
from fxglgames.
from fxglgames.
Yes, with open module
I also get Unsupported protocol "jrt"
. I seem to recall that javafx-media is not yet available natively, which is likely what's causing the issue. For more details, you can talk to the Gluon team, I think they are releasing the native javafx-media support soon.
from fxglgames.
Related Issues (20)
- Game crashes as libsndio.so.6.1 is missing HOT 5
- Breakout fxgl version cannot be resolved HOT 2
- KeyRain - test with JEP330 launch HOT 2
- enable ZGC by default? HOT 2
- The cursor image will become a mess? HOT 1
- Can't run Cannon0.2.1 demo HOT 2
- add fx maven plugin to all projects
- Add maven defaultGoal to all projects to ease first usage
- "Code samples" link on this page is broken HOT 1
- Maybe there isn't any dev repository for fxgl version “17+dev-SNAPSHOT”? HOT 2
- Duplicate code in Space Invaders CollisionHandler subclasses
- some suggestions about Bomberman HOT 1
- PongGame HOT 5
- KeyRain ClassNotFoundException running with mvn run
- Tower Defense towerbase HOT 2
- feat(pacman): use arrow keys to change the pacman's position
- Old version of FXGL couldn't run on new MacOSX
- Breakout
- Create a Website for this Repo HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fxglgames.