C++ and scripting languages...

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Jan 2007
Posts: 101
Reputation: PirateTUX is an unknown quantity at this point 
Solved Threads: 3
PirateTUX's Avatar
PirateTUX PirateTUX is offline Offline
Junior Poster

C++ and scripting languages...

 
0
  #1
Apr 23rd, 2008
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!!!
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 1,089
Reputation: vijayan121 is a name known to all vijayan121 is a name known to all vijayan121 is a name known to all vijayan121 is a name known to all vijayan121 is a name known to all vijayan121 is a name known to all 
Solved Threads: 164
vijayan121 vijayan121 is offline Offline
Veteran Poster

Re: C++ and scripting languages...

 
0
  #2
Apr 23rd, 2008
> 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...doc/index.html
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: C++ and scripting languages...

 
0
  #3
Apr 23rd, 2008
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 129
Reputation: hacker9801 is on a distinguished road 
Solved Threads: 15
hacker9801 hacker9801 is offline Offline
Junior Poster

Re: C++ and scripting languages...

 
0
  #4
Apr 24th, 2008
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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC