Re: [pygame] more circles

2010-10-10 Thread kevin hayes
, kevin hayes kevino...@gmail.com wrote: I put some thought into your suggestions, but I'm still not piecing it together. I tried to use the inflate, transform.scale in my update function, but that didn't work. Also, I don't understand your hint (hint: move some of the constructor code

Re: [pygame] more circles

2010-10-07 Thread kevin hayes
, kevin hayes kevino...@gmail.com wrote: Hi, Well, I got it working. The circle moves correctly according to keyboard input. The trouble I am having is with resizing the circle/sprite. Everything looks logical to me, but it won't function the way I want it to. I tried using the rect.inflate(x,y

[pygame] more circles

2010-10-06 Thread kevin hayes
Hi, Well, I got it working. The circle moves correctly according to keyboard input. The trouble I am having is with resizing the circle/sprite. Everything looks logical to me, but it won't function the way I want it to. I tried using the rect.inflate(x,y) method, but I couldn't see how to

Re: [pygame] more circles

2010-10-06 Thread kevin hayes
, kevin hayes kevino...@gmail.com wrote: Hi, Well, I got it working. The circle moves correctly according to keyboard input. The trouble I am having is with resizing the circle/sprite. Everything looks logical to me, but it won't function the way I want it to. I tried using the rect.inflate(x

Re: [pygame] circles

2010-10-03 Thread kevin hayes
these changes, you can remove the few lines of main's sprite initialization that no longer serve a purpose. Hope that helps to get you over the hump. Gumm On Sat, Oct 2, 2010 at 7:38 PM, kevin hayes kevino...@gmail.com wrote: I just want to thank you for taking the time to help me out. I'm going

Re: [pygame] circles

2010-10-02 Thread kevin hayes
At this point I don't really care if the sprites write over eachother...as long as that doesn't cause the program to crash. I'm just trying to get four circles going diagonally from each corner. The problem I'm having is with the update function...Do I write two update functions? How do I get

Re: [pygame] moving a filled circle from top to bottom

2010-09-29 Thread kevin hayes
) self.image.set_colorkey(pygame.Color('black')) self.rect.center = 320,0 Gumm On Mon, Sep 27, 2010 at 2:40 PM, kevin hayes kevino...@gmail.com wrote: Hey...thank you! I'm now on someone else's computer, so I can't edit the code, but I trust that you are correct. Thanks

Re: [pygame] moving a filled circle from top to bottom

2010-09-29 Thread kevin hayes
the rect in plotting your graphics primitives. Hope that explanation helps. Gumm On Wed, Sep 29, 2010 at 8:43 PM, kevin hayes kevino...@gmail.com wrote: Hey...my apologies for taking so long to get back to you, I was staying at a friend's house for a couple of days. I honestly don't understand

[pygame] moving a filled circle from top to bottom

2010-09-27 Thread kevin hayes
Hi, This is my attempt at sending a circle(Sprite) vertically from the top of the screen to the bottom. Can someone tell me how to change the code so it works? Currently it is just creating a white screen. Thanks in advance. Kevin Attempt at moving a circle(Sprite) from top(of screen)

Re: [pygame] moving a filled circle from top to bottom

2010-09-27 Thread kevin hayes
). The coordinates are with respect to self.image, not to screen. -Christopher On Mon, Sep 27, 2010 at 4:32 PM, kevin hayes kevino...@gmail.com wrote: Hi, This is my attempt at sending a circle(Sprite) vertically from the top of the screen to the bottom. Can someone tell me how

Re: [pygame] program crashes

2010-09-24 Thread kevin hayes
then possibly the default font that ships with Pygame is not being installed in the proper place. Lenard Lindstrom On 23/09/10 06:30 AM, kevin hayes wrote: Well I put part of the traceback into google and apparently some other people have had the same problem: www.pyedpypers.org/forum

[pygame] program crashes

2010-09-23 Thread kevin hayes
Can someone tell me what to do (or what I need to get) to get this program to work properly? When I run the code(straight out of the book), I get this: Traceback (most recent call last): File /Users/kevinhayes/Desktop/code/ch05/paint.py, line 107, in module main() File

Re: [pygame] program crashes

2010-09-23 Thread kevin hayes
. - On Sep 23, 2010, at 6:41 AM, kevin hayes kevino...@gmail.com wrote: Can someone tell me what to do (or what I need to get) to get this program to work properly? When I run the code(straight out of the book), I get this: Traceback (most recent call last): File

[pygame] moving a box diagnally

2010-09-19 Thread kevin hayes
Hi, I'm just beginning to learn python and pygame. I've gone through the first four chapters of Game Programming, The L-line, the Express Line to Learning. Right now I'm working on an exercise that asks me to make a box that moves in a diagonal path. Can someone tell me why when I run the code

Re: [pygame] moving a box diagnally

2010-09-19 Thread kevin hayes
Thanks claudio, works great now! On Sun, Sep 19, 2010 at 1:22 AM, claudio canepa ccanep...@gmail.com wrote: On Sun, Sep 19, 2010 at 5:08 AM, kevin hayes kevino...@gmail.com wrote: Hi, I'm just beginning to learn python and pygame. I've gone through the first four chapters of Game

[pygame] Help with the 3rd Lecture, first tutorial

2007-10-31 Thread kevin hayes
I cannot load the chimp.bmp, and I cannot put a caption on the pygame window while in the interpreter. I know the path to chimp.bmp, but when I follow the directions in the tutorial, it won't load. Also, everything works fine in the python shell interpreter until I try to add a caption to the

Re: [pygame] Help with the 3rd Lecture, first tutorial

2007-10-31 Thread kevin hayes
I don't understand the format of your email. Can you perhaps write it in a different fashion. I'm completely lost. On 10/31/07, Lukasz [EMAIL PROTECTED] wrote: kevin hayes pisze: I cannot load the chimp.bmp, and I cannot put a caption on the pygame window while in the interpreter. I

Re: [pygame] Help with the 3rd Lecture, first tutorial

2007-10-31 Thread kevin hayes
)(and it work!) And here (and it work!) is presumably a comment. However, if I were you, Kevin Hayes, I would refine what I meant by won't load. I believe Lukasz believes that you are getting Cannot find file errors, and he is trying to show you how to find your way around DOS and how your