The Daily Click ::. Forums ::. Klik Coding Help ::. mogame keep connection alive over a frame change
 

Post Reply  Post Oekaki 
 

Posted By Message

vince



Registered
  13/08/2004
Points
  6
13th August, 2004 at 17:47:16 -

hello. i am using moogame for the 1st time and i have a pregame screen where the user chooses to host a game or connect to another persons server before they play. it works fine but when i click proceed to go to the playing field it always drops the connection. anywya to keep the connectionalive throughout the game "globally"??
thanks a lot
Vince

 
n/a

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
13th August, 2004 at 18:13:49 -

Just add another moogame object on the next frame and:

start of frame: connect to the same server as before.

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

vince



Registered
  13/08/2004
Points
  6
13th August, 2004 at 19:08:14 -

thanks for the reply
-i thought of that but i was hoping for a solution where the connection could be kept alive. i have it setup so if its connected a popup says connection sucesful and whne the connection drops, i have a popup for that as well. isnt there a way to make moogame a global object instead of just a 1 frame thing..

 
n/a

Mr Icekirby



Registered
  18/12/2003
Points
  846
13th August, 2004 at 19:16:51 -

you can make it global, but the connection must restart on each frame

 
Mr Icekirby says so!
OBEY ME!

Agent_K64



Registered
  17/03/2003
Points
  69
13th August, 2004 at 23:20:54 -

3EE is planning to allow for global connections in the next update to MooGame (and the MooAPI as well... I think).

 
Evil omg~!

Mr Icekirby



Registered
  18/12/2003
Points
  846
14th August, 2004 at 09:28:34 -

oh thats cool

 
Mr Icekirby says so!
OBEY ME!
   

Post Reply



 



Advertisement

Worth A Click