Game Development Community

James Sayer's Forum Posts

Thread Post Date Posted
Dictionary / Hashtable / Associative Array ? Of course, in the end that probably means that it [i]does[/i] use a hash table because TorqueScript ... read more 11/04/2005 (6:00 am)
Mip Mapping Hmm, I didn't consider that it might be based on distance. Here is an example of what it looks li... read more 11/04/2005 (5:51 am)
Mip Mapping Hmm, that's interesting. I can't find anything in prefs.cs that changes the settings. I tried chan... read more 11/03/2005 (5:45 am)
Dictionary / Hashtable / Associative Array ? Sorry, I don't know much about TorqueScript data structures, and I'm not sure where to get details a... read more 11/03/2005 (5:19 am)
T2D book -- get it, it's great! Yeah, a T2D book would be cool. But I think that T2D is evolving too quickly right now.. at least ... read more 11/02/2005 (7:53 pm)
Dictionary / Hashtable / Associative Array ? Yeah, apparently it usually uses red-black trees. A red-black tree is a binary search tree that gua... read more 11/02/2005 (7:48 pm)
Getting the direction angle Yeah, this is the kind of thing that is REALLY easy to do in T2D. I'm not sure why you have your ... read more 10/22/2005 (6:11 am)
ScriptObject player Ohhhh... Ok. I think I get it. I didn't reallise that the name that you pass to ScriptObject() i... read more 10/21/2005 (9:42 pm)
ScriptObject player Oops, Sorry! Yeah.. I don't understand that. Just when I thought I was beginning to understand tor... read more 10/21/2005 (8:16 pm)
ScriptObject player I'm not an expert on TorqueScript, but... As Tom noted, TorqueScript isn't really OO. This code ... read more 10/21/2005 (3:50 pm)
ScriptObject player Heh, I wasn't the original poster - I was just posting a sample to show Adam how I do it :-)... read more 10/20/2005 (9:00 pm)
ScriptObject player I use something like this: [code] function Player::update( %this ) { // .. update Player } ... read more 10/20/2005 (8:17 pm)
SimSet usage question What I mean.. it would be nice if it supported things like dynamic arrays, and linked lists. Of ... read more 10/17/2005 (10:02 pm)
SimSet usage question I think that Adam is correct about the behaviour of SimSet::remove(). This is very helpful for me b... read more 10/16/2005 (1:40 pm)
An admissable heuristic for traversing a grid. This is probably too late, but what you want is often called "Manhattan Distance". It is very simpl... read more 10/15/2005 (9:24 pm)
VectorDistance2D Ah, ok. Good to know!... read more 10/15/2005 (6:59 pm)
VectorDistance2D Ah, I never thought of using VectorLength2D.. that should be a bit faster. Thanks. Still seems st... read more 10/15/2005 (5:50 am)
I like the documentation Yeah, the basic tutorial is great.. really well done. The main problem with T2D docs is that we... read more 08/02/2005 (9:57 pm)
Security Concerns Demos and Full Version Yeah, for sure. Trying to maintain your demo and full version in seperate codebases would be crazy.... read more 07/28/2005 (4:42 pm)
Linked Lists? I was thinking that something like that couldn't be too hard to do. I use STL in my other games. B... read more 07/27/2005 (12:57 pm)
Security Concerns Demos and Full Version I will probably go with a seperate download for the demo and full version. This method has worked f... read more 07/25/2005 (9:57 am)
Creating an attract mode demo I'm not sure about Torque2D specifics but basically this is how you do it: The whole system must ... read more 07/24/2005 (12:58 pm)
Linked Lists? Yes, that is what I am finding.. SimSet is actually easier than using a linked list would be. I jus... read more 07/22/2005 (12:55 pm)
Linked Lists? Yeah, it definitely depends on the number of elements that you are dealing with and how often you ar... read more 07/21/2005 (8:26 pm)
Way to set default arguments in function? I actually don't think that would work because if you did: funcWithLotsOfArgs( false, etc... ) ; ... read more 07/21/2005 (7:25 pm)
Linked Lists? Thanks for all the information! I thought about using an array but I didn't see any insert or delet... read more 07/21/2005 (6:34 pm)
Manually activate physics after collision Yeah, I was hoping there would be something like a performPhysics( %srcObj, %destObj ) function that... read more 07/21/2005 (10:19 am)
How big can floating points be? Alright thanks.. I wish it was double precision :-( But I still don't understand why echo(1e100) ... read more 07/20/2005 (10:20 am)
Space Junk Thanks for the comments :-) Maybe I'll release this as a freeware title. Just need to add the ne... read more 07/09/2005 (1:08 pm)
Round 'em up... [image]http://www.dingogames.com/spacejunk/screen1.jpg[/image] [image]http://www.dingogames.com/s... read more 07/07/2005 (2:36 pm)
Creating a class in Torque Script Yeah, that works well, thanks!... read more 07/05/2005 (2:32 pm)