How do I make a sprit move down and left and right on it own

Get help using Construct 2

Post » Mon Dec 15, 2014 12:12 am

How would I go about making a sprite thats not controlled by the player move left to right and or move down?
B
4
Posts: 14
Reputation: 228

Post » Mon Dec 15, 2014 1:05 am

You might be able to find what you are looking for by searching the tutorials section

https://www.scirra.com/tutorials/search?q=moving%20npc
B
11
S
2
Posts: 46
Reputation: 739

Post » Mon Dec 15, 2014 1:07 am

If you are using the platformer or 8direction behavior you can use the 'simulate control' actions to move AI around according to event logic.

Sines can also be used to move enemies, though that's a little more complicated. Here are some links:

https://www.scirra.com/manual/103/sine

Here's a capx I set up w/ invisible barriers to contain enemies (they just walk back and forth like goomba's)

https://www.dropbox.com/s/xkd1uefwp8ffb ... .capx?dl=0
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,202

Post » Mon Dec 15, 2014 3:49 am

thanks! worked great i used the sine
B
4
Posts: 14
Reputation: 228


Return to How do I....?

Who is online

Users browsing this forum: kurtbal, Seruza and 10 guests