2012-01-04
2012-01-04
Zero Percent Game Dev - Combat! Steps closer!
Those bugs were weird. If both players joined the same team and then simultaneously switched to the opposite team, the first to switch would begin the battle, but the second would hop combat into a strange and broken existence. Fun! The lesson I took was that every part of code should be prepared for input that doesn't always make sense. Now the second person gets a "whoops" message and is stuck on the previous team.