[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] starting questions
- To: pygame-users@xxxxxxxx
- Subject: [pygame] starting questions
- From: Sebastián Gurin <sebastigurin@xxxxxxxxx>
- Date: Thu, 29 Jan 2009 18:32:49 -0300
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Thu, 29 Jan 2009 16:32:52 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=EwfwWwHnUs7Szherb3bLz8yCDIU1NXJURCoCIK1z+lw=; b=tklUvKJ9pugCDY0WnhQRpnyu9t/V9j1EyFprjStrcA1yJ8INy7XEMNVS3Ylf2eROuG kBV0GHZX7etpt941aCt0jT7LFMEmwRi1iRofnW5c/hSdprWxPE+M3dA3pxdghXRJPu1x eHpiT1hDTRg3Pk8hLcpoVBKhfqWEm+Rfa9sEc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=kpubbEmeZerB7zOjQbr7bwSk+iR3ozzqZgOMJrSeMgixUAXbZ2CBpzvrxFRXL0t0Qw mSrcdPBNybjU/LaGP5YH6uT4u8ItReYkU7io8+5clWpMQFWe4yGD2iMkfKHBk+7dAx72 RqIyATkb6ZrfPGbRzLct6VVNJzEKlepzf6mgM=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hello all. I'm just starting with pygame. I'm droping the following
questions, any help or references are welcome:
*) LAYERS - z-index in sprites. I think i've understanded the concepts
of sprites, rect, surface well but I can't find a way of managing
sprite layers. I need to 1) i need to set the zIndex attribute for
sprites so when they overlap with another one is showed on top of the
other. I also need 2) a way of know the top most sprite that receives
a mouse event. I would like to know if this stuff is already present
in pygame api, or if I have to create/simulate it by hand.
*) GUI lib. What gui light library do you recommend me?. (theme
support would be nice). I like pgu's
(http://www.imitationpickles.org/pgu) gui module, but their site -
releases seems to be old (2007); is pgu project active?
*) events in games. I come from the GUI visual world (html, gtk,
swing) and I used to attach events to visual objects. In pygame
examples I see the programmer must capture a global event and find the
related object. does pygame support the first? (something like
"aSprite.addMouseListener(listener)" ?)
*) OLPC: have somebody experience in developing pygames for olpc (one
laptop per child)?
Well, thanks in advance and excuse my poor english.
Sebastián Gurin