ld31-space-diggers/src/main.coffee
2014-12-06 08:37:36 +01:00

19 lines
268 B
CoffeeScript

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