Full Thrust Java test list -- December 2007

Number 1 of 10 messages in this Archive
[Date Prev] Main Index [Date Next]
[Thread Prev] Thread Index [Thread Next]

possible new feature... scripting?



Hi Everyone,

I've been doing some investigation into adding
scripting support to FTJava. My thought would
be to have scenario level scripts embedded in
the XML (like JavaScript in HTML - actually,
exactly like that). This would enable script
writers to do quite advanced things as part of
their game. Like victory conditions. Or adding
ships, etc. during the game. I'm sure scenario
writers could think up many more interesting things
to do... The idea would be to have a subset of
the FTJava API available to scenario scripts.

The engine I've been looking at is Rhino, developed
by the Mozilla Project. It adds support for JavaScript
to a running Java program. It looks fairly easy
to add in.

So are there any scenario writers who would be interested
in this feature? Does anybody know enough JavaScript
to make it useful?

Tony C.






  • Next by Date: Re: possible new feature... scripting?

  • Next by thread: Re: possible new feature... scripting?

  • Main Index | Thread Index | Author Index | Archive Index

    roger@nospam.firedrake.org
    Generated: Sat Dec 22 02:07:12 GMT 2007