-
-
Notifications
You must be signed in to change notification settings - Fork 621
Closed
Milestone
Description
Currently we have shortcuts for .view(filename)
. We now also support loading from a URL.
Current API:
.view(getAssetLoader().loadTexture(getClass().getResource("...")))
- New additional API:
.view(getClass().getResource("..."))
- Same addition is needed for
.viewWithBBox()
- FXGL.texture(URL)
- FXGL.image(URL)
- FXGL.play(URL)
- FXGL.loopBGM(URL)