I have an array that I'm using to hold a bunch of variables to track various event triggers in my layout. It worked great for limiting my projectiles to only 3 shots on the screen at once, but now I'm using a new variable as a switch to switch between multiple characters on the layout. If its equal to 0 my first character is active, if its equal to 1 my other character is active. I use a specific controller button to switch the variable from 0 to 1 and back again.
This should be dead simple. But it does not work. If I manually set the Array Variable on the layout, I can control my second character at Layout start. And I can press my switch button to switch back to the first character. Once. But if I start with the first character (array variable = 0) it will not switch to the second character.
I'm attaching my Capx if anyone is willing to take a look and offer a suggestion. Cause this is getting annoying.
360 controller recommended. Control pad/stick move, A jumps, B shoots (hold for run), hold control pad/stuck down and press A to fall through thin platforms.
R is suppose to switch characters.
Thanks for any help.