4.5.9 How to get Carpet Shark running guys

Hello Everybody,

I'm working on a puzzle / maze game. But instead of having the monsters walk random( left ,right, up and down ). Like in the maze tutorial.
I want the monsters on a single screen, running from right to left.
When they reach the end of the screen on the left I want them to respawn on the right again but in a different position.
Can the same be done with pick-ups ?

A good example / comparison of what I mean are the running guys out of the Carpet shark game.

Can somebody tell me how to do this? OR direct me to a forum post were this is explained .
I couldn't find one. Thanks
 

5kids2feed

Well-known member
Hi there!

In my game, Carpet Shark, once the runners reached the end of the screen.. I had the game pick a random number.. and whichever number it picked was the monster and location it spawned at. Watch the Intermediate and Advanced Adventure Game tutorials to get a better understanding of the random numbers and dropping items/monsters/etc. Takes a little coding, but once you have a decent understanding of it, it'll click in.
 
Thanks for your reply 5kids2feed,

I watched some more tutorials video's and I still have some questions.
In your reply you point to the intermediate and advance adventure game tutorials. Don't you mean the arcade platform tutorials??

In Those video's Joe explains the enemy spawner. I guess you use multiple invisible enemies spawners ?
Wich module did you use for Carpet Shark ?
Could you point me to the information you used ? I have no idea where you got the random number information for example.

Thanks
 
Top Bottom