[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Pygame trouble on the Mac



Thank you Casey.

This is odd though... The app doesn't run. Take a look at the earlier
code from the book... On my Mac machine it'll open up the window, show
the background, have a cursor there, but the cursor doesn't move with
the mouse, its all just frozen and it sorta crashes. I have to
Force-Quit the python app... Is this just my ignorance? Is there
something I just don't know about?

...And from what you say, this warning problem will be gone in the
next release of Pygame? ... I'm new to this whole Python, Django and
Pygame world. It's look exciting though, and I love to develop on my
Mac. So I really hope I can iron out the little things. There is so
much to learn about the Terminal and the way Python works... I've only
ever been used to PHP and MAMP before... I'm trying my hardest to find
decent resources...




2009/3/8 Casey Duncan <casey@xxxxxxxxxxx>:
> That's not an error, just a a warning that happens because the current
> stable release of pygame (1.8) uses the older MacOS apis. I think this has
> been addressed in the not yet released pygame 1.9, but regardless it doesn't
> prevent pygame from working.
>
> So if there is a problem with the code not working it is caused by something
> else.
>
> -Casey
>
> On Mar 8, 2009, at 2:10 PM, James Morris wrote:
>
>> Hello. I've been reading the book Beginning Game Development with
>> Python and Pygame. It's a great read, fantastic actually, but I have
>> trouble running the code… I get this in my console:
>>
>> 2009-03-08 19:34:03.228 Python Warning once: This application, or a
>> library it uses, is using NSQuickDrawView, which has been deprecated.
>> Apps should cease use of QuickDraw and move to Quartz.
>>
>> And I don't understand it? I'm using Mac OSX 10.5 by the way. I'm not
>> a pro programmer… I come from a PHP background (using MAMP) and so the
>> whole Terminal concept is pretty new to me. I'm damn sure I have
>> installed Python and Pygame correctly, as there is some Pygame
>> examples I've been able to run fine. But it's annoying, I want to
>> complete the book, but I can't with these errors… Like the
>> ‘helloworld’ example, the image shows up in the background, I have a
>> cursor image too, but it doesn't move, it's like it's frozen and it
>> has that above error in the console.
>>
>> I know you must be busy, but please help! I love the book and really
>> want to complete it. If you need any information about my setup,
>> please just ask me, do tell me how to find out versions though, as I'm
>> new to the Terminal experience! Thank you! James
>
>