Skip to content
Almas Baimagambetov edited this page Aug 2, 2016 · 8 revisions

This page will familiarize you with what, where, when and how regarding game assets. Most of the asset loading is provided by JavaFX. FXGL simply wraps the API and brings them all together in AssetLoader.

Directory

There is a special directory called assets places under src if you are not following the Maven directory structure. If you are, then it is placed under src/main/resources. This is necessary for the build process to easily pick up assets and package them when you distribute your game in an executable.

Textures

Music

Sounds

Text

Scripts

TODO other types

Clone this wiki locally