11 reputation
bio website
location
age
visits member for 2 years
seen Oct 18 '12 at 4:42

Oct
18
comment PHP Battle System for RPG game
My code is largely irrelevant. I've come to the conclusion the logic in it is flawed for the outlined reasons, and I was asking how it could be implemented alternatively. Whether broadly or specifically; this is a game design question. Like I said I don't know what would make this a valid question for gamedev. I will continue to search on my own for ideas, I only came here to see if anyone else had some ideas, if not, so be it.
Oct
18
comment PHP Battle System for RPG game
Ok sorry I should have been more specific.. the first problem is, there is a cap on the speed in the thousands which is arbitrary. I can fix that but then because its being timed in milliseconds if speeds go up very high the loop will go through MANY iterations, and the script could just time out. It's definitely not the best solution.
Oct
18
comment PHP Battle System for RPG game
The question is about the design of the system. Right now it's basically counting the milliseconds before one can attack, it is very inefficient and I was wondering if there was a better way to do this... I'm not exactly sure how else I can ask this.
Oct
18
asked PHP Battle System for RPG game