Game Logic

Perspective is a free, easy to use camera library for integrating a "tracking viewport" into your game.

Comments, 349 Votes - submitted on 28/01/2014 view repo

To help with the calculation of physics collision categories and masks there is an excellent table available:

Comments, 296 Votes - submitted on 21/01/2014 view repo

This tutorial utilizes the great A* pathfinding code uploaded by Lerg which is found here:

Comments, 308 Votes - submitted on 17/01/2014 view repo

You can detect collisions between objects without using physics using these two routines. Simply add a Runtime enterFrame listener or look for the collisions in your touch handler.

Comments, 291 Votes - submitted on 17/01/2014 view repo