What's everyone doing with Angelscript!

Started by
14 comments, last by Jason Goepel 10 years, 11 months ago

I am working on a nodal graphical software Photo-Reactor and after three days of messing with the angelscript, I am 100% positive this will become a great part of the software.

I previously contemplated to write my own bytecode interpreter as nothing I found was suitable and I need both 32 and 64 bit version. I am absolutely glad I spent the time looking around, the angelscript is exactly what I was after. Big kudos to Andreas. The angelscript is a beast. What I love the most is that it is c/c++ syntax and it is brilliantly plug-and-play.

More about the project:

http://www.mediachance.com/reactor/index.html

interface4.jpg

Advertisement

That looks really neat. Do let me know when the scriptable version is available so I can add a link to it on my users' 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

The script works like a charm in the development version (plugged it all today). I started from your texture generator demo, creating similar image class, not realizing the library changed a bit from there... but I got my bearings very quickly.

One thing I would like to have more explained is the typing convention with the reference sign @.

say you have

void function(image @img)
{...}
image@ img = @image(200,200);
function(@img);
is this @ on the function(@img) just for convention? Because it works as function(img) as well.
Same with the
image@ img = @image(200,200);
omitting the @ from the front of image(200,200) works as well and seems to not do anything different, but is there any difference or it is all for convention?

[attachment=15627:angelscript.jpg]

In most cases the compiler will be able to implicitly add the @, as it knows that what is expected is the address or handle of the object rather than the value. You'll need to be careful with the @ for the left hand value in assignments. Without the @ symbol you're doing a value assignment and with the @ symbol you're doing a handle assignment.

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

Thanks, I do understand the left hand requirement, I just got surprised by the @ on right side of assignment. Anyway, it is logical.

I am a chemical engineer working for Eastman Chemical Company. We develop a software tool which we use for chemical process control and simulation. Our software allows users to write scripts to support their simulations and enable custom models or calculations. We were using Microsoft's scripting engine (VBScript and JScript), but we never liked the language and were not impressed with the effort required to expose our object model through the script.

Microsoft appeared to have some bugs in the latest version of their scripting engine, which ships with Internet Explorer. We didn't have control over the distribution of the scripting engine and were having too much trouble making our application work between versions. We started looking for a replacement, and it was looking like we were going to implement Google's V8 engine or Mozilla's SpiderMonkey.... until we stumbled upon AngelScript.

AngelScript has almost everything we need, and the source is very readable. Thanks Andreas!

This topic is closed to new replies.

Advertisement