Examples for the Citrus Engine, AS3 Game Engine
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 36 commits ahead, 1 commit behind DaVikingCode:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Get the full engine here

The Citrus Engine is a professional-grade, scalable Flash game engine built for industry-quality games. It is built upon modern Flash programming practices, allowing you to focus on making your game awesome! It comes built-in with a "platformer" starter-kit, which you can use to easily make awesome 2D or 3D sidescrolling games.

The Citrus Engine is not only made for platformer games, but for all type of games. It offers a nice way to separate logic/physics from art.

It offers many options, you may use :

  • select between : the classic flash display list, blitting, Starling and Away3D.
  • select between : Box2D, Nape, AwayPhysics and a Simple math based collision detection.
  • a simple way to manage object creation, and for advanced developers : an entity/component system and object pooling.
  • a LevelManager and a LoadManager which may use Flash Pro as a level editor.
  • a Console, Sound management class, Keyboard and input handler...

Games References

Escape From Nerd Factory Kinessia MarcoPoloWeltrennen Tibi

Project Setup

  • bin : pictures, animations, levels, ... loaded at runtime.
  • embed : embedded assets (e.g. fonts, pictures, texture atlas, ...).
  • fla : two levels used in the box2dstarling demo, and two animate characters in two versions one for SpriteArt and one for StarlingArt thanks to the DynamicTextureAtlas class (loaded at runtime).
  • src : different demos ready to use! You just need to copy & paste the Main from the package you want into the src/Main.as and the demo will run. Be careful with package & import.