A few questions about browser games
Posted: Wed Jan 27, 2010 9:11 am
Hi all!
After finishing the video tutorials (which helped me a lot) i want to start working on my game from scratch, (i already planned how the game is going to be and stuff) but i have a few questions before i actually start working on it:
1. Should i start with the style (style.css) first or i can just do the game and add the style later on ?
2. I will be having stats like stamina (required for battle), energy (for jobs), etc ... so i will need a timer for them (i could use only one timer that refreshes all the stats). Do i need something else like ajax for not having to refresh the page? (i currently have Xampp)
3. Is it easier to make a stats table in mysql and add a statid for players, monsters, etc ... or add the stats directly into the players, monsters, etc.
The reason i'm asking this, is because i will have tons of stats : 14 already in the video tutorial + my own stats : energy, maxenergy, stamina, maxsta and who knows how many others.
Well that's it for now, i think this answers will help me to get working on my game.
If you have some other tips feel free to share them.
Thanks in advance and sorry for my bad english ! (i'm from Romania)
After finishing the video tutorials (which helped me a lot) i want to start working on my game from scratch, (i already planned how the game is going to be and stuff) but i have a few questions before i actually start working on it:
1. Should i start with the style (style.css) first or i can just do the game and add the style later on ?
2. I will be having stats like stamina (required for battle), energy (for jobs), etc ... so i will need a timer for them (i could use only one timer that refreshes all the stats). Do i need something else like ajax for not having to refresh the page? (i currently have Xampp)
3. Is it easier to make a stats table in mysql and add a statid for players, monsters, etc ... or add the stats directly into the players, monsters, etc.
The reason i'm asking this, is because i will have tons of stats : 14 already in the video tutorial + my own stats : energy, maxenergy, stamina, maxsta and who knows how many others.
Well that's it for now, i think this answers will help me to get working on my game.
If you have some other tips feel free to share them.
Thanks in advance and sorry for my bad english ! (i'm from Romania)