[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Help with pygame
Ok I will soon post some real code w/ image
-Zack
On Dec 10, 2011, at 2:12 PM, Sean Wolfe <ether.joe@xxxxxxxxx> wrote:
> also you need a pygame.init() in there...
>
> On Sat, Dec 10, 2011 at 1:49 PM, Brian Fisher <brian@xxxxxxxxxxxxxxxxxxx> wrote:
>> Zack,
>> There are a lot of problems with the script you posted, but the error
>> you are getting says that the first problem is with loading the image
>> file, so might as well start there.
>>
>> So on your next reply, please attach the image file you are trying to
>> load and draw. That way people can test themselves which would help a
>> lot in figuring out what's going on.
>>
>>
>> On Sat, Dec 10, 2011 at 4:28 AM, Zack Baker <zbaker1398@xxxxxxxxx> wrote:
>>> Sorry guys, my bad, I only changed the name when I put the code on there. It was both images.png or whatever. I'm very sorry for the confusion. Also could the problem be that I didn't draw the screen?
>>>
>>> -Zack
>>>
>>>
>>> On Dec 10, 2011, at 4:42 AM, Miriam English <mim@xxxxxxxxxxxxxxxxxx> wrote:
>>>
>>>> Also, you might think this is pretty obvious, but it surprises me how many people I've seen make this mistake, so I'll mention it anyway, just in case... renaming a file with a different extension won't make it the right kind of file. For instance renaming a jpeg file from blah.jpg to blah.bmp doesn't make it a bmp file. It must be loaded into a graphics program like Gimp then saved out as the new format.
>>>>
>>>> Cheers,
>>>>
>>>> - Miriam
>>>>
>>>> --
>>>> If you don't have any failures then you're not trying hard enough.
>>>> - Dr. Charles Elachi, director of NASA's Jet Propulsion Laboratory
>>>> -----
>>>> Website: http://miriam-english.org
>>>> Blogs: http://miriam-e.dreamwidth.org
>>>> http://miriam-e.livejournal.com
>
>
>
> --
> A musician must make music, an artist must paint, a poet must write,
> if he is to be ultimately at peace with himself.
> - Abraham Maslow