Forum rules - please read before posting.

Animated Interaction Menu

Hello everyone,

I'm currently working on a classic 2D point & click adventure, and I would like to add an animation to the cursor when clicking (and holding) on a hotspot, which opens the interaction menu. For example, from the normal cursor to something like the classic "Use & Look at". The animation should adjust depending on the number of available options, i.e., it should trigger a different sprite sheet if there’s only "Use" or only "Look at". I've attached the sprite sheet for the "Use & Look at" animation here.

Is there possibly a feature in Adventure Creator that I'm overlooking, or do I need a custom script for this?

Additionally, I would also like to have a click animation when no hotspot is selected.

Thanks for the help, and best regards!
Marco

Comments

  • I'm not seeing the sprite sheet you mentioned - bear in mind that the forum doesn't support hosting. If you upload to e.g. imgur.com, however, you can share the link to it here.

    Your title mentions the Interaction menu, but your description deals mainly with the cursor - is it the cursor specifically you want to animate?

    If you switch your Cursor Manager's Cursor rendering to Unity Ui Prefab, it'll cause the cursor to be rendererd via a Unity UI prefab. This prefab contains Inspector options to let you adjust Animator parameter values based on its state (clicking, over a Hotspot, etc), which you can then make use of in an Animator controller to drive transitions.

    A ready-made example is provided in the "Animated cursor" template. You can install this by running AC's New Game Wizard, choosing "Modify an exiting game", and then installing the template from the list.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.