Game scripting languages

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Gorbstein
Posts: 37
Joined: Wed Nov 25, 2009 8:44 pm
Location: Scotland

Post by Gorbstein »

serengeor wrote:
_maxim_ wrote: what is distribution problem?
Well I had problems to get it to run on other machines, it usually requires them to get the same version of python, ect. I haven't done anything lately with it so I can't really remember right now.
Blender has this problem; If you don't have the exact version of python required then python scripts won't run. A complete pain when you have to go back through old releases to get it to work.

D
Gorbstein
Posts: 37
Joined: Wed Nov 25, 2009 8:44 pm
Location: Scotland

Post by Gorbstein »

Liking this discussion because I'm also at the point of integrating scripting into my game engine and not sure of the best way to arrange everything to talk efficiently and easily.

Would be interested in your diagram but for some reason I get a network error when I try to open it.. (might be workplace firewall).

Was toying with lua but not sure about it. Don't like the python syntax at all.

It would be nice if I could use C or C++ as a scripting language.. don't suppose there's any interpreters useful for game scripting around?

D
Image
_maxim_
Posts: 54
Joined: Thu May 27, 2010 11:05 am
Location: Russia
Contact:

Post by _maxim_ »

serengeor wrote:Well I had problems to get it to run on other machines, it usually requires them to get the same version of python, ect. I haven't done anything lately with it so I can't really remember right now.
Maybe it was before, now there are many binary packers to help solve this problem (bbfreeze, cx_Freeze, jungle and other). Also you can do your Python application as C++ with "shedskin", but not 100% py code is recognized. I use "freeze" tool from Python source pack, this is result for windows platform http://kolosov.ath.cx/Randomizer.7z
serengeor
Posts: 1712
Joined: Tue Jan 13, 2009 7:34 pm
Location: Lithuania

Post by serengeor »

_maxim_ wrote:
serengeor wrote:Well I had problems to get it to run on other machines, it usually requires them to get the same version of python, ect. I haven't done anything lately with it so I can't really remember right now.
Maybe it was before, now there are many binary packers to help solve this problem (bbfreeze, cx_Freeze, jungle and other). Also you can do your Python application as C++ with "shedskin", but not 100% py code is recognized. I use "freeze" tool from Python source pack, this is result for windows platform http://kolosov.ath.cx/Randomizer.7z
It still requires a lot of work to get it working all together, I prefer something more simple, tough if you really need all that functionality out of the box than python is the best I think.

But for me pawn is working just fine and integrates into app in no time, plus it compiles into static library so theres no inconvenience when redistributing it :]
Working on game: Marrbles (Currently stopped).
loki1985
Posts: 214
Joined: Thu Mar 31, 2005 2:36 pm

Post by loki1985 »

another language i found interesting, especially because it is very c/c++ like:

http://www.squirrel-lang.org/
serengeor
Posts: 1712
Joined: Tue Jan 13, 2009 7:34 pm
Location: Lithuania

Post by serengeor »

Also if you are concerned about the speed of different scripting languages you can find most major languages speed tests http://shootout.alioth.debian.org/ and you can compare them :wink:
Working on game: Marrbles (Currently stopped).
Post Reply