Blog

  • Backbone.js for Flash and Flex Developers

    Introduction

    The JavaScript web development community has a significant amount of application development frameworks, specifically around creating scalable applications using MVC/MVP/MVVM/MVPM/MVPV/MVSC, etc. Flash & Flex have the same, although not as many, nor as many library dependencies.

    Backbone in particular has some longevity amongst the many frameworks available and has been used in some high profile applications (notably Pivotal Tracker). Since I’ve recently been fixing a web application project with a varied history, I’m diving head first into Backbone, and taking a break from diving into Angular.

    In this article, I’ll go over what Backbone is, how its features compare to frameworks Flash & Flex Developers are used to, and some implementation details that will help you compare how JavaScript MVC apps compare to Flash and Flex ones.

    (more…)

  • Punisher Fan Film

    Thomas Jane, the actor who played the original Punisher in 2004, made a 10 minute fan film as tribute. Kotaku has more details. It’s violent. Bloody. And has Ron Perlman in it, too.

    (more…)

  • Finite State Machines in Game Development

    Finite State Machines are series of design patterns often used in Game Development. In this article I’ll define what they are & how they work, go over 3 example implementations I have implemented in Corona SDK, and describe some of the pain points I’ve encountered using them.

    I’ve ported Cassio Souza’s ActionScript 3 State Machine to a Lua State Machine, and recently a Dart version, and included examples. This article has a companion video embedded below.

     

    (more…)

  • Unit Testing in Corona SDK Using Lunatest

    In this article I ‘ll give you an overview of why you’d want to unit test your Lua code in Corona SDK, what features Lunatest has, a walk you through some real-world unit tests and suites I’ve written. I’ve forked Lunatest on Github to make it work with Corona SDK. This blog post has a companion video embedded below.

     

    (more…)