Changeset 365:3aa3981a64a4


Ignore:
Timestamp:
Sep 6, 2013, 6:59:37 PM (7 years ago)
Author:
Jeremy Thurgood <firxen@…>
Branch:
default
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.