Narrat 3.17.0 contains the first part of the work to make all of narrat fully gamepad accessible
- The quest list can be navigated via gamepad
- The achievement screen can scroll with right stick
- The dialog panel can scroll with right stick
- The system menu can also scroll with right stick
- There is also a new feature to add an
onHover
to sprites. It works the same way asonClick
, but happens when hovered with the mouse. ambiant
audio channel renamed toambient
to fix the misspelling. This is also reflected in code, so update anyambiant
in your scripts toambient
if updating a game- Some CSS classes added/removed when switching between keyboard and gamepad have changed, so you might need to update your CSS
Specifically, the new navigation now adds both the selected
class and the gamepad-selected
or keyboard-selected
, depending on which is active. This allows you to more easily control how you show selection feedback in your CSS for either of those.
The new navigation system is only used in quests for now and not yet ported to other places, but eventually this change will happen everywhere.