ld31-space-diggers/src/main.coffee
Aaron Mueller c947c4ac08 ...
2014-12-06 09:29:49 +01:00

23 lines
318 B
CoffeeScript

app = playground({
width: 16*20,
height: 16*20,
scaleToFit: true,
smoothing: false,
createTestTiles: ->
testTile1 = new Tile
testTile2 = new Tile
create: ->
@createTestTiles()
ready: ->
game.start
@setState game
step: ->
render: ->
this.layer.clear("#000");
})