Self Moving Enemy
zamboni77
Member Posts: 40
Hi there I am trying to get my enemy actors to move by themselves and cant find anything to help me with it anyone got any sort of tutorial to help me please
Comments
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
- Sideview?
- Topview?
- what kind of movement? static or randome?
Darren.
That looks pretty cool.
I always wondered if there was someway of doing a dot line path drawing - but where the dots are evenly spaced no matter the speed of your finger.
any thoughts?
Darren.
Start out moving right:
Move Behavior -- right -- at whatever speed you want
Then check for the far right limit of movement I'll pick 400.
Rule if player x position is => 400
Move to the left
Then check for the far left movement limit, I'll pick 100.
Rule if player x positions is =< 100
Move to the right
In this case your enemy would patrol between x location 100 and 400 endlessly.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
This demo i made should help. I know it's not side to side(that it's up and down) but just change the y-values to you x-values.
It's a note in the demo telling you this.
//Fajlajp
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page