Dart

Dart – Emulating F#’s Discriminated Union (i.e. an algebraic data type)

Algebraic Data Type An algebraic data type is a basically a composite type that is formed by combining other types, sometimes also referred to as “sums-and-products” data structures (don’t worries if this is too abstract for you, examples are coming). A simple example would be a composite type that represents a binary tree that has: …

Dart – Emulating F#’s Discriminated Union (i.e. an algebraic data type) Read More »

Run Taotie Run – new Here Be Monsteres mini-game made with Dart and StageXL

Using StageXL and Dart, I built another mini-game themed around our MMORPG Here Be Monsters this week. The game follows a pack of Taotie monsters, which is a type of spirit monster created when a ghost with immense hunger possesses a Chinese pot. Taotie originates from Chinese folklores and is one of many monsters that …

Run Taotie Run – new Here Be Monsteres mini-game made with Dart and StageXL Read More »

Dart – implementing the Singleton pattern with factory constructors

In Dart there is an interesting language feature called ‘Factory Constructors’, which effectively allows you to override the default behaviour when using the new keyword – instead of always creating a new instance the factory constructor is merely required to return an instance of the class, the difference is important. Factory constructors allow you to …

Dart – implementing the Singleton pattern with factory constructors Read More »

Whack A Meng – new Here Be Monsters mini-game made with Dart and StageXL

Hot on the heels of making my first game with Dart and StageXL at the London GameCraft 2013, I decided to strike whilst the iron’s hot and make a mini-game featuring characters from our MMORPG Here Be Monsters.   The result, is a whack-a-mole style game where the antagonist is ‘Meng the Terrible’ from the …

Whack A Meng – new Here Be Monsters mini-game made with Dart and StageXL Read More »

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close