JavaScript

SuperPowers Tutorial Series

  The following is a collection of tutorials showing you how to use the Superpowers HTML5 game engine.  Superpowers is an open source collobaroative game engine with Typescript and experimental Lua support.   Part One – Getting Started In this tutorial we setup the Superpowers engine, launch a server and create our first project.   […]

SuperPowers Tutorial Series Read More

TypeScript debugging in Visual Studio with IE, Chrome and Firefox using Source Maps

  So I’ve been looking at creating games using Phaser with TypeScript and I’ve run into my first few annoyances.  The first of which is certainly debugging.  At first glance debugging looks wonderful then I realized my mistake.  In the previous post I said I had to add the generated JS file to the project […]

TypeScript debugging in Visual Studio with IE, Chrome and Firefox using Source Maps Read More

Game Development Math Recipes

  One of the most daunting aspects of game development for many people is the mathematics involved.  The following are a collection of recipes that go into detail on how to perform a number of common math related tasks.  Each example ships with at least one working demonstration application (written in JavaScript using EaselJS), with […]

Game Development Math Recipes Read More

GameDev math recipes: Rotating one point around another point

It is quite common to want to rotate one point relative to another the location of another point.  This math recipe looks at exactly this process.   Just the math angle = (angle ) * (Math.PI/180); // Convert to radians var rotatedX = Math.cos(angle) * (point.x – center.x) – Math.sin(angle) * (point.y-center.y) + center.x; var […]

GameDev math recipes: Rotating one point around another point Read More

Links of interest for HTML5 game developers

  HTML5 Game Engines   ImpactJS Cost: 99$ www.impactjs.com   Melonjs Cost: Free http://www.melonjs.org   Akihabara Cost: Free http://www.kesiev.com/akihabara/   Construct 2 Cost: Free / 79$ / 365$ depending on options http://www.scirra.com/construct2   Cocos2D-HTML Cost: Free http://www.cocos2d-x.org/projects/cocos2d-x/wiki/Html5   Cocos2D Javascript Cost: Free https://github.com/RyanWilliams/cocos2d-javascript   Crafty Cost: Free http://www.craftyjs.com   GameQuery Cost: Free http://www.gamequeryjs.com   IsoGenic […]

Links of interest for HTML5 game developers Read More

Scroll to Top