Event System like RPG Maker?

Started by
12 comments, last by Khatharr 11 years, 2 months ago
If you're just looking to script behavior why not just embed a scripting language?

Ruby is a bit of a pain in the ass to embed, but others, such as Lua, can be pretty straightforward.

I think I still have a Ruby embed at home in my archives though, so if you're interested I can upload it for you.
void hurrrrrrrr() {__asm sub [ebp+4],5;}

There are ten kinds of people in this world: those who understand binary and those who don't.
Advertisement

If you're just looking to script behavior why not just embed a scripting language?

Ruby is a bit of a pain in the ass to embed, but others, such as Lua, can be pretty straightforward.

I think I still have a Ruby embed at home in my archives though, so if you're interested I can upload it for you.

This, literally.

If you want conditional branches and event behavior like RMXP you're either gonna end up copying most of their convuluted code to basically recreate a scripting system. You would probably fare way better just embedding an actual scripting language and using that. Faster, more powerful, more to the point.

To be honest I have no knowledge of embedding scripting engine or doing script.

So im just doing whatever i can do for now

If you can write C++ then you should have no trouble picking up a scripting language. Scripting languages are designed with the goal of making it quick and easy to write and change high level code. Lua is a good place to start.

void hurrrrrrrr() {__asm sub [ebp+4],5;}

There are ten kinds of people in this world: those who understand binary and those who don't.

This topic is closed to new replies.

Advertisement