Changeset 58:cee0b845dedc


Ignore:
Timestamp:
09/01/13 16:57:16 (8 years ago)
Author:
Stefano Rivera <stefano@…>
Branch:
default
Phase:
public
Rebase:
37353536306666313664636132363034323530366233663236386161313338623461326538303064
Message:

Centre the wolf on its body

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/screens/area.py

    r56 r58  
    5757            wolf = resources.get_image('creatures', 'werewolf_1.png',
    5858                                       transforms=transforms)
    59             surface.blit(wolf, pos)
     59            surface.blit(wolf, (pos[0] - wolf.get_width() / 2,
     60                                pos[1] - wolf.get_height() / 2))
    6061        else:
    6162            pymunk.pygame_util.draw(surface, self.shape)
Note: See TracChangeset for help on using the changeset viewer.