Page 1 of 1

Python as a game scripting language

Posted: Mon Sep 02, 2013 3:54 pm
by gamenovice
Hey guys,

I was wondering about the following situation:

given I have a small rpg engine written in python, which essentially loads tile maps, characters and dialogue, along with some basic menus, and has a basic gameloop, assuming I needed to script things like cutscenes or parts of dialogue, would it be recommended that i now wrap in lua to said engine, or would i be better off just scripting away the game scripts using python directly?

It's a little out there, but any input regarding the matter would help a ton!

Thanks guys,
game

p.s. if i'm not clear on any part of my question, please let me know

Re: Python as a game scripting language

Posted: Mon Sep 02, 2013 4:44 pm
by K-Bal
Since Python is already a scripting language I can't think of any reason to use Lua on top of it.

Re: Python as a game scripting language

Posted: Tue Sep 03, 2013 11:01 am
by Falco Girgis
You stand to gain nothing by extending a scripting language with another scripting language. You do however stand to lose performance, time, and increase your executable size greatly...

The entire point of using an embedded scripting language is the ease of development and not having to recompile code. Both of these points are already covered by Python alone.