Ignore:
Timestamp:
09/06/13 18:59:37 (8 years ago)
Author:
Jeremy Thurgood <firxen@…>
Branch:
default
Phase:
public
Message:

More sensible health bar positioning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/screens/area.py

    r363 r365  
    257257        pygame.draw.rect(bar_surface, health_colour, rect, 0)
    258258        bar_surface.set_alpha(192)
    259         surface.blit(bar_surface, (50, 500))
     259        y_pos = surface.get_height() - 20 - bar_surface.get_height()
     260        surface.blit(bar_surface, (20, y_pos))
Note: See TracChangeset for help on using the changeset viewer.