Archive for the ‘game programming’ Category

Quick Tip: How to Make a Game Loop in JavaScript

The "game loop" is a name given to a technique used to render animations and games with changing state over time. At its heart is a function that runs as many times as possible, taking user input, updating the state for the elapsed time, and then draw...

Introduction to Stage.js

Posted on: No Comments
Stage.js is a lightweight and open-source JavaScript library that you can use for cross-platform 2D HTML5 game development. This library uses DOM-like model to manipulate the canvas and manages the rendering cycles of your application all by itself. In...

Practical CoffeeScript: Making a Tic-Tac-Toe Game

CoffeeScript is a tiny little language that compiles to JavaScript. There is no interpretation at runtime since you write CoffeeScript, compile it to JavaScript and use the resulting JavaScript files for your app. You can use any JavaScript library (e...