Angel Script

5 replies [Last post]
by: Papirosnik
Status: Offline
Joined: 2011-04-14

This is an amazing free script system for your c++ application.
I switched to it from Lua and am still experiencing positive emotions only.

Original web page:
http://www.angelcode.com/angelscript/

Porting to Marmalade SDK is very simple. I was needed to do only one change in angelscript.h:
typedef size_t asPWORD;

Moreover, I don't know whether is the author of AngelScript an Marmalade user too, but he is a forward-looking man. There is such define in code everywhere:

#if defined(__GNUC__) || defined( AS_MARMALADE )

That quite drastically alleviates porting AngelScript to Marmalade )
I wonder why this useful thing is not included into Marmalade Code Community still,
since it was originally designed with the intention to be used in the Marmalade SDK.

So usage is:

Add 'anglescript' subproject into your mkb(or mkf)

Add includepath lines to AngelScript headers and add-ons:
angelscript/include
angelscript/addons

Define AS_MARMALADE in the 'defines' section in your mkb:
defines
{
AS_MARMALADE = 1
}

Enjoy.

by: roo
Status: Offline
Joined: 2012-03-23
Yes. AngleScript is better

Yes. AngleScript is better then LUA.
Easier data structure integration
C syntax. (prototype in Anglescript -> copy to C file)

Thanks!

by: Papirosnik
Status: Offline
Joined: 2011-04-14
Can't share it due: Angel

Can't share it due:

Angel Script
Share

×The selected file angelscript.zip could not be uploaded. The file is 446.5 KB which would exceed your disk quota of 2 MB.

What am I do?

PS.
Uploaded on github:
https://github.com/Papirosnik/AngelScript-for-Marmalade

by: matth
Status: Offline
Joined: 2010-07-23
This looks great, thanks for

This looks great, thanks for sharing. I may consider integrating this into the IwGame Engine.

by: StatKsn
Status: Offline
Joined: 2011-02-02
Awesome share, this is

Awesome share, this is definitely useful for game engine.

by: Papirosnik
Status: Offline
Joined: 2011-04-14
Unfortunately, there is a bug

Unfortunately, there is a bug with compilation native arm instructions with marmalade: http://www.madewithmarmalade.com/devnet/forum/7502#comment-28979

If you need an ARM build of AngelScript you should use either AS_MAX_PORTABILITY definition (with some restrictions in add-ons and probably some bugs) or separately build your application with scons and then deploy apk or ipa.
I have just checked it on Android 2.3 and all works properly.

PS. The author of AngelScript works every day and new improvements appear in his repository very often. So, the way with AS_MAX_PORTABILITY maybe will work properly soon.

Latest Posts

Latest Comments

Top Contributors

  • amanda
  • riaan
  • alexand3
  • alexand4
  • alexand7
  • alexand889
  • alexand12191
  • remote9991
  • remote9992
  • test