LunaLua Render Priority
Jump to navigation
Jump to search
The LunaLua render priority is controlled by a double value.
Renderable objects with lower render priority values are render first and those with higher values are rendered last.
In LunaLua you can specifiy render values with Text.printWP, Graphics.drawImageWP, Graphics.drawImageToSceneWP. The current valid range of render values is between 0.5 and 3.5.
Default Render Values
Here you can see a list of all default render values.
LunaLua Render Values
This is a list of render values built-in into LunaLua.
| Value | Name | Description |
|---|---|---|
| 1.0 | Image Draw | Render commands like Graphics.drawImage. |
| 2.0 | Placed Sprites | Placed sprite by Autocode or LunaLua's Graphics.placeSprite. |
| 3.0 | Text Draw | Text which is drawn by Autocode or LunaLua's Text.print. |
API Render Values
If an API-Developer or HUD-Developer uses special render values, then he can write them here:
| Value | Name | Description |
|---|