Greg Beauchesne's Forum Posts
| Thread | Post | Date Posted |
|---|---|---|
| Difference in TorqueScript between TGB and TGE? | Yes, regular "new" works just fine in TGE; it was specifically that particular syntax whic... read more | 11/14/2009 (8:32 pm) |
| Difference in TorqueScript between TGB and TGE? | One that I can think of offhand is that TGB has an object syntax like this: [code]new ObjectType(... read more | 11/13/2009 (9:15 pm) |
| Clearing a deleteNotify | I believe what you're looking for is clearNotify(). They're not the most intuitively-named functi... read more | 10/28/2009 (1:57 am) |
| Destructor for script classes | As far as constructor parameters go, Torque technically has them, but they're rarely used and they'r... read more | 10/23/2009 (10:09 pm) |
| Forum category tag dates (site bug) | I don't think that's the same bug. See [url=http://www.garagegames.com/community/forums/viewthread/1... read more | 10/15/2009 (2:08 am) |
| A very strange issue with objects' properties being changed by a console method | If your Nodes aren't shared anywhere else, then I would say yes (and again also if you ever remove o... read more | 10/02/2009 (10:05 pm) |
| A very strange issue with objects' properties being changed by a console method | It sounds like you're just copying string (const char *) pointers rather than copying the string its... read more | 10/02/2009 (8:36 pm) |
| Help - Bug - Game created in 800x600 however different computers/monitors have different outputs for FullScreen Mode causing Image Distortion | I just did something like this myself in my own code. I modified the Canvas class to simulate being ... read more | 09/28/2009 (10:43 pm) |
| C# Question About Object References | I'm not a C# person by any means, but if it's anything like Java, the cause of your problem is proba... read more | 09/17/2009 (8:32 pm) |
| Whos calling my function? | Alternatively, if you have a source license, you can call the debug() TorqueScript function in your ... read more | 09/09/2009 (11:09 pm) |
| ImageMap packing efficiency | You said you had filter padding turned on and that your image was slightly smaller than 512x512. How... read more | 09/08/2009 (1:27 am) |
| Actionmap Issue, 2 button pressed the same time | [ol] [li]Do your keys work properly for both players individually? (i.e. as long as only one player... read more | 09/03/2009 (8:27 pm) |
| How to reference a TSStatic object? | No casting required. If you have the ID in a variable, you can just do %varname.delete() (or whateve... read more | 09/01/2009 (10:04 pm) |
| Floating point as bool | It has to do with the way TorqueScript evaluates data, and how it doesn't always do its conversions ... read more | 08/31/2009 (9:55 pm) |
| Exposing C++ Enums | Yes, the addField() stuff is only for objects (it goes in initPersistFields() for your class), and i... read more | 08/28/2009 (9:54 pm) |
| Creating a SimObject in C++ | Since you were asking about the constructor arguments, I thought I'd throw in the following. First, ... read more | 08/27/2009 (11:06 pm) |
| Torque2D C++/SDK Tutorial? | "Unable to instantiate non-conobject" means your object class has not been registered with... read more | 08/27/2009 (2:42 am) |
| Many, many sprites and performance | Maybe two t2dTileMaps layered on top of each other? Hex maps basically alternate their start poin... read more | 08/12/2009 (6:58 pm) |
| How to execute an object method with call() function? | For global functions (as you've already figured out): [code] schedule(%time, 0, %funcname, %arg1, ... read more | 08/11/2009 (6:40 am) |
| TorqueScript alternative to Enums? | That's true; if you strictly want an enum, then multiple objects are probably not the way to go abou... read more | 08/10/2009 (4:17 pm) |
| Multiple Shapes | The exporter considers the number at the of the object name to be important. This is the detail leve... read more | 08/09/2009 (10:43 am) |
| TorqueScript alternative to Enums? | If you have individual datablocks or ScriptObjects or whatever, you can also put them in a SimSet. A... read more | 08/09/2009 (10:32 am) |
| Exposing C++ Enums | If you want to expose an enum, you'll have to make an enum table and use the TypeEnum type when addi... read more | 08/06/2009 (8:20 pm) |
| Accessing a Datablock property [Answered] | I wouldn't use eval() here. Two better options are A) TorqueScript's built-in array-like operator, o... read more | 08/06/2009 (8:11 pm) |
| cls = boom | I ran into this myself. Apparently it's due to the fact that in the console log code, it calls opera... read more | 07/29/2009 (5:45 pm) |
| Script errors not found | It seems I'm mistaken. After poking through the code, I happened to come across the variable $Con::w... read more | 07/27/2009 (9:36 pm) |
| Script errors not found | TorqueScript, like many other scripting languages, doesn't have explicit variable declarations, so i... read more | 07/27/2009 (4:58 pm) |
| Goto in TorqueScript | The alternative that I've always used in pretty much any language is a do-while loop with a false co... read more | 07/22/2009 (7:26 pm) |