Hi there,
I'm setting up my game for controller support and have hit a challenge.
I have a button to switch from Point and Click to controller support.
It triggers a custom event that switches:
• Detect hotspot: from mouse over to player vicinity
• Interaction menu appear: from AppearAtCursorAndFreeze to OnHotspot
• Hotspot icon display: from Never to OnlyWhenHighlighting
It all works great. Hotspots reveal their icons based on player proximity or when hitting CycleHotspot buttons.
But I can still see my main AC cursor and would like to hide it.
If I use Engine manage systems: Cursor Disabled, then the Hotspot icons also disappear.
My other cursor settings include:
• Display cursor: always
• Interaction actions: change cursor when over single-use Hotspots
Is there anything else I should set up?
Many thanks
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Follow up details:
I am rendering the cursor via Software
I can achieve the desired effect if I start my game in "controller" mode with the following options toggled:
• Lock cursor in screen center when game begins
• Hide cursor when locked in screen center
However, I can't get the cursor to show again at runtime when I switch back to point and click mode.
I think what I need is just the option to Lock/Unlock and Show/Hide the cursor manually at runtime – not just when the game begins
Yes, that's it exactly. Keep "Hide cursor when locked in screen's centre?" checked, so that locking the cursor keeps it hidden.
To lock/unlock the cursor at runtime, you can use the Player: Constrain Action.
Aaaah got it, I didn't realise it was a player action.
Solved - thank you so much!!