Stephen C Wright Creative Development

Getting Back Into It

This is a bit of a story…

A little bit of history

Back in 2010 I graduated university with a first-class degree in “Computer Games Programming”. In the previous 4 years I had gone from knowing precisely 0 about actually developing software, to being fairly fluent in C++, C#, and Java. I had dabbled in DirectX, OpenGL and a plethora of other 3rd party graphical APIs, and had developed maths libraries based on my substantial knowledge of vector and matrix maths.

I’d like to say that that I left university feeling pretty good about my prospects in the games industry. I’d like to say that I felt like my 4 years of study had resulted in a developer who could put his mind to any problem and solve it, given the right set of tools and time. But I can’t say that. I left university feeling worse about my job prospects than when I had entered in 2006. My final year nearly destroyed me, a situation caused mostly by a pretty disasterous dissertation, where I attempted to write a rigid-body physics engine based on real mathematical formula. My formulae were actually fine, but a few weeks before the end of the project I realised that I had coded myself into a black hole of epic proportions, and my engine wouldn’t be able to cope with more than a couple of rigid-body collisions at the same time.

I remember the exact moment I realised my mistake; I remember the blood draining from my face like I had discovered some horrifying secret or received some terrible news. I remember frantically changing the code and versioning and re-versioning my code so in a vain attempt to correct the problem, but eventually I came to the realisation that my project was lost.

I don’t really have an recollection of the final few weeks of my course. I wrote up as much as I could and documented a large amount of the theory I had intended to include in the engine, and I think that alone was responsible for my overall grade (although I had done pretty well throughout the rest of the course which obviously contributed). My then-girlfriend (now wife!) did her best to console me, and with the greatest credit to her I do think she kept me going through that period from a mental point of view, but overall my confidence in my own ability was completely gone, and I felt like no self-respecting development organisation would take me on.

Luckily, I had previously spent a year working at IBM, which, although not a games development organisation, gave me the way in to a career. For the last 6 years I have worked for the Storage development organisation there, slowly making my way back into development, through test and team leadership.


On the 1st August 2012, A company called Oculus VR started a Kickstarter campaign for a device known as the “Rift”. The kickstarter raised $2.4M and allowed Palmer Luckey’s team to develop one of the most ground-breaking peripheral devices of this generation. In 2014 Facebook bought Oculus VR for $2B. Through successive iterations of the technology, another player entered the field; that of HTC and Valve through the HTC Vive. Cut to 2016, and having tried both the Rift and the Vive, I was hooked. The spark that had left me was re-ignited, and I wanted to do nothing else but develop games for these incredible pieces of technology. Unfortunately, I’ve pretty much forgotten everything that I knew about developing games, so i’m re-teaching myself everything from the ground up.

The next few blog posts will likely be about my baby-steps back into the universe of games development, and boy am I excited about it!

Workflow on Windows

I’ll admit, most of my development is done on OSX. My primary “work”station at home is my early 2015 15” rMBP, and i’ve got a pretty optimized workflow on there for web development. However, for application development and games development my new desktop is my powerhouse…and it is a powerhouse!

Node, Ruby and Git

That being the case, I don’t feel like Windows has the right command-line integration to truely be as optimised for the kind of gem and npm work that comes with web development. So the first thing that we’re going to want to do is get Windows playing happily with those two.

Node & NPM

First off, you want to install node and npm. To do that, head over to and download whichever version of Node that you want (either the LTS version or the Current). If you’re confused by which one you will need, this link has the details for the release plan. The Node installer comes with NPM now (it didn’t used to), so once you run the installer, you should be all set!.

To validate node, open Command Prompt or Windows Powershell and run:

node -v

You should get a response that looks something like:


To check NPM, it’s the same thing:

PS C:\Users\Stephen> npm -v

OK Cool! So that’s Node/NPM installed!

Ruby & GEM

The next thing you’re going to want to do is install Ruby. This is slightly more tricky than Node, but not by much.

First, grab the Ruby Installer. You’re going to want the Ruby Installer for Windows (I chose the 2.2.4 x64 variant), and you’re also going to want the DevKit-mingw64-64-4.7.2-20130224-1432-sfx.exe (The Ruby Development Kit, you’ll see why in a sec..)

So go ahead and install Ruby. It’ll install it somewhere like C:\Ruby2.2.4, which is fine. Check that it’s installed by issuing ruby -v, which should output something like:

ruby 2.2.4p230 (2015-12-16 revision 53155) [x64-mingw32]

Once that’s done, you’re going to want to install the Ruby Development Kit that you also downloaded. This one is slightly more tricky.

  • Firstly, run the .exe that you downloaded and have it extract somewhere that it’s going to live (I extracted mine to C:\RubyDevKit).
  • When it’s finished extracting, you need to cd into that directory and run ruby dk.rb init, which generates a config file containing the path to your Ruby installation.
  • Once you’ve validated the config.yml file that it creates (you can use ruby dk.rb review for that), run ruby dk.rb install to complete the installation.
  • Finally, to validate that you’ve installed GEM correctly, you can do something like:

    gem install json --platform=ruby

  • and then

    ruby -rubygems -e "require 'json'; puts JSON.load('[42]').inspect"

Which will confirm that both GEM and Ruby are working.

So now you also have Ruby installed on the command-line. Good Job!


The final piece of this puzzle (from a toolchain point of view), is Git. On Linux and OSX this is really straightforward (either sudo apt-get install git, or install xcode tools), but on Windows it’s a separate application that hooks (optionally) into cmd.

Head over to the git website and download the git tools for Windows. Once downloaded, you need to start the installation, but change a couple of the install options along the way.

  • Make sure that the “Use git on Windows Command Prompt” option is selected, otherwise you will only be able to use git tools in git-bash (custom bash instance)
  • Make sure that you use “pull files as-is, push as Unix line-endings” if you are doing cross-platform development
  • Make sure that you allow GIT to use the command prompt options

Once that’s installed, you can validate it by doing:

PS C:\Users\Stephen> git --version
git version


With these three tools, you should be able to happily develop feature-rich full-stack web applications using either Ruby-on-rails, or Javascript, and use the power of git to control your source code versioning.

Getting Started with GitHub Pages

Until last week I had 4 sites hosted on a Linode VPS. Personally, I have never had any issues with Linode, and I would actually recommend them as a VPS provider, but there have been recent issues, and although I found that in general they dealt with this problem pretty promptly, the whole thing has made me rethink how I host stuff.

Out with the old…

Having 4 sites is sort of unnecessary for where I am as a developer right now. I was previously hosting:

So I decided to shut down the wedding website, get my free-loading sister to move her Wordpress-based portfolio off my VPS(!), and move both my personal blog and the landing page for Trailio over to GitHub Pages. My “organizational” page is hosting my blog (which would be pointed at, and the project page for Trailio sits as a subdomain of that by default.

In with the new!

I didn’t really care about any of the content from my old personal blog, but I have it as a backup from my VPS should I choose to host it here again some time in the future. (For reference, I was previously using a ghost powered blog, which was pretty cool!)

GitHub pages has good integation with the Jekyll “hacker” blogging site generator. What it actually does is compile a bunch of markdown and layout pages, and serve that out as a static site. I don’t really blog enough to need a powerful CMS, so this suits me, and also allows me to write posts in Sublime Text!

Getting Jekyll up and running was a fairly simple task. I chose Lanyon as my Jekyll theme, as it’s quite similar to my old theme Uno for Ghost. You basically create a new repository called, clone the lanyon repo into that repository, and commit it, and GitHub does the rest!

The slightly tricky bit was mapping my custom URL to my organizational page. My domains are currently with 1and1. I’m not linking them because frankly they’re complete shit and i’m looking to move each of my domains over to Namecheap as soon as each come up for renewal. At any rate, in order to map your domain to GitHub pages, this is what you need to do:

  • Remove any existing DNS settings from the domain (mine were currently set to Linode’s DNS)
  • If your domain supports ALIAS records, fantastic! Map your alias record to your URL and you’re done! ———- Otherwise… ———–
  • Create a new subdomain for www (stupid, I know, but 1and1 don’t support ALIAS records…)
  • For the APEX (@) domain, you need to map the A record for it to one of the two GitHub IPs ( in this case)
  • For the www subdomain, map the A record for it to the other GitHub IP ( in this case)
  • In your pages repository, create a new file called CNAME, and put a single line in there for your URL (in this case,
  • Once you’ve done all that, wait for various DNS caches to flush, and you should be up and running!

To double check, you can use the following command: dig +nostats +nocomments +nocmd

It should look something like this:

; <<>> DiG 9.9.5-3ubuntu0.7-Ubuntu <<>> +nocmd +nostats +nocomments
;; global options: +cmd
;      IN  A   3600    IN  A

For a project page, the steps are exactly the same. The important piece of work in this is the creation of the CNAME file. (Don’t ask me how it maps, I have no idea!)

Speaking out

In order to post, all you need to do is create a new file in the _posts directory called, and you will be able to write markdown to your heart’s content! Then commit the file, and the Jekyll engine running on GH will auto-magically convert everything to static pages and host it for you.

Job Done!