Re: [Tutor] Help with error in ski game

2011-11-20 Thread Steven D'Aprano
Chloe Beck wrote: Traceback (most recent call last): File "/Users/Chloe/Documents/SKI SKI/ski ski ski", line 99, in skier.move(speed) File "/Users/Chloe/Documents/SKI SKI/ski ski ski", line 28, in move if self.rect.centerx < 20: self.rect.centrex = 20 AttributeError: 'pygame.Rect'

Re: [Tutor] Help with error in ski game

2011-11-20 Thread bodsda
Just a guess but take a look at the spelling. centerx Or centrex Bodsda Sent from my BlackBerry® wireless device -Original Message- From: Chloe Beck Sender: tutor-bounces+bodsda=googlemail@python.org Date: Sun, 20 Nov 2011 11:58:25 To: Subject: [Tutor] Help with error in ski game

[Tutor] Help with error in ski game

2011-11-20 Thread Chloe Beck
Hi, I've just begun trying to teach myself how to program with Python. I'm currently working through the book 'Hello World, Computer programming for kids and other beginners' and am stuck on one of the exercises. The exercise is a take on the SkiFree game. The error message I get is as follow