iDevGames Forums
2 players on wifi - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: iPhone, iPad & iPod Game Development (/forum-11.html)
+--- Thread: 2 players on wifi (/thread-1985.html)



2 players on wifi - ichocobo - Dec 28, 2008 12:37 PM

hi, i´m trying to make a two player game that connect each other via wifi. currently i´m using the witap code but i can´t sync the games perfectly, there is a quite ramdom lag i can´t get rid of. anyone can help me?


2 players on wifi - riruilo - Dec 29, 2008 01:44 AM

ichocobo Wrote:hi, i´m trying to make a two player game that connect each other via wifi. currently i´m using the witap code but i can´t sync the games perfectly, there is a quite ramdom lag i can´t get rid of. anyone can help me?

I'm having the same problem.
I will try Enet library
http://enet.bespin.org/


2 players on wifi - smallstepforman - Jan 1, 2009 04:18 PM

What time interval do you have between game updates. If it's more than 100ms, the power saving features will kick in. Set your update interval to 90ms, and you'll be fine.


2 players on wifi - drego1983 - Apr 20, 2009 06:01 AM

hey, i have the same problem. What did you mean with game update intervall? Can you explain it. Where can I adjust this?

thx