ld31-space-diggers/src/main.coffee
2014-12-06 09:16:55 +01:00

26 lines
373 B
CoffeeScript

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