[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] [PYGAME] Noob Help.
- To: pygame-users@xxxxxxxx
- Subject: [pygame] [PYGAME] Noob Help.
- From: "Lamonte(Scheols/Demonic)" <scheols@xxxxxxxxx>
- Date: Thu, 12 Apr 2007 20:38:28 -0500
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Thu, 12 Apr 2007 21:38:37 -0400
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=MKo/YOdThUKbpA16cO+0tAvplg/iXXBA2pLX1CCKIwDOv4isHqtBtlAJAMaUeEV/pYpHCAvL44ztErJ8jk7KN0HDlkSuxH0mDLfxd8w/rxOqa8ZMPs/A62mxQb6cIqdPDqv/teSRd17WA/qmLcDK3AX1ObcFFWjzHlU6OTZwkIE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=l6CWz8YEOisDKjVVMOSS72euGjc5a9BOtTLanUGMoHuZPLd+F4sdr2Ta2ZVm2CJSW69ExMgufHbxyWPfqCkC0yX6hPTnFBmUyF4nHOmh5jUk6fETqFOAQjMk+wXWRIoToTxUxDQCsZNCY2krT6hkEYWsK9OqEJ/nx22WE5lpD4A=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Ok I'm just trying to get un-noob with pygame and python it self.
Alright I was reading on a tutorial from the pygame site located here:
http://www.pygame.org/docs/tut/intro/intro.html
So I'm trying to find out whats up with this:
14
for event in pygame.event.get():
15
if event.type == pygame.QUIT: sys.exit()
So i've looked @ the python document for the for loop and im just trying to figure out the event.get() array can someone tell me how we got
event.type and how does pygame.QUIT : sys.exit() work?
Thanks in advanced for the help.
Regards,
Lamonte Harris.
--
Join phpdiscovery.com Now!