Skip to content

Directory Structure

Almas Baimagambetov edited this page Mar 25, 2018 · 6 revisions

This matches a typical IDE directory structure. For Maven users the source root is "src/main/java" and assets are placed in "src/main/resources". This allows easy packaging and deployment, as all assets packaged into jar will continue loading with exactly the same code.

project directory (typically project name)
    src (source code directory)
        assets
            textures (image files ".png", ".jpg")
            audio (audio files ".wav")
            music (music files ".mp3")
            text (text files ".txt")
            data (binary data files with custom extensions)
            ui/css (stylesheets for customizing UI elements)
            ui/fonts (fonts ".ttf", ".otf")
        (your packages / code)

IntelliJ IDEA (with Maven / Gradle)

Screenshot

Clone this wiki locally