AYYY I FINALLY CRACKED THE CARDS!
I used to have an issue where the cards would share the same player ID, P1, and whether or not P1 was human or CPU. So the cards would all be RED, and all able to be set to Human without having controllers. I've been racking my brain for 3 days over this, risking damage to my keyboard from sheer frustration! Until I looked over at the Start()
method to init the cards. It was set to ID 0 (player 1) and to go Red. After this, my code wasn't able to change those values.
I removed that! And TADA: Player 1 (my gamepad) can set P1 to human, AND NOW OTHER CARDS GO STRAIGHT TO CPU when no controller is in! <3 My issue was caused by debug stuff lol!
Other than that, next up will be coding the icons/grid~! I'll finally be able to setup fighter selection and make the Rules code. I can hardly wait!
I may also get some more gameplay features implemented while I'm at it.
Short update but I wanted to share this!
2 comments