Page 1 of 1

Any future planns?

Posted: 21 Apr 2012, 01:01
by Duha
I don`t find any topik related to future plans about scripting api?

Are you planning to add interactive console? This will speedup ai debugging greatly.

Are you planning to fix crash on loading save with objects with functions as attributes?:
var broken = {foo:function(){}}; // this will break
This is prevent to make class based api.

Can it be marked to be not saved. Or just remove all function from inside. Or just get presave event to do it via js.

Re: Any future planns?

Posted: 21 Apr 2012, 12:36
by aubergine
I'd recommend reading through this thread: viewtopic.php?f=35&t=8756

Re: Any future planns?

Posted: 23 Apr 2012, 17:03
by Duha
aubergine wrote:I'd recommend reading through this thread: viewtopic.php?f=35&t=8756

It about 200messages. Can you point more exactly?

Re: Any future planns?

Posted: 24 Apr 2012, 00:16
by aubergine
Not really - that thread has evolved since the JS API docs started and has often been the place where discussions about future direction have taken place.

I've mentioned in my JS API docs (see links in my sig) what version of the game features are available in (with 3.2+ being MASTER branch) but not compiled a table showing what will be in 3.2 unfortunately.

Re: Any future planns?

Posted: 24 Apr 2012, 07:59
by Duha
I've mentioned in my JS API docs (see links in my sig) what version of the game features are available in (with 3.2+ being MASTER branch) but not compiled a table showing what will be in 3.2 unfortunately.
Your docs is good. But there is on bad thing. There is no mention about them in first post about js api.

Getting diff in functions in not hard. Just parse two files and get difference. If you need that script I can help.

IMHO Best forum docs is in FAQ format.

I`m programmer and I have seen a lot of differene API`s and I`dont like this. This api should be object based.

Code: Select all

distBetweenTwoPoints(sructure.1, structure.y, droid.x, droid.y);
//vs
structure.getDistance(droid);
Only two things prevents me to write it: restriction to storefunctions in objects.
The other thing is absence of interative console. It greatly speedup deelopment

Re: Any future planns?

Posted: 24 Apr 2012, 08:10
by NoQ
Duha wrote: There is no mention about them in first post about js api.
The 4th link in the sticky