[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pygame] Pseudo-3d demo.



On Fri, 25 Jan 2002, Pete Shinners wrote:

> Arturo Espinosa Aldama wrote:
> > I would like to share this little thing I coded a couple of months ago. No
> > time to work on it now, but it already does something pretty cool. Please
> > check it out!
> >
> > http://primates.ximian.com/~arturo/Junk/3d-demo.tgz
>
> tricky! it reminds me if those older video games where the game was 3d,
> but really just scaled balls and blocks like this. i can't really
> remember the names of those games. there was one with a guy on a
> rocketpack and one with a fighter jet (actually, there was a sequel of
> the jet one too)
>
> anyways, a fun retro effect!

Yep. Actually the engine is more-or-less ready for an AfterBurner
implementation, although some optimization remains to be done. And yes,
the word here is retro! If you think this is low-quality and not worth
doing, you are not understanding the phylosophy.

Games that used this: Out Run, Super Hang On, After Burner, Super Harrier,
Exterminator (one about killing bugs in houses with your "hands"),
Operation Wolf and similars, and many others.

Features:

pseudo-3d - (objects have 3 coordinates), camera with roll and
pitch liberty, but no Z liberty, and of course it can be placed anywhere.

transform cache - a cache for better performance: rendered surfaces for
objects are retained in memory, so if another object using the same image
with similar parameters is asked for, no new transformation is done. The
cache's granularity, both for scaling and rotation can be configured.

abstract units - demo can be played at any resolution; the relative size
of the objects stay the same (for slow computers). Also, multiple views
can be created on the same screen - for multiplayer.

Move the thing with arrows and play combining shift and ctrl to change
other parameters of the camera.

bugs:

The horizon is not correctly rendered due to a bug in pygame, but I don't
know if the bug was fixed.

Some silly problem with keyboard handling, due to lack of attention on
that.

Are we having a registry (ala SDL web page) of stuff done with pygame?

Greetings,
Arturo


____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org