User Tools

Site Tools


en:rpd:json_configs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:rpd:json_configs [2026/01/01 19:45] – namespace move Mikeen:rpd:json_configs [2026/01/01 19:47] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== JSON Configuration Files ======
  
 +JSON configuration files in Remixed Dungeon define many game elements and mechanics.
 +
 +==== Overview ====
 +JSON configuration files are used throughout Remixed Dungeon to define various game elements without requiring code changes. They provide flexibility for modding and allow for easier balance adjustments.
 +
 +==== Types of Configuration Files ====
 +  * **Level Objects** - Found in ''levelObjects/'' directory, define interactive objects like chests, statues, barricades, etc.
 +  * **Mob Configurations** - Found in ''mobsDesc/'' directory, define mob stats and behaviors
 +  * **Item Configurations** - Define item properties, effects, and metadata
 +  * **Sprite Descriptions** - Found in ''spritesDesc/'' directory, define sprite animations and effects
 +  * **Hero Initializations** - Found in ''hero/initHeroes.json'', define starting equipment and stats for classes
 +  * **Bestiary** - Found in ''levelsDesc/Bestiary.json'', define monster spawn rates and level placement
 +
 +==== File Locations ====
 +  * ''RemixedDungeon/src/main/assets/levelObjects/'' - Interactive objects
 +  * ''RemixedDungeon/src/main/assets/mobsDesc/'' - Mob configurations
 +  * ''RemixedDungeon/src/main/assets/spritesDesc/'' - Sprite configurations
 +  * ''RemixedDungeon/src/main/assets/levelsDesc/'' - Level configurations
 +  * ''RemixedDungeon/src/main/assets/hero/initHeroes.json'' - Hero starting properties
 +
 +==== Customization ====
 +JSON files can be modified in mod packages to change game behavior without changing Java code.
 +
 +==== Benefits ====
 +  * Easy to modify without recompiling
 +  * Clear structure for game parameters
 +  * Support for modding
 +  * Separation of data from code
 +
 +{{tag> rpd system json configuration}}