Using flash to query filenames

  • fotbon
  • Novice
  • Novice
  • No Avatar
  • Joined: Mar 16, 2004
  • Posts: 20
  • Status: Offline

Post May 6th, 2004, 2:43 am

well here's my problem:

I am making a flash game that supports multiple users. As of now, it lets you log in and move your character around, and it will display the location of every other character logged in. The problem comes in that I have to make the swf check the location of the other users every frame, which taxes the server considerably and bogs the browser.

I figured a way to do it is to just make a filename somewhere with each players name and x,y location embedded into the filename itself, then have flash query the filename, thus considerably saving bandwidth and such.

If anyone can think of a way to do this or a better way to get the information (even if a php file must be run, as long as its not once every frame), please let me know. [flash communication server is ruled out....too expensive =)]

Thanks,
wyatt
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post May 6th, 2004, 2:43 am

  • Sulfin
  • Graduate
  • Graduate
  • User avatar
  • Joined: Jun 12, 2004
  • Posts: 129
  • Loc: canada
  • Status: Offline

Post June 12th, 2004, 6:56 pm

Hey, I read about your problem and theres nothing i can do about it because i have no idea how to make a multiplayer game myself. I'd like to know how, so mine can be also multiplayer.

And please make a link to your site so i can check out your game.
  • stinger
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Jan 22, 2004
  • Posts: 157
  • Loc: San Jose, CA
  • Status: Offline

Post June 13th, 2004, 1:53 am

I would use a xml socket. This will allow you to create your own game server to handle all logins and all users currently on your site. Updating the coords of the players will be a breeze. you can check out actionscript.org for some tutorials. Good luck!

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 27 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.