RPG Runaway Movement Issue

Get help using Construct 2

Post » Sat Feb 02, 2013 8:27 am

Hi everyone, First post!

I recently got into making a few small games using Construct 2. I am very new and have only learnt a few basics.

I am currently working on a small RPG game with similar mechanics to Pokemon and Zelda.

The Problem

I am using the Runaway behavior to control my NPC random movement. I have assigned 4 directional animations my my player character and now I am trying to assign animations to the NPC however I can't quite seem to get it to work.

I am trying to get the game to detect when the NPC (orc) is moving and to detect it's angle. Then depending on the angle of movement, it plays an animation that associates with that direction.

Here is the file: http://www.mediafire.com/?80d4sa2se12oa1g

Can someone please take a look at it and see what I am doing wrong.. haha.

Posts: 2
Reputation: 354

Post » Mon Feb 04, 2013 1:30 am

Can anyone help?
Posts: 2
Reputation: 354

Post » Mon Feb 04, 2013 8:38 am

Looks like the runaway behavior isn't actually using the custom movement behavior, so all of the values for that are 0 each tick. I would post in the behavior author's post to see if he could expose the direction it decided to move the sprite via system expressions. Until then, all you could do would be to try to trap the delta of the x and y via system variables.
Posts: 210
Reputation: 6,068

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 23 guests