I'm making this game in which the player shoots balls of plasma. In the main menu, I have a "customize" sub menu that allows the player to change the color of the plasma. In the sub menu, a still image of the plasma is shown, and when the player clicks on it, it changes to the next one.
I coded this in the following way.
Event: Left Released
Action: Create Instance of plasma_red relative to obj
Destroy instance of object (the old plasma color)
Then, the events of the other colors are coded in the same way, just changing the "create instance" to the next color. This way, it should loop. However, everytime I click on one, it goes back to the color purple. WHY?
Basically, I have all of the colors created. Now, what would be the best way to allow the player to customize which color he uses in the game? Obviously my way didn't work.