Changeset 523:c7c3f55554d4


Ignore:
Timestamp:
04/09/11 21:45:00 (12 years ago)
Author:
Adrianna Pińska <adrianna.pinska@…>
Branch:
default
Phase:
public
Rebase:
38643865386339306239643864366237373533663732336437613961623230303434633765333431
Message:

add tofu and scroll totals to the hud

Location:
skaapsteker
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • skaapsteker/constants.py

    r522 r523  
    6060
    6161    SCROLL_TOP = 220
    62     TOFU_TOP = 250
     62    TOFU_TOP = 280
  • skaapsteker/levelscene.py

    r505 r523  
    280280
    281281        # Draw scroll count
    282         pos = self._clip_rect.right - 20, self._clip_rect.top + fox_hud.SCROLL_TOP + 5
    283         count = Text("%s" % len(fox.scrolls), pos)
     282        pos = self._clip_rect.right - 35, self._clip_rect.top + fox_hud.SCROLL_TOP + 30
     283        count = Text("%s/5" % len(fox.scrolls), pos)
    284284        count.draw(self._level_surface)
    285         pos = self._clip_rect.right - 55, self._clip_rect.top + fox_hud.SCROLL_TOP
     285        pos = self._clip_rect.right - 35, self._clip_rect.top + fox_hud.SCROLL_TOP
    286286        self._level_surface.blit(self._scroll, pos)
    287287
    288288        # Draw tofu count
    289         pos = self._clip_rect.right - 20, self._clip_rect.top + fox_hud.TOFU_TOP + 5
    290         count = Text("%s" % fox.tofu, pos)
     289        pos = self._clip_rect.right - 42, self._clip_rect.top + fox_hud.TOFU_TOP + 28
     290        count = Text("% 3s%%" % fox.tofu, pos)
    291291        count.draw(self._level_surface)
    292         pos = self._clip_rect.right - 55, self._clip_rect.top + fox_hud.TOFU_TOP
     292        pos = self._clip_rect.right - 35, self._clip_rect.top + fox_hud.TOFU_TOP
    293293        self._level_surface.blit(self._tofu, pos)
    294294
Note: See TracChangeset for help on using the changeset viewer.