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
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 =
)
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
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:
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:
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
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
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
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
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
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
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
12 matches
Mail list logo