Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
more playing
  • Loading branch information
severest committed Nov 4, 2012
1 parent 85e0bcb commit 5d18438
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions game.js
@@ -1,6 +1,6 @@
window.onload = function () {
//start crafty
Crafty.init(400, 336);
Crafty.init(700, 600);
//Crafty.canvas.init();


Expand Down Expand Up @@ -70,7 +70,7 @@ if (i > 0 && i < 24 && j > 0 && j < 20
var f = Crafty.e("2D, DOM, flower, solid, SpriteAnimation, explodable")
.attr({ x: i * 16, y: j * 16, z: 1000 })
.animate("wind", 0, 1, 3)
.animate('wind', 80, -1)
.animate('wind', 40, -1)
.bind('explode', function() {
this.destroy();
});
Expand Down

0 comments on commit 5d18438

Please sign in to comment.