toggle menu
Categories
Discussions
Dashboard
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Dashboard
Sign In
·
Register
×
Home
›
GameSalad 101
›
Working with GS (Mac)
Help with Enemy Actors and Spawning
Patrick71421
Member
Posts:
5
January 2011
edited November -1
in
Working with GS (Mac)
How would you make an enemy actor continuously spawn lasers or something? How do you make a enemy actor move back and forth within a certain area?
Comments
dunkelgeist
Member
Posts:
68
January 2011
1. With a timer behavior, every X seconds, spawn a laser.
2. Is that certain area moving? can you describe it a little bit more?
Patrick71421
Member
Posts:
5
January 2011
The area would not be moving and it would just be a piece of flat ground. I just want the actor to walk back and forth.
UtopianGames
Member
Posts:
5,692
January 2011
Just making a couple of examples for you.
Darren.
UtopianGames
Member
Posts:
5,692
January 2011
Made a quick demo for you.
http://www.utopiangames.co.uk/gamesalad/moveLeftRight.zip
Here ya go one uses interpolate the other Move to but there's more ways to do this like change motion linear velocity x etc etc.
Darren.
Patrick71421
Member
Posts:
5
January 2011
Thanks
Sign In
or
Register
to comment.
Comments
2. Is that certain area moving? can you describe it a little bit more?
Darren.
http://www.utopiangames.co.uk/gamesalad/moveLeftRight.zip
Here ya go one uses interpolate the other Move to but there's more ways to do this like change motion linear velocity x etc etc.
Darren.