How do I make a random NPC movement

Get help using Construct 2

Post » Sun Feb 21, 2016 11:49 am

Hello,

How do i make an random NPC movement like the pokemon gba games.
So the character is gonna stand somewhere, then in a few seconds it walks a little to the other side and so on.
It is for an 4 direction / 8 direction movement top down game.

regards
Image

Coin Clicker 2 [Play store]
B
15
S
2
Posts: 75
Reputation: 905

Post » Sun Feb 21, 2016 12:31 pm

I bealive you can find answer in this tutorial... https://www.scirra.com/tutorials/37/beg ... onstruct-2

You just have to place the movement action under "every x seconds".

In short this could work, i think.... : random direction movement, stay in one place, after x seconds generate another random movement. ;)

I hope you get the idea. ;)
B
10
S
1
Posts: 42
Reputation: 620


Return to How do I....?

Who is online

Users browsing this forum: diamantico21, ratboy3 and 39 guests