Game Development Community

Building onto Torque Game Builder

by Joe Rossi · 12/13/2006 (10:18 am) · 2 comments

So I lost my internet for a week and I notice we TGB users got TorqueX for free! That's very awesome and generous of you GarageGames...so thank you!

Recently I've been doing some work adding things to the TGB editors, mainly using "resources". I made a resource which I may make available soon that allows me to create and preview TGB fonts easily. I also added a dropdown to my "Edit" tab when I click an object, where I can edit my lua script logic values for each object just like the dynamic fields. This is great because it's much easier for me (or anyone) than opening and hand editing scripts! So even an artist would be able to go and tweak something in a game I'm working on.

I'll post more about what I'm working on and my event system in a future blog.

#1
12/13/2006 (3:45 pm)
Just curious but I was playing with Lua for something else nonTGE related.
And I decided I liked Squirrels Syntax better but it does seem to be an order of magnitude slower than Lua was in the exact same code.

Anyways I'm kinda curious to know if you've tried Squirrel and what your impressions of it are if you've tried it.
Regards,
Dreamer

p.s. In case you don't know Squirrel is a Lua derivative, that speed issues aside (it's still faster than python), seems to me to be much more suited for OO programing.
#2
12/14/2006 (3:14 am)
I've heard only good things about squirrel, but IIRC when I tried it there were a few deal breaking issues such as not being able to return multiple values from functions. The major argument I've heard from squirrel advocates is that it's easier to bind to C++ code than Lua is. Personally I don't feel Lua is so bad in that area. I like the fact that I can use any of the Lua libraries, such as Pluto, IUP, LuaJIT, Luasockets. Pluto will be used in my project to easily save and load games. Another bonus (for me) are the books and other documentation. I'm not saying squirrel is lacking any of that, just that I prefer Lua.