ld31-space-diggers/src/main.coffee

20 lines
268 B
CoffeeScript
Raw Normal View History

2014-12-02 00:01:16 +01:00
$ ->
2014-12-06 08:22:38 +01:00
playground({
width: 16*20,
height: 16*20,
scaleToFit: true,
smoothing: false,
create: ->
# TODO: Load images
ready: ->
2014-12-06 08:37:36 +01:00
game.start
this.setState(game)
2014-12-06 08:22:38 +01:00
step: ->
render: ->
2014-12-06 08:37:36 +01:00
this.layer.clear("#333");
2014-12-06 08:22:38 +01:00
})