I am currently looking into making a website that hosts various online games and would like to support as many formats as possible no matter how obscure. I was wondering if anybody could inform me on what these different formats(Flash, JavaScript, etc.) may be and possibly even provide me with some insight on how to embed them.
|
closed as not constructive by Yannbane, Josh Petrie, Noctrine♦ Jan 21 at 16:54
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or specific expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, see the FAQ for guidance.
|
By far the majority of browser-based games are done in Flash. However the newer and growing in importance game format is HTML5 (ie. games programmed in JavaScript that use the new Canvas element). I've also seen many games that are pretty much just static images and web forms for the UI and the server simply constructs different static HTML pages in response to the player clicking on the buttons. Up until recently Unity used to be another format for browser games. However the latest version of Unity actually deploys Flash content, making Unity games a special case of Flash games. The only other format I can think of that has any impact whatsoever in browser games in Java, because that's what Puzzle Pirates used (and even that I'm not 100% sure about). That is a single game that came out years ago, hardly worth worrying about. |
|||||||||||||||||||||
|
|
There are many file formats that you can put online, like other than swf, there is java (which requires an application for webpage integration) and there are files that probably aren't official, like scratch and GameMaker. There is also Unity3d(http://unity3d.com/) However, if you'd like to go to the most basic format, I would say that is javascript, other file formats probably require download. But as I said, there are many other game engines for online integration. But then again, Java is insecure, as we already know safari has blocked Java 7. Good luck on your new site! |
|||||||||||||
|
|
Plug-in based: Others:
Plug-in based technologies are easy to embed. Usually, a game will be packaged in a single file that will be served through HTML via a simple That was the easy part, but plug-in based games are only one side the ecosystem. If you really want to support the widest possible spectrum you'll have to consider other things. HTML5-based solutions are hot today, they are standard, and they can prove worthwhile. But they will be much harder to embed, typically requiring some Google Native Client might just be the modern ActiveX but it is used in some very interesting browser-based games in the Chrome Web Store. Last but not least, lots of good games are not very advanced on the client-side, and will do most of the interesting stuff from a PHP/MySQL server (typically). So you might have to consider an offer for server-side hosting (something that is definitely compatible with lots of client-side technologies). |
|||||||||||||
|
|
Edit: don't support Java. The web applets it provides are completely insecure and probably never will be good enough. There's a reason why it practically doesn't exist on the Internet anymore. I also suggest you disable Java (not JavaScript) in your browser too. You're not interested in file formats. There are many types of those, and usually it's just text or some other binary format you shouldn't concern yourself over. You're interested in technology. It's not up to your servers to support HTML5, JavaScript, or Flash. You simply need to send the file over the network, and make sure your website conforms to W3C standards. The client's browser has to support various technologies. Unless, of course, you're talking merely about online games, not necessarily on the WWW. For that, there are various combinations, and that makes this question too ambiguous. |
|||||||||||
|