Author Archives: laurence

Launching the Terminal app from Xcode on OS X with System Integrity Protection

If you occasionally use Xcode to create command line tools or applications, chances are that you’ve set up a scheme to launch those applications in the Terminal app from within Xcode, something like this: You then pass your app as … Continue reading

Posted in Application Development | Tagged , , , | Leave a comment

OS X Games from the Ground Up: Building a User Interface with NCurses (1)

You can see an index of all the posts in this series: go to index. If you are starting from this point, you can download the starter files here: introducing_ncurses In the previous post you learned how to link the NCurses and Panel … Continue reading

Posted in C, Games, Programming Tutorials | Tagged , , , , | 2 Comments

OS X Games from the Ground Up (Volume 2): Index

This index explains what you’ll learn in each part of volume 2 of OS X Games from the Ground Up. It also includes download links for the starter files for each part of the project. This makes it easier for … Continue reading

Posted in BASIC, C, Games, Programming Tutorials | Tagged , , , , | 4 Comments

Review of HarvardX MOOC Introduction to Computer Science (CS50x)

CS50x, which is available through the EdX platform, is a self-paced MOOC based on Harvard University’s successful introduction to computer science and programming. The course consists of videos of the lectures given at Harvard, supplementary tutorial videos on specific topics, … Continue reading

Posted in Education, MOOCs | Tagged , , | Leave a comment

OS X Games from the Ground Up: Hexapawn – Introducing the NCurses Library

You can see an index of all the posts in this series: go to index. In the previous post we analysed the original BASIC programme, identified a few things we need to fix and noted several enhancements we could make. Both of … Continue reading

Posted in C, Games, Programming Tutorials | Tagged , , , , | 4 Comments

Review of Berklee College of Music’s Songwriting MOOC

Berklee College of Music‘s Songwriting is the third MOOC in the Modern Musician Specialisation on Coursera. Absolutely the best thing about this course is the instructor, Pat Pattison. In this six week course, he will transform the way you think about … Continue reading

Posted in Education, MOOCs, Music, Production, Theory | Tagged , , , , , , , | Leave a comment

A simple JavaScript singleton pattern

There are a number of different approaches that can be taken to creating singleton patterns in JavaScript – this one is both simple and effective and supports lazy initialisation. The following code shows typical usage of constructor functions:

#1: … Continue reading

Posted in Application Development, JavaScript | Tagged , , , , | Leave a comment

StackHack – A game prototyping project: part 4 – moving to production code

In the previous parts of this series I showed how to develop a concept with a paper prototype, how to transition to the first digital prototype and how to further develop and enhance that prototype. In this part I’ll discuss … Continue reading

Posted in Games, HTML5, Prototyping | Tagged , , , | Leave a comment

StackHack – A game prototyping project: part 3 – developing the digital prototype

In the previous parts of this series I showed how I used paper prototyping to develop a concept for an HTML5 Christmas game called StackHack. I then showed how I transitioned the paper prototype into a digital prototype. In this … Continue reading

Posted in Games, HTML5, Prototyping | Tagged , , , | 1 Comment

StackHack – A game prototyping project: part 2 – digital prototyping

In part one of this series I introduced my prototyping project, a Christmas game called StackHack, and showed how early design ideas were worked out using a paper prototype. In this part I’ll explain the transition from the paper prototype … Continue reading

Posted in Games, HTML5, Prototyping | Tagged , , , | 2 Comments