Hello everyone, I’ve got a question about adding “double-click on exit makes the player run.” I’m using AC 1.85.5, Unity 6.3 LTS, for a 2D game.
I’ve seen some similar posts in the forum but they all deal with previous versions of AC and I think the workflow has changed a bit since then.
Right now, single-clicking on an exit makes the player go to an exit marker (usually walking, occasionally running depending on the scene), then fade out, scene switch. Double-clicking on the ground makes the player run, but that gets overridden when the exit hotspot is clicked.
I’d like to keep that as-is, but add the option to make double-clicking on the exit hotspot cause the player to run to the marker instead of walk.
I’ve tried adding the following to the exit hotspot's actionlist:
Input: Check: Double Tap or Click
If true: Character: move to point: exit marker. Speed: run
If false: Character: move to point: exit marker. Speed: walk
But I haven’t been able to get any effect. The player continues to just walk to the exit. Any advice or help is appreciated.
My current settings are:
Interface:
movement: Point and click
input: Mouse and Keyboard
Mouse clicks have default functionality (check)
Interaction method: choose hotspot then interaction
Select interaction by: clicking menus
See interaction with: click on hotspot
Auto-hide interaction icons based on hotspot? (check)
Close interaction menus even if interaction doesn’t block game (check)
Everything else unchecked
Movement:
Double-click movement: makes player run
Thanks very much in advance!
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
You don't need to use any Actions within the Interaction - the Hotspot itself has a Double-clicking field that lets you configure the behaviour when a double-click is used to interact with it.
However, this option is only available when a single-click interface is used. This is usually a case of the game's Interaction method being set to Context Sensitive. However, it can be overridden on a per-Hotspot basis by checking Single 'Use' interaction?. The 2D Demo does this for the Exit Hotspots in its Park scene.
Thanks so much!