Page 2 of 2

Posted: Tue Mar 08, 2011 11:16 am
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

Posted: Tue Mar 08, 2011 11:21 am
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

Posted: Tue Mar 08, 2011 1:49 pm
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

Posted: Tue Mar 08, 2011 2:26 pm
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 :]

Posted: Tue Mar 08, 2011 3:37 pm
by loki1985
another language i found interesting, especially because it is very c/c++ like:

http://www.squirrel-lang.org/

Posted: Tue Mar 08, 2011 5:22 pm
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: