Hi Dop, sorry to message again but I'm wondering if you can help with something else.
In the game, I want the player to get power-ups such as the ability to shoot the red balls, invincibility etc. The player gets a power-up for 10 secs when they collide with a gold ball and I'm using instance variables to do this and also having to use a different gold ball for each power up, and it feels very messy as I'm having to create a lot of events.
Is there a way I can use one gold ball and randomise which power-up the player gets when they collide with it?
Is instance variables the best way to go about doing this? I'm not 100% sure it is.
Let me know what you would do.