Random Actor Help
DrGlickert
Member Posts: 1,135
I'd like to create a bubble breaker type game. My issue right now is creating an actor that displays the next ball that the cannon will shoot.
I'm struggling with the concept of using attributes for this process or if there is another way. Also, there is an issue of how do you start the level with a randomly generated ball that will be shot first?
I guess I'd use a scene/game attribute to generate a random number and correspond that number to the colored ball? Is there a good way of generating a random attribute number once a scene is started?
Any advice will be greatly appreciated. Thank you.
I'm struggling with the concept of using attributes for this process or if there is another way. Also, there is an issue of how do you start the level with a randomly generated ball that will be shot first?
I guess I'd use a scene/game attribute to generate a random number and correspond that number to the colored ball? Is there a good way of generating a random attribute number once a scene is started?
Any advice will be greatly appreciated. Thank you.
Comments
Using an integer attribute is a good alternative to Arrays, which haven't been introduced yet
This is getting frustrating.