Be a Supporter!

Multiplayer/Onlin e programming

  • 271 Views
  • 6 Replies
New Topic Respond to this Topic
Craigiedon
Craigiedon
  • Member since: Mar. 20, 2005
  • Offline.
Forum Stats
Member
Level 08
Blank Slate
Multiplayer/Onlin e programming 2013-01-16 08:57:03 Reply

I am interested on programming games in flash which have some element of online/multiplayer functionality. I am fairly comfortable with actionscript 3 and have used the flixel API for a number of small projects, but haven't the slightest idea about techniques for programming in an online environment.

I am looking for links to libraries that support this kind of functionality, books on the concepts involved in online games, tutorials, papers or anything else which would start me on the right track. Does anyone know of any?

egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Supporter
Level 05
Game Developer
Response to Multiplayer/Onlin e programming 2013-01-16 10:20:27 Reply

At 1/16/13 08:57 AM, Craigiedon wrote: I am looking for links to libraries that support this kind of functionality, books on the concepts involved in online games, tutorials, papers or anything else which would start me on the right track. Does anyone know of any?

Network and File Manager (AIR)
Network and File Manager (Flash Player)

examples are in Main.as, documentation is in the appropriately-named folder.


Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P

BBS Signature
egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Supporter
Level 05
Game Developer
Response to Multiplayer/Onlin e programming 2013-01-16 10:22:46 Reply

At 1/16/13 10:20 AM, egg82 wrote: examples are in Main.as

scratch that. Examples were in Main.as until I removed them for a reason now unbeknownst to me. It's all pretty self-explanatory, at any rate.


Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P

BBS Signature
4urentertainment
4urentertainment
  • Member since: Aug. 1, 2008
  • Offline.
Forum Stats
Moderator
Level 13
Game Developer
Response to Multiplayer/Onlin e programming 2013-01-16 14:49:45 Reply

There's also player.io, an excellent multiplayer library.

egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Supporter
Level 05
Game Developer
Response to Multiplayer/Onlin e programming 2013-01-16 15:27:34 Reply

At 1/16/13 02:49 PM, 4urentertainment wrote: There's also player.io, an excellent multiplayer library.

Yeah, I've been looking into that. I'm actually fairly certain that my library is faster, and judging from what I've seen, much easier to use. I'm still checking it all out, but it seems to really have only trumped mine in features.

Again, still checking things out, so I could be way off.


Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P

BBS Signature
4urentertainment
4urentertainment
  • Member since: Aug. 1, 2008
  • Offline.
Forum Stats
Moderator
Level 13
Game Developer
Response to Multiplayer/Onlin e programming 2013-01-16 15:55:24 Reply

At 1/16/13 03:27 PM, egg82 wrote:
At 1/16/13 02:49 PM, 4urentertainment wrote: There's also player.io, an excellent multiplayer library.
Yeah, I've been looking into that. I'm actually fairly certain that my library is faster, and judging from what I've seen, much easier to use. I'm still checking it all out, but it seems to really have only trumped mine in features.

Again, still checking things out, so I could be way off.

I haven't checked out your library, but I'm curious, how do you handle the outside-of-flash server side stuff?

Like in player.io, you can write the server in C#, and it runs on their dedicated server (and you pay more the more bandwidth you use).

egg82
egg82
  • Member since: Jun. 24, 2006
  • Offline.
Forum Stats
Supporter
Level 05
Game Developer
Response to Multiplayer/Onlin e programming 2013-01-16 16:24:05 Reply

At 1/16/13 03:55 PM, 4urentertainment wrote: I haven't checked out your library, but I'm curious, how do you handle the outside-of-flash server side stuff?

Like in player.io, you can write the server in C#, and it runs on their dedicated server (and you pay more the more bandwidth you use).

To be honest, I assume you already know how to use things like Alchemy and allow you to use those as you please. The Client class connects to a host and a port. I offer a Server class, in case you want it, but really you have total freedom in your choice of server (so long as it supports sockets)

What you use your server for and how you code it is your business, and I don't try to make it mine. There is no in-between the client and server with my library, so it removes the automated security offered by player.io, but also allows for greater customization. Plus, this way it's free.


Programming stuffs (tutorials and extras)
PM me (instead of MintPaw) if you're confuzzled.
thank Skaren for the sig :P

BBS Signature