Search found 11 matches

by Sendoh
Fri Sep 06, 2013 4:29 pm
Forum: Game Design
Topic: Pokemon style battle system
Replies: -1
Views: 3900

Re: Pokemon style battle system

Exactly, the first player that calls battle_engine.php will cause the upload of the battle info and results, and the second player will just read it from the database.

Thank you for helping me out :)
by Sendoh
Fri Sep 06, 2013 3:58 pm
Forum: Game Design
Topic: Pokemon style battle system
Replies: -1
Views: 3900

Re: Pokemon style battle system

Well thats kind of how i've set it up, it's pretty good, but there still the problem i mentioned which actually i think a solution. Battle_engine.php is run for both players so it's called twice, and if battle_engine.php calculates damage for both pokemons and its done twice, that means the pokemons...
by Sendoh
Fri Sep 06, 2013 3:12 pm
Forum: Game Design
Topic: Pokemon style battle system
Replies: -1
Views: 3900

Re: Pokemon style battle system

I'm afraid my plan don't cover schedule execution, what options do i have?
by Sendoh
Fri Sep 06, 2013 2:49 pm
Forum: Game Design
Topic: Pokemon style battle system
Replies: -1
Views: 3900

Re: Pokemon style battle system

I'll consult my web service to see if it's available, thank you.
by Sendoh
Thu Sep 05, 2013 6:34 pm
Forum: Game Design
Topic: Pokemon style battle system
Replies: -1
Views: 3900

Re: Pokemon style battle system

Here's a problem. As battle_engine.php is called twice(one for each client) on server-side the pokemons attack twice. How can i prevent this from happening?
by Sendoh
Wed Sep 04, 2013 11:42 am
Forum: Game Design
Topic: Pokemon style battle system
Replies: -1
Views: 3900

Re: Pokemon style battle system

Thank you for your answers, i'll give a try today and tell you how it goes
by Sendoh
Tue Sep 03, 2013 7:08 pm
Forum: Game Design
Topic: Pokemon style battle system
Replies: -1
Views: 3900

Re: Pokemon style battle system

Nice approach, and it could be exactly the same engine for PvM except the opponent action would be random and uploaded when.. the player gives action?
by Sendoh
Tue Sep 03, 2013 5:46 pm
Forum: Game Design
Topic: Pokemon style battle system
Replies: -1
Views: 3900

Re: Pokemon style battle system

Currently it first checks the actions so if both players choose to attack then the faster(highest speed stat) pokemon goes first and when if one choose to change the pokemon or used an item it'll always goes first despite the speed. Thank you very much for answering, here is another question for yo...
by Sendoh
Tue Sep 03, 2013 5:31 pm
Forum: Game Design
Topic: Pokemon style battle system
Replies: -1
Views: 3900

Re: Pokemon style battle system

Currently it first checks the actions so if both players choose to attack then the faster(highest speed stat) pokemon goes first and when if one choose to change the pokemon or used an item it'll always goes first despite the speed. Thank you very much for answering, here is another question for you...
by Sendoh
Tue Sep 03, 2013 4:59 pm
Forum: Game Design
Topic: Pokemon style battle system
Replies: -1
Views: 3900

Re: Pokemon style battle system

Yep, thats actually what i think is the best. Do all the battle server-side and then show(animate the attacks, get hit and be wounded) the results client-side. What might be a problem is deciding who goes first, i guess that would be calculated in battle_engine.php and then just return to the client...

Go to advanced search