Almas Baim
Almas Baim
Linking https://github.com/AlmasB/FXGL/discussions/1173 for more ideas to go with this feature
Hi, 不好意思,我的汉语不好。我觉得 Tiled 1.9.0- 用了 "type",但是 1.9.0+ 现在用 "class" 。我要看看,谢谢。 If I understood correctly, it seems "type" has now been replaced with "class" in Tiled 1.9.0+. To adapt to this,...
To get the latest build, you can use this: ``` com.github.almasb fxgl 17+dev-SNAPSHOT oss.sonatype.org-snapshot https://oss.sonatype.org/content/repositories/snapshots ``` See if it works for your use case.
Done in 17.2
No, actually it isn't an issue per se. It's related to how javafx draws circles. If your circle has radius 10, just create your circle `new Circle(10, 10, 10)` to...
To complete this issue, a tentative API design and implementation ideas should be proposed first.
`CellMoveComponent` and `AStarMoveComponent` work nicely together for use cases where entities move using cells. For other "free" type movement, we need `TopDownMoveComponent`, which also considers collisions.
``` // private List blocks; // // private void move(double dx, double dy) { // if (!getEntity().isActive()) // return; // // if (blocks == null) { // blocks = FXGL.getApp().getGameWorld().getEntitiesByType(PacmanType.BLOCK);...
Double check this is needed: ``` Bundle fxglServicesBundle = new Bundle("FXGLServices"); fxglServicesBundle.put("globalSoundVolume", 0.5); fxglServicesBundle.put("fullscreen", false); fxglServicesBundle.put("globalMusicVolume", 0.5); ```
Sure, go for it. Please provide your design here so we can agree on API