Quantity of Object Spawned Up Increases as the Speed of Object Being Spawned Up Increases
I am trying to emulate the similar way how the ice cream shoots seen in this video:
https://youtube.com/watch?v=STBYUXqKXqw&feature=youtu.be&fbclid=IwAR2Ult8uECE2IrzPa5whCxCzqI9A8QZbiao777rg-m33tEEr7wN5Eh5QQrY
Each cone randomly shoots up the ice cream. The part I am having trouble implementing is the following:
Each cone randomly shoots up the ice cream. (I did use the random function for each cone, but the random generator seems give me the same number for all cones, causing all the creams to be shot up all at the same time)...
Every about 1.25 minutes the speed of the creams being shot up increases AND the amount of cream being shot up increases. The game initially starts slow = not too many creams, but as the cream is being shot up faster the amount of cream increases. I keep getting a result where as the speed increases, the less cream get shot up to the point almost nothing get shot up for really really long time...
Any tips is greatly appreciated!
Comments
Post screenshots of your rules.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Image: https://imgur.com/a/20fG7Ws
I've decided to use the table with the column filled with random generated numbers... probably not a good idea.. not very true random..
Visual Result: https://youtu.be/nRsMSF47iXg
The Timer behavior will not update the expression value each cycle. So if you have something like Timer every random(1,5), it will choose a value such as 2 and run every 2 seconds forever. It won't keep refreshing the value of the random(1,5) expression.
There are several threads about this which you can find if you Google random timer GameSalad. Here's one:
https://forums.gamesalad.com/discussion/comment/553010/#Comment_553010
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
I feel like this needs to be put into a handout to anyone using GS or timers. A basic run down on how GS works. Logic runs from top to bottom. Actors from bottom to top. Timers expression values are a one time event. Interpolate doesn't respond to physics etc
I remember the amount of time I spent wondering why things weren't working when I didn't know how the logic actually was ran.
Best,
GSLearn.com | Templates | Free Demos | Udemy Course