Simpler alternative to AngelScript

Posted by Vee on Game Development See other posts from Game Development or by Vee
Published on 2012-11-21T17:41:43Z Indexed on 2012/11/21 23:12 UTC
Read the original article Hit count: 248

Filed under:
|

I want to give players the ability to create and share bullet patterns for a shoot'em up.

The pattern scripts should have all the common programming stuff like loops, if/else, variables, and so on.

But in the end, I just want them to call a "spawn bullet at X, Y with Z angle and A speed" in the C++ game.

To spawn a circle of bullets, the user should only have to write a script with a for loop that goes from 0 to 360 and calls the spawn bullet function on every iteration.

I tried integrating AngelScript, but I am getting nowhere - it looks way to complex for a simple task like this one.

Is there an easy to integrate library that can solve my problem? Thanks.

© Game Development or respective owner

Related posts about c++

Related posts about scripting