Forum rules - please read before posting.

Simple Character Animation

Hello,

I am new to Adventure Creator and Unity and I am creating a very simple decision-making point and click game inspired by Reigns. There will be multiple characters that appear inside the game. The only thing that they do is they enter the scene from the right side of the screen and "walk" to the center of the screen. I created an animation clip for the walk, which is very simple, it is just their image moving up and down towards the center. After they reach the center of the screen, they will say their line, a decision is going to be made by the player and they exit the screen the same way they entered it. The same should happen with each character one after another. I need your guidance on how to make the first NPC walk inside the scene when the game starts. So far I have the animation clip and the Character Sprite in Unity. Thank you very much for your guidance and support.

Comments

  • Welcome to the community, @FloriMuntean.

    To have game logic begin when your scene starts, you can create a new "On Start" cutscene in the Scene Manager's "Scene Cutscenes" panel. You can then click the node icon to the right of it to bring up its ActionList Editor window and start creating its Actions.

    To have the NPC start to the right, you can either move them manually off-screen while in Edit mode, or begin your Cutscene with the Object: Teleport Action to snap them to a Marker that's positioned off-screen.

    A Marker can be added from the "Navigation" section of the Scene Manager's "Scene prefabs" panel.

    To then have your character move towards the centre, add another Marker in the destination position, and use the Character: Move to point Action to have your NPC move there. If they start off-screen, and not on the scene's NavMesh, you may need to uncheck the Pathfind? option so that they can reach it.

    You'll probably also want to check Wait until finish? so that they complete the movement before the ActionList continues.

    You can then follow this up with a Dialogue: Play speech Action to have them speak, and/or a Dialogue: Start conversation Action to present the Player with a list of choices.

  • Thank you very much for helping me out! I made progress. I ran into another issue related to my cursor customization. I should have mentioned from the start that the version of my AC is 1.83.0. My game will be based on decisions, so I worked with a Conversation menu. In the elements of this menu I have a DialogueList with Linked button objects, which I edited in ConversationUI Prefab Mode. I want to change my cursor on hover, which i enabled in the DialogueList properties, but it doesn`t seem to work. I am providing screenshots with my progress. Thank you very much for taking your time to help me!

  • Do the options run when clicked? I can't reproduce this with the default interface.

    Check your Cursor Manager's Cursor rendering field. If it's not set to Software, switch it back temporarily and see if it then works.

    If you had it set to Unity UI, was this as a result of using the Animated Cursor template?

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.