Page 1 of 1

Designing

Posted: Thu Aug 04, 2005 7:56 pm
by punt
Has one every noticed how the methods that one exposes (especially in a scripting system) seem to be rather implementation or protocool specific.

You rarely see these type methods exposed for a mobile object (with the appropriate paramter lists):

speak()
hear()
move()
recieveAttack()
attack()
see()

etc.

Things that most people can understand and use without having to understand ALL the implementation details within. That should be done inside those methods as needed.

Not saying these would be the only methods exposed (or even used internally), lower level ones perhaps should be done for these to use as well as more advance scriptors/coders to make the needed behavior changes. But it seems like one doesn't start from this concept, and work down.

Just another idle ramble.

Posted: Thu Aug 04, 2005 8:40 pm
by Sydius
I agree.

Posted: Sat Aug 06, 2005 1:45 am
by lingo
And it is doable right now. JS can be use to implement the "Action" from lower level primitives. And if there is anything missing, we can just exposed the low level primitives.

The JS interface is fairly stable now. So we can start discussing the "Action" that is useful for the scripters.