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.
Roadmap
This page lists future improvements that are being considered. Items here are not stable APIs until they are implemented and documented in the relevant guide or API reference.Input Context For Actions
RpgClientEngine.processAction() already supports custom action data:
client.pointer, and keyboard actions from character.ce can
send custom action data through keyboardControls.action. A remaining future
improvement is to make other built-in input sources, such as map clicks and
event clicks, provide a consistent action context without each feature wiring
its own pointer state.
The intended shape is:
character.ce should stay generic. It can
send custom action data only if RPGJS exposes a reliable client-side input
context, such as a pointer world position helper, selected target helper, or
action context resolver.
Implemented:
- Add an official
client.pointerhelper. - Let
keyboardControls.actionaccept an object form withbind,action, and optional static or functionaldata. - Keep simple string controls compatible with the current behavior.
- Let map clicks emit action inputs with world coordinates.
- Let event clicks emit action inputs with
eventIdand world coordinates.