HELP! How do you spawn actors randomly?
Ahlers
Member Posts: 4
Hello everyone, I need help with the first game I am building. It is like flappy bird except you are going up rather than side ways. It is also like Chick Run 2 if you have played that game except here you fly up and down rather than run on the bar. Anyway I need help with spawning the pipes randomly. I dont know how to get the pipes to spawn as my actor (the main actor) goes up. I want it so that as my actor goes up and passes in between the bars to spawn another bar at the top of the screen. Basically like flappy bird but going up. I also need it so that it spawns the score counter too. I use gravity at 3 in scene to move the camera up, but if there is a better way to do it please let me know.
Comments
You'll need to have a good understanding of how GameSalad works before you embark on this but once you've built a simple game of some other kind, you can view these helpful tutorials:
http://gamedevelopment.tutsplus.com/tutorials/buzzy-bee-create-a-flappy-bird-style-game-in-gamesalad-step-by-step--gamedev-14733
You'll need to adjust the attribute values to spawn the pipes in a different orientation but hopefully since you'll already be familiar with the software by then, you'll know how to do that.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Ok thank you. Although I have not finished a game on GameSalad yet, I believe I am familiar with most of it. I will view the tutorial and try adjusting the attribute values, etc for the pipes. Thank you very much.
That tutorial was a great help to me too! Jamie Cross is great!
Yep! @jamie_c
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
@kculpepper, @tatiang, thanks! I'm glad you liked the tutorial.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page