Fresh Start
Posted: Thu Sep 26, 2013 12:51 am
Okay all, I'm about to the spot where I want to start from complete scratch on a game. I've learned a lot, and much, much more to go. But I've come far
. I just have too many bugs in this one. Too many things not working properly, and I've scrambled the code so much that it's almost impossible to work with. So I think a fresh start is the way to go. So!
When coding the new game, what is the best way to always have the current stats update as you perform your actions? On this game, I would attack something, but the hitpoints wouldn't update when I did??
I'm going to work with three different divs, or should I use tables? The actions of everything will all happen in the middle div, so I will always need the information on the right and left to always update AS I perform those actions in the center.
Thanks!
When coding the new game, what is the best way to always have the current stats update as you perform your actions? On this game, I would attack something, but the hitpoints wouldn't update when I did??
I'm going to work with three different divs, or should I use tables? The actions of everything will all happen in the middle div, so I will always need the information on the right and left to always update AS I perform those actions in the center.
Thanks!