Quote:Original post by CGameProgrammer
There will indeed be multiple characters, with different moves. One will specialize in fire-based attacks, so he's the one with the fireball. But I did plan on just hard-coding them. Since the attacks themselves need to be hard-coded, and setting the moves and firing the attacks is very simple, there seems little point in moving it out of the code. For coming up with the combos, I don't need to actually test it; I just press keys on the keyboard and see what seems good for an attack.
For a simple game, I see your point, but what if you wanted to do a full blown fighter, Capcom/SNK/Sammy style hard-coding may be much. I know in the old days, they would hard-cord all of that, but now, with total number of playable characters numbering in the 20's, you could image just how immense that is. For my project, I'm looking at about 10 playable characters, so I could hard code the move sets, but, as I mentioned before, I prefer a more modular approach.
Anyway, all opinions aside, your little demo is well done. Good luck.