Start building this thing

This commit is contained in:
Aaron Mueller 2014-12-06 08:22:38 +01:00
parent 39d6d51b7a
commit e907b1a5ba
4 changed files with 1460 additions and 3 deletions

View file

@ -6,9 +6,9 @@
<link rel="stylesheet" href="styles.css"> <link rel="stylesheet" href="styles.css">
<script src="vendors/jquery-1.11.1.min.js"></script> <script src="vendors/jquery-1.11.1.min.js"></script>
<script src="vendors/canvasquery.js"></script> <script src="vendors/canvasquery.js"></script>
<script src="vendors/playground.js"></script>
<script src="app.js"></script> <script src="app.js"></script>
</head> </head>
<body> <body>
<h1>Ludum Dare, here we come again!!</h1>
</body> </body>
</html> </html>

1440
public/vendors/playground.js vendored Normal file

File diff suppressed because it is too large Load diff

View file

View file

@ -1,3 +1,20 @@
$ -> $ ->
console.log "Hi dude!" playground({
console.log "Awesome, dude. :D" width: 16*20,
height: 16*20,
scaleToFit: true,
smoothing: false,
create: ->
# TODO: Load images
ready: ->
# TODO: Start the game
# TODO: setTimeout?
step: ->
# TODO: For internal stuff like progress bar
render: ->
# TODO: this.game.render?
})