Re: [A82: monster ai]


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

Re: [A82: monster ai]




Just as a general comment regarding this style of game; "ai" or no "ai".
Be sure to fully define all coordinate systems that you'll be using, and
always make sure that you're absolutely confident that you know which one
you're in.
Otherwise you'll go nuts trying to figure out what kinds of
transformations to apply at any given time.
For example, you might be dealing with data in: a tilemap space, a level
space and a screen space. As far as monsters go, you'd want them to live
in level space, so that they're aware of offscreen elements, and only
translate their coordiantes to screen space when you need to see them.

-Jeremy




References: