Sweeet

posted in Perpetual Alpha
Published March 28, 2005
Advertisement
I arrived at the scripting section of the design doc thismorning, which I'd been dreading due to my complete lack of experience with the topic, its apparent complexity and its importance to the engine. I'd basically decided to go with AngelScript, but having never used it I was in no position to design a wrapper for it. So I decided to write some sample apps to see how difficult this thing was to use.

Let me just say this: Angelscript rocks. I had the basic parser set up in a few minutes. It took me a while to get an empty test function to compile and execute due to some slight retardation on my part. But once I had that going I was able to register functions, globals variables, and classes in no time. It even supported polymorphism right out of the box - I was very impressed. The only thing is that you can't use any virtualy inherrited functions with it but that shouldn't be too hard to avoid/work around.

I really look forward to making games in a scripted environment. It'll allow for a level of depth that I haven't come close to so far.
Previous Entry Mmmm
Next Entry Just a bug, eh ?
0 likes 2 comments

Comments

VisualLR
Does anglescript use boost? I might give it a try, but I already spent a lot of time and effort into embedding Lua (and it's not really OO).
March 28, 2005 07:13 PM
Stephen R
No, it doesn't use boost, or at least not as far as I know.
March 29, 2005 02:05 AM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement
Advertisement