rpd:int:hero_layers
Differences
This shows you the differences between two versions of the page.
| — | rpd:int:hero_layers [2025/12/18 20:16] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Hero Sprite Layers ====== | ||
| + | ==== Description ==== | ||
| + | This page documents the layer order for hero sprites in Remixed Dungeon. The hero sprite is composed of multiple layers that are rendered in a specific order from back to front. | ||
| + | |||
| + | ==== Modern Hero Sprite Layers ==== | ||
| + | The modern hero sprite system uses the following layer order (from back to front): | ||
| + | * LAYER_RIGHT_ITEM_BACK | ||
| + | * LAYER_LEFT_ITEM_BACK | ||
| + | * LAYER_BODY | ||
| + | * LAYER_COLLAR | ||
| + | * LAYER_HEAD | ||
| + | * LAYER_HAIR | ||
| + | * LAYER_ARMOR | ||
| + | * LAYER_ARMOR_BOOTS | ||
| + | * LAYER_FACIAL_HAIR | ||
| + | * LAYER_HELMET | ||
| + | * LAYER_LEFT_HAND | ||
| + | * LAYER_RIGHT_HAND | ||
| + | * LAYER_LEFT_ARMOR | ||
| + | * LAYER_RIGHT_ARMOR | ||
| + | * LAYER_ACCESSORY | ||
| + | * LAYER_LEFT_ITEM | ||
| + | * LAYER_RIGHT_ITEM | ||
| + | |||
| + | ==== Retro Hero Sprite Layers ==== | ||
| + | The retro hero sprite system uses the following layer order (from back to front): | ||
| + | * LAYER_BODY | ||
| + | * LAYER_COLLAR | ||
| + | * LAYER_HEAD | ||
| + | * LAYER_HAIR | ||
| + | * LAYER_ARMOR | ||
| + | * LAYER_FACIAL_HAIR | ||
| + | * LAYER_HELMET | ||
| + | * LAYER_DEATH | ||
| + | |||
| + | ==== Layer Descriptions ==== | ||
| + | * **LAYER_BODY**: | ||
| + | * **LAYER_COLLAR**: | ||
| + | * **LAYER_HEAD**: | ||
| + | * **LAYER_HAIR**: | ||
| + | * **LAYER_ARMOR**: | ||
| + | * **LAYER_ARMOR_BOOTS**: | ||
| + | * **LAYER_FACIAL_HAIR**: | ||
| + | * **LAYER_HELMET**: | ||
| + | * **LAYER_LEFT_HAND**: | ||
| + | * **LAYER_RIGHT_HAND**: | ||
| + | * **LAYER_LEFT_ARMOR**: | ||
| + | * **LAYER_RIGHT_ARMOR**: | ||
| + | * **LAYER_ACCESSORY**: | ||
| + | * **LAYER_LEFT_ITEM**: | ||
| + | * **LAYER_RIGHT_ITEM**: | ||
| + | * **LAYER_LEFT_ITEM_BACK**: | ||
| + | * **LAYER_RIGHT_ITEM_BACK**: | ||
| + | * **LAYER_DEATH**: | ||
| + | |||
| + | ==== Purpose ==== | ||
| + | Hero sprite layers allow the game to compose a complete character appearance from multiple individual components. This system allows for: | ||
| + | * Dynamic equipment visualization - armor, helmets, and weapons are displayed correctly | ||
| + | * Different character customizations - hair, facial hair, etc. | ||
| + | * Proper visual ordering of items and equipment | ||
| + | * Animation compatibility - hands and weapons can animate properly | ||
| + | |||
| + | ==== Content Verification ==== | ||
| + | * Information source: Java classes [[https:// | ||
| + | * Layer order: Extracted directly from the LAYER_* constants and arrays in sprite definition files | ||
| + | * Last updated: December 2025, source: Remixed Dungeon 1.9.3 | ||
| + | |||
| + | ==== Source Code ==== | ||
| + | * Modern Sprite: [[https:// | ||
| + | * Retro Sprite: [[https:// | ||
| + | |||
| + | ==== See Also ==== | ||
| + | * [[rpd: | ||
| + | * [[rpd: | ||
| + | * [[rpd: | ||
| + | |||
| + | {{tag> rpd internal sprites hero layers}} | ||
