Replacing Flash with OpenFL
As a developer you have to keep tabs on new emerging technologies and technologies phasing out. Unforunately, flash is losing. There are a couple reasons for this.
As mobile gaming was rising Flash got blown out of the water. It’s too laggly and bloated. The only way to create a great mobile game with a fluid experience is to create the game in the phones native language. So as time passed and it eventually became clear flash was not the future and Adobe abandoned ActionScript Next project.
Rise of HTML5
Since 2009 support for HTML5 has only been growing. With native support for drawing in 2D and 3D, websockets, sound effects, client storage it’s only a matter years before flash becomes obsolete.
Phaser is great, it has everything I look for in an open-source project, especially one which an entire project depends on. Large active community, well known project owner, great docs. There is just one problem, as a game developer today you can no longer limit your game to just the web.
Gaming is bigger than the web
Mobile gaming is huge if you want your game to get popular your best bet is to get on mobile and the web. Lets be honest though HTML5 on mobile sucks, its laggy and is cursed by too many restrictions. Which means for now native mobile games are the only option but no one wants to rewrite a game three times for the web, android and iphone.
OpenFL allows you use to write your game in the Haxe language using the Flash API everyone is familiar with and export your game to desktop, web and mobile phones. It currently supports a HTML5 export but its a bit rough around the edges so I recommend using the Flash export. Writing your next game in OpenFL is a very safe bet. Bugs will be worked out and HTML5 export will only get better. It also supports native desktop exports to Linux, Windows and Mac.
Although OpenFL looks great I haven’t dabbled in it enough to confirm that. So over the course of the next few weeks I will write up some tutorials on how to create a role-playing game start to finish. This will let me validate OpenFL and hopefully use it in my next game.