Welcome Guest Search | Active Topics | Log In | Register

Embedding a scripting language in OGRE - too many choices!
#1 Posted : Saturday, June 30, 2018 5:16:05 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 6/25/2018(UTC)
Posts: 1
Location: new york

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)

I'm ready to embed a scripting language into my OGRE engine/games to allow for more flexibility, but I'm dazzled by the array of choices.
I'm sticking to C++ as the core language but want to read in script files for AI and scene construction so this scripting language will need some binding to OGRE and non-OGRE C++ classes. So far my choices are:
Python / PyPy
Lua / Luabind / toLua
Squirrel / SQPlus
Python-Ogre looks great, but it appears to be for people who use Python as their primary language. I prefer the Python language (due to history) over the other choices, but not if I have to given up the framework / integration advantages of C++.
I'm siding towards toLua++ from what I've read. Am I heading in the right direction?

Please help

I didn't find the right solution from the internet.

Whiteboard video production studio

Thank you

#2 Posted : Tuesday, July 3, 2018 8:08:59 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 8/23/2014(UTC)
Posts: 144
Location: Northern Germany & Lincolnshire, U.K.

Thanks: 3 times
Was thanked: 10 time(s) in 10 post(s)
It's simply a matter of choice, and some work to do.
Squirrel and LUA are quite comparable, where LUA has a much larger community and libraries.
When it comes to Games, Squirrel was designed for that (avoiding internal "hickups" and a more stable and predictable behaviour when it comes to cpu-power/timing).
On the other end, it has "only" a bytecode compiler.
However, it's also a matter of personal choice.
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Clean Slate theme by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.4 | YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.027 seconds.