Advertisement

AngelScript suggestion (arrays)

Started by April 07, 2007 12:14 PM
0 comments, last by WitchLord 17 years, 7 months ago
Suggestion: Why not make arrays more like std::vector? Adding push_back and push_front for example. I find some things a a bit unnecessary. For example: Adding a new object object@[] objects; object obj; objects.resize[objects.size() + 1]; objects[objects.size() - 1] = @obj; This could be done with a simple push_back. It's fairly easy to do this myself just adding the code but why not add it? Scripting is after all about making things a bit easier to do and manage.
That's a good suggestion. I'll add it to the to-do list.

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