[pygame] immediate mode not working?

2008-07-08 Thread Gabriel Hasbun
Hello there, I open python 2.5.2 and pygame 1.7.1 is being used on the MSDOS command prompt, I initialize python and create a display, and the window opens normally. The problem arises when I try to blit to the screen display. I thought that was an issue in the IDLE shell, but the same problem

Re: [pygame] immediate mode not working?

2008-07-08 Thread Gabriel Hasbun
sure: C:\Documents and Settings\Gabrielpython Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)] on win32 Type help, copyright, credits or license for more information. import pygame pygame.init() (6, 0) screen = pygame.display.set_mode((400, 300)) whiteSquare =

Re: [pygame] immediate mode not working?

2008-07-08 Thread Gabriel Hasbun
) pygame.display.flip() screen.blit(blueSquare, (100,100)) rect(100, 100, 50, 50) pygame.display.flip() screen.blit(blueSquare, (200,130)) rect(200, 130, 50, 50) pygame.display.flip() On Tue, Jul 8, 2008 at 3:57 PM, Gabriel Hasbun [EMAIL PROTECTED] wrote: You are right, filling the screen

[pygame] weakref WeakKeyDictionary machinery.

2008-06-01 Thread Gabriel Hasbun
Hello I searched the whole web for good examples on weakref module's WeakKeyDictionary, but have found none, All I find is the Python Docs explanations, and some examples which actually doesn't explain how the mechanism of key reference removal works: import weakref class Tracking:

Re: [pygame] Dirty Rect updating

2008-05-24 Thread Gabriel Hasbun
I think you are not correctly blitting the background to the screen Surface. Although I can't be sure about it since you did not post any real python code... --- On Sat, 5/17/08, etrek lt;[EMAIL PROTECTED]gt; wrote: From: etrek lt;[EMAIL PROTECTED]gt; Subject: [pygame] Dirty Rect updating To:

Re: [pygame] I'm loving wills book :)

2008-04-14 Thread Gabriel Hasbun
Wow this sounds like THE book. Very interesting, looking forward to help in any way. Nathan Whitehead [EMAIL PROTECTED] wrote: On Thu, Apr 3, 2008 at 12:16 AM, Lamonte(Scheols/Demonic) wrote: The only pygame book availible to man? http://www.apress.com/book/view/9781590598726 Hi, might as

Re: [pygame] I'm loving wills book :)

2008-04-02 Thread Gabriel Hasbun
I use it as a reference. Lamonte(Scheols/Demonic) [EMAIL PROTECTED] wrote: that pygame book, its nice, anyone learn anything new? -- Join cleanscript.com Come here for professional PHP coding. - You rock. That's why Blockbuster's offering you one

Re: [pygame] piman's tutorial.Class variable usage.

2007-12-17 Thread Gabriel Hasbun
I thought so, That is what got me so confused. Lenard Lindstrom [EMAIL PROTECTED] wrote: Gabriel Hasbun wrote: Hello, The piman's tutorial on sprites: http://kai.vm.bytemark.co.uk/~piman/writing/sprite-tutorial.shtml class MySprite(pygame.sprite.Sprite): image = None def

[pygame] piman's tutorial.Class variable usage.

2007-12-11 Thread Gabriel Hasbun
Hello, The piman's tutorial on sprites: http://kai.vm.bytemark.co.uk/~piman/writing/sprite-tutorial.shtml class MySprite(pygame.sprite.Sprite): image = None def __init__(self): pygame.sprite.Sprite.__init__(self) if MySprite.image is None: # This is the

Re: [pygame] Alternative to pygame.Surface.subsurface

2007-10-18 Thread Gabriel Hasbun
You mean 4 boxes of 25x25 Ronald Lew [EMAIL PROTECTED] wrote: .hmmessage P { margin:0px; padding:0px } body.hmmessage { FONT-SIZE: 10pt; FONT-FAMILY:Tahoma } Is there another way to get a portion of an image without having a reference to the parent? I have a 100x100 surface

Re: [pygame] Re: Review Pygame book

2007-10-16 Thread Gabriel Hasbun
Good day my name is Gabriel Hasbun-Comandari. I am willing to review your Pygame book with much joy. I also have experience reading lots of programming books wich make me an ideal book reviewer. Thanks for the oportunity. Have a nice day. Will McGugan [EMAIL PROTECTED] wrote

Re: [pygame] app killing in Python 2.5 , Pygame 1.7.1 Windows XP Pro Spanish.

2007-10-09 Thread Gabriel Hasbun
I guessed that solution was the only workaround. My other option is to switch from editor? I'll think about that... Thanks. Ian Mallett [EMAIL PROTECTED] wrote: If you're using IDLE, running the program with F5 causes this. I have this problem too. If you still like IDLE, you