Skip to content

Commit

Permalink
Slide down building improved; light gravity, zero initial velocity.
Browse files Browse the repository at this point in the history
  • Loading branch information
pda committed Jan 15, 2012
1 parent cde1e50 commit e8dc363
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions asc.rb
Expand Up @@ -346,7 +346,7 @@ def char rx, ry, ticks
end
def acceleration
if @dead
0
0.05
else
0.35
end
Expand All @@ -371,7 +371,7 @@ def jump!
end
def die!
@dead = true
@velocity = 0.5
@velocity = 0
end
def dead?
@dead
Expand Down

0 comments on commit e8dc363

Please sign in to comment.