[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pygame] How I solved the Lunar lander surface collision
I think that there aren't a lot (or any) tutorials about doing
semi-complex things like this in pygame. So it would be a great help to
the pygame community.
Em Mon, 15 Jul 2002 19:20:06 -0500
"Michael Bauers" <me@michaelbauers.com> escreveu:
> The surface was a 24 color bitmap, but was basically all black except
> for a line of pixels representing the terrain.
>
> I wrote a program in C to read the BMP and dump out a list of terrain
> heights. I simply read that on input and used that for collision.
>
> I appreciate all the advice.
>
> The ZIPed source and data files are at:
>
> www.michaelbauers.com/lander.html.
>
> I am debating between leaving it as a demo type project and cleaning
> up the class communication, or trying to make it into a game someone
> would enjoy playing.
>
>
>
>
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org