Very few Flash games are networked these days even though the vast majority of console and PC games are. What's going on here? Let me enlighten you.
To get any sort of decent network functionality working in Flash (I'm talking Sockets here, not that URLLoader crap) there are some pretty ridiculous hurdles to overcome:
- Most Flash programmers are not good programmers. It doesn't help that Flash CS3 is too easy to use. By that I mean that designers are now programming games, not programmers. The result of this is that many shittily programmed games come out thus diluting the very few good Flash games. It's my opinion that if you can't make a good game, don't distribute your game, keep it to yourself and have fun with your friends.
- Adobe's network security measures are RIDICULOUS. In order to make a connection to a server, you must first make a connection to the server and ask if it's ok to make a connection via this socket policy bullshit. WTF is that about?! To make things worse, the socket policy has to be served from port 843 (which by the way Adobe hasn't registered with the IANA). As if that's not enough, the server must also have a 'crossdomain.xml' file on the root of the server that also allows you to access its content. Yea, I'll just go ask my webhosting company for that....
- Speaking of hosting, developers of networked Flash apps are faced with two options: get your own private server or find an excessively overpriced Flash hosting service. Of course if you get your own private server you then have to set it all up yourself, properly secure it, and install a daemon to serve back Flash socket policies on port 843. Fun times.
- Flash games inevitably spread all over the internet and thus the networked ones end up using a lot of bandwidth from the hundreds of thousands of users or more playing them. I'm planning on Beat Me Up Too using around 100GB/month in bandwidth.
Very few developers make it past these hurdles. It should not be this difficult to deploy a multiplayer game! Hopefully in the somewhat near future, things will somehow become easier for this thus enabling the social Flash game revolution to kick into full swing.
|
using socket server, you can forget about normal hosting sollutions.
did you try using flash media server hosting ? it can be viable solution for your issues, you can built interactive games much easier with fms than with sockets, it does synchronization by itself and all the kitchen stuff in network games programming
<a href="http://www.nonoba.com/developers/multiplayerapi/overview" target="_blank">http://www.nonoba.com/developers/multiplayerapi/overview</a>
There are annoying limitations that come from the security requirements, for sure - it's quite a baroque system - but once the connection is established and you have settled on a transmission format things become a lot smoother.
I stopped reading there. Games in flash are meant to be fun casual ones. If everyone had to wait for Perone's blessing on if their game was a "good" one (WTF does that mean) there wouldn't be many out there.
I do think that independent developers are responsible for a lot of the <a href="http://orange.half-life2.com/portal.html" taret="_blank">innovation in the game industry</a> but there are also the developers that essentially copy existing games or pump out half assed game after half assed game expecting to make a quick buck. Naturally we all start somewhere; when I began making games 15 years ago, they all pretty much sucked but hell, they were <b>my</b> games and I was proud of em. Given today's insta-depolyment technology however, I don't believe I would have released them to the masses.
check it out!
we did'it for the one show festival of this year
Saludos!!