Skip to content
Browse files

revert 8709b73

  • Loading branch information...
1 parent 8709b73 commit 0fc52a6b6e8d82a73bb9337f5d5d861c2167dea5 @authorNari committed Aug 10, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 nario/life/nario.rb
View
6 nario/life/nario.rb
@@ -32,10 +32,10 @@ def initialize(x, y)
def put_screen(screen)
super
- @font.draw_solid_utf8(screen, "Time", 2, 2, *Color::BLACK)
- max = Scene::SCREEN_WIDTH-80-10
+ @font.draw_solid_utf8(screen, "HP", 2, 2, *Color::BLACK)
+ max = Scene::SCREEN_WIDTH-50-10
hp_width = (max.to_f * 0.01 * @hp).to_i
- screen.fill_rect(80, 10, hp_width, 20, Color::BLACK)
+ screen.fill_rect(50, 10, hp_width, 20, Color::BLACK)
end
# collision event

0 comments on commit 0fc52a6

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