Skip to content
Browse files

Wrap falling

  • Loading branch information...
1 parent 6ff52e3 commit f40efb7f5582acb88e72d0bd10dc46e0b6002bc1 @adambair committed Dec 20, 2011
Showing with 11 additions and 0 deletions.
  1. +1 −0 assets/javascripts/game.js
  2. +10 −0 scraps.txt
View
1 assets/javascripts/game.js
@@ -54,6 +54,7 @@ function Example() {
player.gravity()
if(this.x < 15){this.x = 15}
if(this.x > world.width-15){this.x = world.width-15}
+ if(this.y > world.height){this.y = 0}
this.x += this.vx
if(tile_map.atRect(player.rect()).length > 0) { this.x -= this.vx }
View
10 scraps.txt
@@ -0,0 +1,10 @@
+LUDUM DARE 22
+IS NAOOOOWWW!
+
+The them is...
+
+A L O N E
+
+
+
+Going out to think...

0 comments on commit f40efb7

Please sign in to comment.
Something went wrong with that request. Please try again.