You don't need frames to view this website. Flash communication server. Flash mx xml socket server.
Home
Main Menu
Home
- - - - - - -
What is Palabre ?
Features
News
FAQ
Forum
DEMO
- - - - - - -
Downloads !
Browse SVN
- - - - - - -
Search
Contact Us
- - - - - - -
Sourceforge Project Page
Python
Links
Palabre on Facebook






Actionscript for Multiplayer games
 
Download Palabre Flash Xml Socket Server DOWNLOAD Download Palabre Flash Xml Socket Server FORUM Download Palabre Flash Xml Socket Server FAQ Download Palabre Flash Xml Socket Server WHAT IS IT
 



Using Palabre ? Coming here for Support ? Please consider making an (even small) donation :)
Palabre Forum  


::post new topic::
Connection gets slower and slower... - 2007/07/12 18:10 Hi! I'm new to Palabre, and I'm making a multiplayer game in flash with it (nothing big, just to learn more), and it works fine!!! EXCEPT, that after the while, the recieving of a connection gets slower and slower, until finally the swf you were using stops responding, and just repeats your last move. Here's the code for moving:

_root[nick].onEnterFrame = function() {
if (Key.isDown(Key.UP)) {
_root[nick]._y -= 5;
px.send('<msg toroom="lobby" back="1">'+_root[nick]._x+':'+_root[nick]._y+'</msg>');
} else if (Key.isDown(Key.DOWN)) {
_root[nick]._y += 5;
px.send('<msg toroom="lobby" back="1">'+_root[nick]._x+':'+_root[nick]._y+'</msg>');
} else if (Key.isDown(Key.LEFT)) {
_root[nick]._x -= 5;
px.send('<msg toroom="lobby" back="1">'+_root[nick]._x+':'+_root[nick]._y+'</msg>');
} else if (Key.isDown(Key.RIGHT)) {
_root[nick]._x += 5;
px.send('<msg toroom="lobby" back="1">'+_root[nick]._x+':'+_root[nick]._y+'</msg>');
}
};

As you can see, I'm using the code from the chat client example. Is there a way to send custom variables, or custom nodes? Thanx!
  reply | quote
Re:Connection gets slower and slower... - 2007/07/13 09:22 Hi

Are you filling a debug variable or a textfield with received text (like the debug textfield in my examples ) ?
Flash becomes really slow when filling up memory with things like this.

About custom nodes please see :
http://palabre.gavroche.net/content/view/32/27/


Have fun !
Célio Conort
Lonesome Palabre developper
  reply | quote
::post new topic::
SORRY, website is currently mostly broken due to software changes on the server.
Hope to fix it soon ...

In the meantime you may still download palabre or use the forum