Littluns

Littluns Commit Details

Date:2009-12-23 13:59:34 (3 years 4 months ago)
Author:Ciaran Gultnieks
Branch:master
Commit:ed38593bc634bc70a48c554edc9d0568cdbab0e7
Parents: 30594255002ef60471c2b663eac5cf67b0865396
Message:Start the crayon in the middle of the screen

Changes:
Mcrayon.py (2 diffs)

File differences

crayon.py
4646
4747
4848
49
50
4951
5052
5153
......
110112
111113
112114
113
114115
115116
116117
self.cover, self.rect = game.load_image('crayon.png')
self.image, self.rect = game.load_image('crayon.png')
self.init_colors()
self.rect.topleft = (game.screen.get_width() / 2,
game.screen.get_height() / 2)
def init_colors(self):
self.index = 0
Activity.__init__(self)
self.crayon = Crayon()
self.allsprites = pygame.sprite.RenderPlain((self.crayon))
self.pos = None
def line(self, surf, begin, end, color):
size = 20

Archive Download the corresponding diff file

Branches