Dart

Introduce raven_dart, a Dart client for Sentry

Since I’ve been experimenting with Sentry and hacking around in Dart again lately, so what better way is there to combine these two activities than to write a Dart client for Sentry? That said, there is already a Javascript client library for Sentry, which via the dart:js library you can probably save yourself some code …

Introduce raven_dart, a Dart client for Sentry Read More »

Dart – Emulating enums using Constant Constructor

Whilst Dart doesn’t have support for enum types but it turns out you can do a pretty good job of emulating it using Dart’s constant constructors (which allows you to create compile-time constants with your class, which in .Net you’re restricted to numbers, booleans, strings and null). Using the technique from this SO answer you …

Dart – Emulating enums using Constant Constructor Read More »

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 »

stream_ext – version 0.3.0 is out

I have just published version 0.3.0 of stream_ext, my attempt to port the Rx APIs to Dart. In this version I have added a number of additional methods to the existing set of: average buffer com­bineLat­est concat delay max merge min repeat sample scan startWith sum throt­tle win­dow zip   amb StreamExt.amb has the following …

stream_ext – version 0.3.0 is out Read More »

stream_ext – version 0.2.0 is out

Lately I’ve been making steady progress in porting over Rx APIs over to Dart with stream_ext, and with the release of version 0.2.0 a few more Rx methods have been added to the existing set of buffer, combineLatest, delay, max, merge, min, scan, sum, throttle, window and zip.   average StreamExt.average has the following signature: …

stream_ext – version 0.2.0 is out 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 »

London GameCraft 2013 – Agents of P.R.I.S.M

After an 11-hour marathon session at the London GameCraft event yesterday, I am very proud to say that my team’s entry – Agents of P.R.I.S.M was awarded with the MOST INTERESTING INTERPRETATION OF THE THEME award for the theme of the day – Impact of P.R.I.S.M. It was a great day out for the guys …

London GameCraft 2013 – Agents of P.R.I.S.M 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