Documentation Index
Fetch the complete documentation index at: https://v5.rpgjs.dev/llms.txt
Use this file to discover all available pages before exploring further.
Create spritesheet
Spritesheets are registered on the client side.Basic setup
Add your first spritesheet inconfig/config.client.ts:
File location
Place the image where the client can load it, for example:Use the spritesheet
Once registered, you can assign it from the server:Recommended flow
- Create the image file
- Register it in
config.client.ts - Use
player.setGraphic("hero") - Test it in your first map