Hi Guys. This is my first question and I hope its not a dumb one.
I am using the MoveTo behavior by Rexrainbow and what I am trying to do is move a sprite from one position to the next, wait for 2 seconds, move to another position, wait 2 seconds, move to another position, wait 2 seconds, move to the original location...and then have it repeat that behavior.
I have a Sprite Object with the MoveTo behavior Activated with a Max Speed of 400. Original location 100,200.
Actions include:
Sprite - Set MoveTo target position to (700, 200)
System - Wait 2 seconds
Sprite - Set MoveTo target position to (700, 400)
System - Wait 2 seconds
Sprite - Set MoveTo target position to (100, 400)
System - Wait 2 seconds
Sprite - Set MoveTo target position to (100, 200)
System - Wait 2 seconds
..so basically the sprites moves around in a rectangle (or wherever I set it to go)
What I can't figure out is how to have the sprite repeat this behavior as long as the layout is displayed. And I don't know which event to use to start it(On layout start would only have it play once)
Can anyone help a Construct 2 newbie out?
I tried using System Repeat but that got ugly. Must be a simple way.