Introduce raven_dart, a Dart client for Sentry

Since I’ve been exper­i­ment­ing with Sen­try and hack­ing around in Dart again late­ly, so what bet­ter way is there to com­bine these two activ­i­ties than to write a Dart client for Sen­try? That said, there is already a Javascript client library for Sen­try, which via the dart:js library you can prob­a­bly save your­self some code …

Intro­duce raven_dart, a Dart client for Sen­tryRead More »

Dart – Emulating enums using Constant Constructor

Whilst Dart doesn’t have sup­port for enum types but it turns out you can do a pret­ty good job of emu­lat­ing it using Dart’s con­stant con­struc­tors (which allows you to cre­ate com­pile-time con­stants with your class, which in .Net you’re restrict­ed to num­bers, booleans, strings and null). Using the tech­nique from this SO answer you …

Dart – Emu­lat­ing enums using Con­stant Con­struc­torRead More »

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

Alge­bra­ic Data Type An alge­bra­ic data type is a basi­cal­ly a com­pos­ite type that is formed by com­bin­ing oth­er types, some­times also referred to as “sums-and-prod­ucts” data struc­tures (don’t wor­ries if this is too abstract for you, exam­ples are com­ing). A sim­ple exam­ple would be a com­pos­ite type that rep­re­sents a bina­ry tree that has: …

Dart – Emu­lat­ing F#’s Dis­crim­i­nat­ed Union (i.e. an alge­bra­ic data type)Read More »

stream_ext – version 0.3.0 is out

I have just pub­lished ver­sion 0.3.0 of stream_ext, my attempt to port the Rx APIs to Dart. In this ver­sion I have added a num­ber of addi­tion­al meth­ods to the exist­ing set of: aver­age buffer com­bineLat­est con­cat delay max merge min repeat sam­ple scan startWith sum throt­tle win­dow zip   amb StreamExt.amb has the fol­low­ing …

stream_ext – ver­sion 0.3.0 is outRead More »

stream_ext – version 0.2.0 is out

Late­ly I’ve been mak­ing steady progress in port­ing over Rx APIs over to Dart with stream_ext, and with the release of ver­sion 0.2.0 a few more Rx meth­ods have been added to the exist­ing set of buffer, com­bineLat­est, delay, max, merge, min, scan, sum, throt­tle, win­dow and zip.   aver­age StreamExt.average has the fol­low­ing sig­na­ture: …

stream_ext – ver­sion 0.2.0 is outRead More »

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

Using StageXL and Dart, I built anoth­er mini-game themed around our MMORPG Here Be Mon­sters this week. The game fol­lows a pack of Taotie mon­sters, which is a type of spir­it mon­ster cre­at­ed when a ghost with immense hunger pos­sess­es a Chi­nese pot. Taotie orig­i­nates from Chi­nese folk­lores and is one of many mon­sters that …

Run Taotie Run – new Here Be Mon­steres mini-game made with Dart and StageXLRead More »

Dart – implementing the Singleton pattern with factory constructors

In Dart there is an inter­est­ing lan­guage fea­ture called ‘Fac­to­ry Con­struc­tors’, which effec­tive­ly allows you to over­ride the default behav­iour when using the new key­word – instead of always cre­at­ing a new instance the fac­to­ry con­struc­tor is mere­ly required to return an instance of the class, the dif­fer­ence is impor­tant. Fac­to­ry con­struc­tors allow you to …

Dart – imple­ment­ing the Sin­gle­ton pat­tern with fac­to­ry con­struc­torsRead More »

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

Hot on the heels of mak­ing my first game with Dart and StageXL at the Lon­don Game­Craft 2013, I decid­ed to strike whilst the iron’s hot and make a mini-game fea­tur­ing char­ac­ters from our MMORPG Here Be Mon­sters.   The result, is a whack-a-mole style game where the antag­o­nist is ‘Meng the Ter­ri­ble’ from the …

Whack A Meng – new Here Be Mon­sters mini-game made with Dart and StageXLRead More »

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

After an 11-hour marathon ses­sion at the Lon­don Game­Craft event yes­ter­day, I am very proud to say that my team’s entry – Agents of P.R.I.S.M was award­ed 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 …

Lon­don Game­Craft 2013 – Agents of P.R.I.S.MRead 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.