Skip to content

Commit

Permalink
fixes #2
Browse files Browse the repository at this point in the history
  • Loading branch information
letmaik committed Jul 12, 2015
1 parent 5a7b160 commit f59f5cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hungrymonkey.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,9 @@ function freezeGame(healthUpdater, monkey) {
function spawnMonkey(levelWidth) {
var monkey = Crafty.e('2D, DOM, Twoway, Gravity, Collision, sprite_monkey')
.attr({x: 0, y: H-FH-100, w: 50, h: 50, z: 9})
.twoway(5,19)
.twoway(250,950)
.gravity('Floor')
.gravityConst(1)
.gravityConst(2500)
.collision()
.onHit("wall_left", function() {
this.x=0;
Expand Down

0 comments on commit f59f5cc

Please sign in to comment.