0

I'm looking for a bit of advice. We're getting to the point in our game development where I need to start thinking how we're going to integrate scripting into the game engine. I was looking at Lua, but am also interested in what Perl or Python might be able to do for us. I wanted to see if anybody on DaniWeb has a strong opinion on what language is best for integration with C++. I'm looking for simplicity more than anything else. I want to be able to store scripts in our database, call them from within our C++ game engine, be able to pass arguments to them and be able to receive data back from them. I'd also like them to be able to call C++ functions if need be, in order to access data from our database.

Thanks very much for your opinions!!!

4
Contributors
3
Replies
4
Views
9 Years
Discussion Span
Last Post by hacker9801
0

> I'm looking for simplicity more than anything else. I want to be able to store scripts in our
> database, call them from within our C++ game engine, be able to pass arguments to them
> and be able to receive data back from them. I'd also like them to be able to call C++
> functions if need be, in order to access data from our database.

python with the Boost.Python library.
http://www.boost.org/doc/libs/1_35_0/libs/python/doc/index.html

0

I like Lua. It's easy to implement in C/C++ and can call C/C++ functions if you register them.

But if Python is easy to implement, it's alot more powerful; and generally easy to script.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.