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

Re: [pygame] more of a game dev question...



thanks!!!
gonna have to study this. you got alot of code here.

on window systems xreadline gives an error.
changed it to readline and it seems to work...

steve

----- Original Message -----
From: Paul Sidorsky <paulsid@home.com>
To: <pygame-users@seul.org>
Sent: Monday, September 03, 2001 10:06 PM
Subject: Re: [pygame] more of a game dev question...


> steve rowley wrote:
>
> > but i thought i'd ask anyway.
> > i'm writing a chutes and ladders type of game. were there are floors
> > connected by ladders, and the monters chase you around the different
levels.
> >
> > what do you think is the best way to write the monster chase algorithm?
>
> If you want to see a working example check out PyRunner
> (http://members.home.net/paulsid/pyrunner/).  There are two versions:  the
> "dumb" movement code that's used in the game, and there's also some
commented
> out "smart" movement code which made the game way too hardxtremely hard.
>
> There are certainly better ways to write such code, but PyRunner is a
similar
> type of game to what you're describing so it might be useful to look at as
a
> starting point.
>
> It's inteteresting that "smart-but-not-too-smart" AI code is usually much
> harder to write than "super-smart" code...
>
> --
> ======================================================================
> Paul Sidorsky                                          Calgary, Canada
> paulsid@home.com                      http://members.home.net/paulsid/
> ____________________________________
> pygame mailing list
> pygame-users@seul.org
> http://pygame.seul.org
>

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