Permalink
Browse files

Slide down building improved; light gravity, zero initial velocity.

  • Loading branch information...
1 parent cde1e50 commit e8dc36336baf31b4ac29cd24cc631eb05d71eeb2 @pda committed Jan 15, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 asc.rb
View
4 asc.rb
@@ -346,7 +346,7 @@ def char rx, ry, ticks
end
def acceleration
if @dead
- 0
+ 0.05
else
0.35
end
@@ -371,7 +371,7 @@ def jump!
end
def die!
@dead = true
- @velocity = 0.5
+ @velocity = 0
end
def dead?
@dead

0 comments on commit e8dc363

Please sign in to comment.