Re: [pygame] On walking animations...

2009-10-08 Thread bhaaluu
On Wed, Oct 7, 2009 at 4:27 PM, Guy Anderson guy.a.ander...@gmail.com wrote: I was wondering how one could do walking animations with sprites in pygame. I know that it has been done before, and it probably involves utilizing the key.pressed function in the Vector2 module, where when you press a

Re: [pygame] Linux binaries

2008-11-04 Thread bhaaluu
On Mon, Nov 3, 2008 at 5:10 PM, yanom @linuxmail.org [EMAIL PROTECTED] wrote: I understand you can use py2exe to make your python program into a Windows executable, but is there a tool for making them into a Linux binary? I want my game to run faster. Your game will run faster on GNU/Linux

Re: [pygame] looking for pygame minimal examples

2008-10-08 Thread bhaaluu
http://www.cs.iupui.edu/~aharris/pygame/ On Wed, Oct 8, 2008 at 5:45 AM, Paulo Silva [EMAIL PROTECTED] wrote: Hi! I'm looking for webpages could have minimal examples, just like from: . http://nitrofurano.linuxkafe.com/sdlbasic/MinimalExamples_050624.zip .

Re: [pygame] looking for pygame minimal examples

2008-10-08 Thread bhaaluu
, bhaaluu [EMAIL PROTECTED] wrote: http://www.cs.iupui.edu/~aharris/pygame/ On Wed, Oct 8, 2008 at 5:45 AM, Paulo Silva [EMAIL PROTECTED] wrote: Hi! I'm looking for webpages could have minimal examples, just like from: On Wed, Oct 8, 2008 at 12:53 PM, Paulo Silva [EMAIL PROTECTED] wrote

Re: [pygame] looking for pygame minimal examples

2008-10-08 Thread bhaaluu
On Wed, Oct 8, 2008 at 6:59 PM, Lenard Lindstrom [EMAIL PROTECTED] wrote: For future reference I have just added a new Pygame FAQ entry for this kind of question: http://www.pygame.org/wiki/FrequentlyAskedQuestions -- Lenard Lindstrom [EMAIL PROTECTED] I'm glad to see that Andy Harris'

Re: [pygame] Linux distribution(s) of a finished product

2008-10-07 Thread bhaaluu
Hi Keith, Thanks for considering GNU/Linux to release your game to. The main thing is the Python/PyGame source code. The source code shouldn't call any MS-Windows or Mac OSX specifics. In the past, I've had problems with the following: MS-Windows developers putting the wrong slash in pathnames.

Re: [pygame] recommendation for a good n00b IDE

2008-10-03 Thread bhaaluu
sw=4 set smarttab set line number (added by bhaaluu) set nu Bind f2 key to running the python interpreter on the currently active file. (courtesy of Steve Howell from email dated 1 Feb 2006). map f2 :w\|!python %cr I use 'print variableName' to watch variables. I use 'raw_input (Press Enter

Re: [pygame] problem - movie in pygame

2008-09-03 Thread bhaaluu
I run a Debian GNU/Linux system, Python 2.4.4 and PyGame 1.7. I use this script to play movies. Maybe you can modify it for your game? #!/usr/bin/python Usage: python playMovie.py movie.mpg 'q' = Quit import pygame from pygame.locals import * def main(filepath): pygame.init()

[pygame] Re: (no subject)

2008-07-21 Thread bhaaluu
On Mon, Jul 21, 2008 at 3:10 PM, David Goldsmith [EMAIL PROTECTED] wrote: help Start here: http://pygame.org/news.html Happy Programming! -- b h a a l u u at g m a i l dot c o m Kid on Bus: What are you gonna do today, Napoleon? Napoleon Dynamite: Whatever I feel like I wanna do. Gosh!

Re: [pygame]

2008-05-19 Thread bhaaluu
On Sun, May 18, 2008 at 11:36 PM, Ian Mallett [EMAIL PROTECTED] wrote: pygame.quit() Does that just stop the one movie, or does it stop the whole paper-scissors-rock game? For example, rock smashes scissors, the movie plays, pygame.quit() stops the movie, and the player can continue to play

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

2008-04-14 Thread bhaaluu
On Thu, Apr 3, 2008 at 12:16 AM, Lamonte(Scheols/Demonic) [EMAIL PROTECTED] wrote: The only pygame book availible to man? http://www.apress.com/book/view/9781590598726 Game Programming : The Express Line to Learning. Andy Harris. ISBN-13: 978-0-470-06822-9 Book source code available at:

Re: [pygame] Mode 7 Demo

2008-01-26 Thread bhaaluu
Do you have a link to landscape.bmp and sky.png? Traceback (most recent call last): File mode7.py, line 9, in ? ground = pygame.image.load(landscape.bmp) ## 1000x1000 works pygame.error: Couldn't open landscape.bmp Traceback (most recent call last): File mode7.py, line 10, in ? sky =

Re: [pygame] Ideas about storing questions/answers for a boardGame.

2008-01-23 Thread bhaaluu
There is a nice example in Chapter 10 of Andy Harris's book: Game Programming, called adventure.py. http://www.cs.iupui.edu/~aharris/pygame/ It relies on his free gameEngine.py module and a free TTF. The source code is available from the above site. The game is an example of a finite state

Re: [pygame] Why Won't My Pizza Fall?

2008-01-12 Thread bhaaluu
Greetings, I have the same source code on my computer, and get the following error when I run it: Traceback (most recent call last): File falling_pizza.py, line 25, in ? image = pizza_image, dx = 0, dy =1) File falling_pizza.py, line 14, in __init__ self.init_sprite(screen = screen, x

Re: [pygame] Collision Resolver module

2008-01-01 Thread bhaaluu
Perhaps the collission-resolver module should be included in a Game Engine leaving PyGame as is? The collission-resolver is a really nice module, but adding it to PyGame seems like the beginning of creeping feature bloat? I'd rather see it added to a Game Engine, and have a nice tutorial written