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

Re: [Inform] Perspective based coding of objects




> Ambitious plan. I would have no idea how to solve the programming
> problems -- nor am I sure why one would want to do this sort of thing. I
> can foresee complications. Like, what happens when the three characters
> go off in different directions? What happens to the location variable?

"location" doesn't change at all, with the respect to the player!  The
player, who is simply "ordering these animates around" is simply fixed in
place, shut off from his/her own senses - ie. "nowhere in particular".
(People have been misinterpreting my intent here:   all the other characters
are simply placed in scope of the player, who has a scope definition set to
be specifically able to address the animate characters only, no matter where
they are in the game map.)

The player object, for arguments sake - could be considered "a central brain
with no senses of its own", who simply "orders around a series of puppets".
(Has anyone else here actually played "Suspended"?  I enjoyed this game
immensely, and it implemented characters EXACTLY in this manner.)

Because of this, the "characters you're ordering around" need to have their
own sense of perspective on their surroundings, which is all I've been
trying to illustrate here.

- Don