Creating Randomly Spawning Thought Bubbles
infiniteflow
Member Posts: 4
I'm working on creating a game with game salad for the first time. What I am looking to do is have bubbles with short sentences appear at random spots on the bottom of the screen, have them rise up the screen, and allow the user to click and drag them to different parts of the screen, getting points for correct placement.
Anyone have any advice on how to do this? Are there tutorials out there you can point me to?
I'm thinking this will involve having the sentences in tables and then randomly populating the thought bubbles that will spawn randomly.
Not sure how to do this! Thanks for your help.
Anyone have any advice on how to do this? Are there tutorials out there you can point me to?
I'm thinking this will involve having the sentences in tables and then randomly populating the thought bubbles that will spawn randomly.
Not sure how to do this! Thanks for your help.
Answers
I'm sorry to not address your question directly with step by step instructions but I see it's your first post so I think the general knowledge about GS will be much more beneficial than jumping right into a specific project.
I have a few nice intro step-by-step tutorials at my site linked in my signature below and there are lots more available from other users as well.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
✮ FREE templates at GSinvention ✮
✮ Available for hire! support@gsinvention.com ✮
Step one
Keep up with individuals needs with actor level attribute. then Using a timer created like this. every 1 second change attribute timer to timer+Random(1,100). then make a rule if attribute timer >= 300
2.Make a rule within the do section of this rule. If Hunger <= 5 , Spawn actor Hunger bubble.
3. Reset TIme
Seems like the easy part of the question, the question you should be asking Is how to constrain the thought bubbles to the heads of enumerable actors. YOu can't. you will need a scene level or game level attribute for everything that will have a thought buble
spawn reset attribute timer to zero. AND spawn thought bubble.
The Guru
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
It's not easy but it's possible. See my health bar demo and replace the health bars with thought bubbles: http://forums.gamesalad.com/discussion/comment/384027/#Comment_384027
Althought reading the initial post, I don't see that s/he needs to constrain them to heads...
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User