So, if I was making a Tetris Attack clone using plain pygame and the SDL
blitting functions, but later on decided that I wanted to render the blocks
in 3D and add a 3D mode like Pokemon Puzzle League for the Nintendo 64, using
pyopengl, how much of the code do you think, aside from the drawing,
On Sat, Jun 16, 2007 at 12:33:10AM -, [EMAIL PROTECTED] wrote:
I fiddled with a different terrain generation algorithm, this one based on
using Pygame to do something like Conway's Game of Life. That is, I draw
some random shapes of grass on water on a 100x100 image, then iterate
each
In a message of Sat, 16 Jun 2007 09:22:26 EDT, Charles Joseph Christie II write
s:
So, if I was making a Tetris Attack clone using plain pygame and the SDL
blitting functions, but later on decided that I wanted to render the bloc
ks
in 3D and add a 3D mode like Pokemon Puzzle League for the
Hi,
The docs seem to imply that pygame.mix.music can play MP3s, but when I
try to load any of my mp3s I get a 'Module format not recognized' error.
OGGs work fine.
Does PyGame not support mp3 - or is there something odd about my mp3s?
Will
On Jun 16, 2007, at 8:56 AM, Laura Creighton wrote:
[..]
If you use Model-View-Controller like separation of your code,
None. All your changes will be in the drawing.
I'm curious how many of you actually employ MVC using pygame, since
the library encourages mixing the model and view via
In a message of Sat, 16 Jun 2007 09:32:09 PDT, Casey Duncan writes:
On Jun 16, 2007, at 8:56 AM, Laura Creighton wrote:
[..]
If you use Model-View-Controller like separation of your code,
None. All your changes will be in the drawing.
I'm curious how many of you actually employ MVC using
On Sat, Jun 16, 2007 at 09:32:09AM -0700, Casey Duncan wrote:
On Jun 16, 2007, at 8:56 AM, Laura Creighton wrote:
[..]
If you use Model-View-Controller like separation of your code,
None. All your changes will be in the drawing.
I'm curious how many of you actually employ MVC using
On Saturday 16 June 2007 01:18:49 pm Marius Gedminas wrote:
On Sat, Jun 16, 2007 at 09:32:09AM -0700, Casey Duncan wrote:
On Jun 16, 2007, at 8:56 AM, Laura Creighton wrote:
[..]
If you use Model-View-Controller like separation of your code,
None. All your changes will be in the
Patrick Mullen wrote:
Mp3 support, certain font support, and other things seem to be very
platform specific with pygame recently, I'm not sure if it's always
been that way, but it certainly is now. As far as I know, .ogg's
don't have any issues, but I have seen a perfectly good mp3 play on
Marius Gedminas wrote:
I liked the blog entry and started looking around in the svn repository
browser (no syntax highlight, *sigh*).
I think there's a bug in ColorRGBA.grey: the 'a' argument (alpha?) is
required, but never used.
Yeah, fixed that in my local version.
I'm somewhat
On Sat, Jun 16, 2007 at 01:27:37PM -0400, Charles Joseph Christie II wrote:
I don't know about canonical, but PySpaceWar uses pure MVC. I think; I
never fully understood the controller part of it; my views are often
also controllers.
On Saturday 16 June 2007 04:51:52 pm Ulf Ekström wrote:
Many linux distros cannot legally distribute mp3 decoding software
(patent?), so sdl (mixer) is compiled without mp3 support on those
platforms. Use ogg if you can, it sounds better anyway.
Regards,
Ulf
Of course, after you install MP3
On Sun, 17 Jun 2007, Will McGugan wrote:
Marius Gedminas wrote:
I'm somewhat surprised that your r/g/b/a setters perform an isinstance
check and explicitly require a float. What's wrong with accepting ints
(0 or 1)?
I want to use floats internally, so that it will always use float
On Saturday 16 June 2007 04:25:59 pm Marius Gedminas wrote:
On Sat, Jun 16, 2007 at 01:27:37PM -0400, Charles Joseph Christie II wrote:
I don't know about canonical, but PySpaceWar uses pure MVC. I think; I
never fully understood the controller part of it; my views are often
also
On Sun, 17 Jun 2007, Richard Jones wrote:
I presume you were just calling float(value)? I'm surprised that is slower
than invoking isinstance() if value is a float.
And a quick check tells me my gut was about right: there is no time difference
between these if value is a float:
$ python -m
Charles Joseph Christie II wrote:
So, if I was making a Tetris Attack clone using plain pygame and the SDL
blitting functions, but later on decided that I wanted to render the blocks
in 3D and add a 3D mode like Pokemon Puzzle League for the Nintendo 64, using
pyopengl, how much of the code do
Casey Duncan wrote:
I'm curious how many of you actually employ MVC using pygame, since the
library encourages mixing the model and view via sprites.
I always try to separate the application logic from the user
interface in any kind of program I write, including games.
I've never tried to
Laura Creighton wrote:
But I am using pygame to make 3-dimentional models of things
in biology and chemistry mostly. I rarely need to have to hunt
down my molecules and kill them. :-)
Well, I don't know... those free radicals can be nasty
buggers to have around...
Hmmm... maybe there's an
Will McGugan wrote:
I _could_ simply wrap the setter value with float(), but
that would leed to the situation where you could do col.r = 20 - which
is just wrong.
You could force it to a float by multiplying it by 1.0.
That would work on ints but not strings.
--
Greg
On Saturday 16 June 2007 09:36:11 pm Greg Ewing wrote:
Charles Joseph Christie II wrote:
So, if I was making a Tetris Attack clone using plain pygame and the SDL
blitting functions, but later on decided that I wanted to render the
blocks in 3D and add a 3D mode like Pokemon Puzzle League
20 matches
Mail list logo