Download Adventure Creator manual

Transcript
Adventure Creator User Manual
Page 86
5.15 - CUSTOM CURSORS
As stated in section 5.1, the Cursor Manager is used to define the Interactions available
in your game. You can add, remove and set textures, animate them, as well as define
the rules for which cursors appear – such as the ability to display a dedicated “walk”
cursor when hovering over a Navigation Mesh.
The Cursor Manager can also be used to determine if cursors are rendered in Hardware
or Software mode. Software mode, the default, hides the hardware cursor and displays
the correct cursor as a texture in its place. While it can be slower on older systems, it
enjoys wider support on more platforms. Hardware mode, on the other hand, replaces
the system's hardware cursor completely, and can often be faster. Note, however, that
as of September 2014, Hardware cursors do not work correctly in the Unity Editor on
Macs – this is a Unity-based problem, but still works correctly in the game is Built.
The “click offset” can also be set for each cursor. In Software mode, this offset
represents how far the click point is from the cursor's centre, as a decimal of its size. In
Hardware mode, the offset represents how far the click point is from the cursor's top-left,
in exact pixels.
Cursors defined under the Interaction icons panel can also be referenced in the Menu
Manager (see section 11.1), to change the cursor when the mouse hovers over a
particular element.
© Copyright Chris Burton, www.iceboxstudios.co.uk