This site works A LOT better with JavaScript enabled!
This is the beta version of this site! Some things may not be working.

Simple Staggered

Run
var map = null; var game = new tine.Game(null, { preload: function() { game.load.image('_', 'assets/tmx/isometric_grass_and_water.png'); game.load.json('map', 'assets/tmx/staggered_grass_and_water.json'); }, create: function() { // Map map = game.create.tilemap('map', {x:20, y:150}); game.stage.addChild(map); var bounds = map.getBounds(); map.cache(bounds.x, bounds.y, bounds.width, bounds.height); }, update: function() { // Move the map when key is pressed if (game.keyboard.isDown(tine.keys.LEFT) || game.keyboard.isDown(tine.keys.A)) map.x += 350*game.time.fdelta; else if (game.keyboard.isDown(tine.keys.RIGHT) || game.keyboard.isDown(tine.keys.D)) map.x -= 350*game.time.fdelta; if (game.keyboard.isDown(tine.keys.UP) || game.keyboard.isDown(tine.keys.W)) map.y += 350*game.time.fdelta; else if (game.keyboard.isDown(tine.keys.DOWN) || game.keyboard.isDown(tine.keys.S)) map.y -= 350*game.time.fdelta; } })