Have fun and help me to get to 1,000,000 downloads!

Introducing the new Citrus engine

Emanuele Feronato Actionscript 3, Flash, Game design

Almost a couple of years ago I showed you how to create a Flash platformer using Citrus Engine, so if you are an old time reader, you should already know Citrus Engine

Now a completely new version of the engine has been released, with these breath-taking features:

* GPU accelerated via Stage3D technology which supports your choice of 2D or 3D using either the Starling Framework or Away3D.

* Open-source ActionScript 3 based community project that you can extend or alter in any way to fit your needs.

* Box2D, NAPE and AwayPhysics are available out of the box. With Citrus you have access to three supported physics engines enabling you to create 2D or 3D experiences. You can even build a 3D game that uses 2D physics, like a side-scroller platformer.

Although Citrus still features a lot of platform game oriented classes, with automatic generation of platforms, heros, coins, crates, cannons and so on, I will show you how to create a basic level of the famous Totem Destroyer game, which has nothing to do with platform games.

First, the main class:

where starlingState is:

Look how easy is to create a primitive Box2D body, but it’s not over… next time I am showing you how to embed your own graphics and extend Box2DPhysicsObject class to have our custom, destroyable bricks.

Meanwhile, the result:

I have to say I like this engine a lot, probably I’ll create some kind of game with it.

From null to full HTML5 cross platform game

I will take you by hand from the bare bones of JavaScript programming through the creation of a full cross platform HTML5 game, with detailed explainations and source code.

If you don't know where to start, then From null to full HTML5 cross platform game is the book for you.

Comments 5

  1. Pingback: Introducing the new Citrus engine – Emanuele Feronato « eaflash

  2. Fakhir


    I ran some comparison tests: Cirtus vs Cocos2d-x. I found that that citrus is horrendously slow and probably useless for real gamedev and deployment on “mobile devices”. For prototypes on PC it maybe ok.

    Tests done on iPod touch 4:

    No. of Sprites: Cirtus FPS
    10 ——————— 53
    100 ——————– 29
    150 ——————– 20
    250 ——————– 12
    300 ——————– 10
    400 ——————– 7
    700 ——————– 4

    For further derails and raw numbers please see:


Leave a Reply

Your email address will not be published. Required fields are marked *