Skip to content

Convert jump to using resources from jar for UI #223

@Kenoshen

Description

@Kenoshen

There is a call to LevelEditor.setAssetsDirectory that jumped out at me. It is set to the assets directory in the local version of jump on my machine. I'm guessing the reason for that is because jump currently has no way to access it's UI images or font files when it is run in a directory outside of the jump project directory.

This will become a problem once jump is installed via the maven repository since you wont have access to the source code.

The right way to handle this would be to bake the assets into the level editor jar and then reference the assets within the jar. That way you are completely independent of the source when it is all packaged up.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions