Advertisement

AngelScript 2.20.0 released

Started by November 02, 2010 10:41 AM
3 comments, last by WitchLord 14 years ago
I've released 2.20.0. As I didn't receive many bug reports for the last version I decided to hold on to this release a bit longer in order to try to get in more changes.

The principal change for this release is the removal of the built-in array type. For the same reason that AngelScript doesn't have a built-in string type, I have now removed the array type. The CScriptArray add-on fully replaces the built-in array type for those that do now want to write their own array types. As a bonus I implemented the InsertAt, RemoveAt, InsertLast, and RemoveLast methods for the array to make it more powerful.

The script language has also seen a couple of enhancements with the additional support for overloading the increment/decrement operators, and also the ability to implement property accessors with index arguments. The latter should make it easier to register application types that want to expose arrays as members.

The library interface suffered quite a few adjustments to make it better and more consistent. Though it shouldn't be a lot of work to upgrade. Be sure to read the change list.

Regards,
Andreas

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Excellent job!
Were there more relevant changes on the other addons?
...
Advertisement
Not really, but please refer to the change list (link above). Are you looking for anything in particular to be added?

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

No, but I do have a small suggestion to the script builder add-on.

Whenever it can't find a script file to include, it shows only the file path in the error message:
string msg = "Failed to open script file in path: '" + string(GetCurrentDir(buf, 256)) + "'";


I'd suggest showing the file name as well:
string msg = "Failed to open script file in path: '" + string(GetCurrentDir(buf, 256)) + scriptFile + "'";


It might seem irrelevant, but one of the users of my game engine (which uses AS) told me he needed a couple of hours to find out what was going on until he figured out that it was a missing source file. It's a silly mistake but it may happen when people are not used to the interface and the error messages.

I changed it myself here, but it would be great if you could change it in the official release.
Once again, congratulations for the outstanding work.
...
Sure thing. Done in revision 739.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement