Archived

This topic is now archived and is closed to further replies.

drslush

Tcl as scripting language

Recommended Posts

Has anyone used Tcl as a scripting language in a game? How has it worked out? Also, can anyone point me to a tutorial on using Tcl as a scripting language, or point me in the right google-direction?

Share this post


Link to post
Share on other sites
Look at 'The Nebula Device'
It uses tcl.

www.radonlabs.de
nebuladevice.sf.net



[edited by - Zerot on May 28, 2003 4:41:00 PM]

Share this post


Link to post
Share on other sites
i used TCL in a game, it was a very little game, i used to make the enemies move and the AI of the Boss.
it was nothing complicated but it''s not very powerful.
it''s very good for starters. but when you want more complicated tasks, you can see a leak there.

it''s very easy to learn. but all types are strings. of course you can cast them.. but it''s not good at lists either.

well. thats my experience.. maybe you want to use python, lisp or something like that.


Share this post


Link to post
Share on other sites


I''d recommend Perl or Python over TCL. If you want just the Tk portion, you have modules you can access via quite a few languages. I found TCL quite annoying because it forced a programming style on you ( perhaps that requirement is gone.. brace placement used to have to be on the same line as the functions, etc ) and everything was a string as someone already mentioned.

It seems a lot of people are using Python these days for various facets of game environments. You might want to give it a shot, I think you''ll like it more than TCL most likely.


.zfod

Share this post


Link to post
Share on other sites