Crafty Blog - JavaScript Game Engine Development

Development of Crafty

24 notes &

How Crafty will kill Flash

Disclaimer: Sarcasm ahead

Now you know my secret mission. There is little Flash can do that HTML5 can’t (so much so that I can’t even think of one). Therefore it only makes sense to replace Flash entirely by taking the remaining good points and implementing an equivalent in HTML5.

Editor

Flash has an awesome interface. It is very flexible and easy to use.

Flash Interface

Welcome Crafty Builder, an interface to introduce an easier learning curve for people wanting to start developing games but don’t know where to start.

Crafty Interface

Currently the Crafty Builder has a Code view and Preview mode for quick testing but eventually an interface as easy to use as Flash will exist for animations and placing objects on the stage.

Package

Unfortunately HTML5 relies on lots of different assets whereas Flash can be compiled down to a single SWF file.

There is no real way to include everything in one HTML file but it is possible to externally reference it through an IFrame.

Eventually Crafty will have a service to host HTML5 games by uploading a ZIP containing all the needed assets. Hosting games across servers will be a matter of:

<iframe src="http://craftyjs.com/game/my-game"></iframe>

Not perfect but would work (any ideas are welcomed).

Vector

Vector drawing as opposed to bitmaps means it can infinitely scale without losing quality. I don’t know how much of a benefit this is but it can certainly be done.

ActionScript 3

AS3 is a very nice language and has an easy to use API. Implementing a similar API for Crafty would not be too hard and would ease the transition for Flash developers.

If anyone can think of more benefits of Flash, I’d be happy to shoot it down ;)

Filed under html5 flash actionscript game canvas javascript

  1. requientbutterfly reblogged this from gregbabula and added:
    This. Guess I should just avoid learning Flash and skip straight to HTML5?
  2. mrshaun reblogged this from gregbabula
  3. queenofthedorks reblogged this from gregbabula
  4. gregbabula reblogged this from craftyjs
  5. craftyjs posted this