Game Development Community

Ben R Vesco's Forum Posts

Thread Post Date Posted
Simple GUI Message dialog Do a dump "myGUIname.dump()" at the console and you'll see some fields in there for resizing. I don'... read more 08/26/2006 (12:27 am)
Differences in world coords and canvas coords [quote] For instance, if you wanted to move something 10 pixels to the left and you designed at 800... read more 08/25/2006 (2:58 pm)
Differences in world coords and canvas coords You could set your camera size to be the same as your video resolution. Then you have to set the cam... read more 08/25/2006 (9:03 am)
For TGB Pro users: t2dTextobject That certainly also seems to fix the problem. Is there any problem with eliminating the conversion f... read more 08/24/2006 (9:03 am)
For TGB Pro users: t2dTextobject I'm getting around the problem by changing getText to look like: [code] const char* t2dTextObjec... read more 08/23/2006 (10:58 pm)
For TGB Pro users: t2dTextobject There seems to be a bug in this resource where calling "setText()" before you have set the text will... read more 08/23/2006 (10:27 pm)
How do you get the total frames in a t2dStaticSprite Glad you got what you need! I missed it the first time too...... read more 08/21/2006 (6:04 pm)
How do you get the total frames in a t2dStaticSprite Run a dump on your image map datablock object. You'll see a method named getFrameCount. Try that.... read more 08/21/2006 (9:37 am)
Mount point legs to body Set the values of the link point coordinates to be larger than 1. You'll probably have to crack open... read more 08/21/2006 (9:31 am)
How do you get the total frames in a t2dStaticSprite Why not just add it as a dynamic field?... read more 08/21/2006 (12:20 am)
Mount point legs to body Instead of changing the size of the legs image you can just move the mount point down below the body... read more 08/21/2006 (12:10 am)
Reloading a GUI for editing? The center dropdown in the gui editor shows all available gui objects in the current scope of your p... read more 08/21/2006 (12:08 am)
Can;'t keep TGB from coming up fullscreen Ok, I would be pretty sure the 9600xt supports windowed mode. I was just wondering if you were using... read more 08/19/2006 (9:50 am)
Can;'t keep TGB from coming up fullscreen It is certainly possible that your video card only supports fullscreen mode. If that is the case the... read more 08/19/2006 (9:39 am)
Adjusting rollout behaviour in level builder Or you can just go to the top of the file and do this: [code] 3 // if (%expanded $= "") [/cod... read more 08/17/2006 (8:29 am)
Adjusting rollout behaviour in level builder Yes if you have the source to the level builder. You can just change the argument where that rollout... read more 08/17/2006 (1:15 am)
Best level system? @DooGoG In TS there is no difference in efficiency between if statements and switch statements.... read more 08/16/2006 (8:08 pm)
Rotating Or eliminate the if statement for [code] %rotation = (%myObject.getRotation() + 90) % 360; %myObj... read more 08/15/2006 (5:19 pm)
Rotating @Nir Also you should use setRotation instead of just setting the rotation directly. [code] %myObj... read more 08/15/2006 (8:15 am)
Creating Scene Objects From Scene Objects What you're doing wrong: 1. You are including the object twice 2. You are passing script instead o... read more 08/15/2006 (8:13 am)
Messed-up Namespace Linkage The traditional static concept doesn't make sense in TS because TS is not OO. If you're thinking in ... read more 08/15/2006 (8:10 am)
Tile Selection [url=http://tdn.garagegames.com/wiki/TGB/Reference:_t2dTileLayer#pickTile.28.25position.29]Use this[... read more 08/14/2006 (5:29 pm)
Messed-up Namespace Linkage Two other points that I didn't mention the first time around. Your destroy method is also not imp... read more 08/14/2006 (8:12 am)
Adjusting the size of a gui window Call setText on the object by name. Say your parent guiControl is called "overlayWindow" and the 400... read more 08/14/2006 (12:37 am)
Messed-up Namespace Linkage It's the create method that is messing it up. Try renaming that to MySingleton_create() and it shoul... read more 08/13/2006 (5:32 pm)
How to use ScriptClass to extend a class? (solved) It gives you that error if you don't pass the 0 as an argument. If you pass the zero, you do not get... read more 08/13/2006 (9:54 am)
How to use ScriptClass to extend a class? (solved) Seriously man, then do it... In the console... [code] ==> function myClass::Create(%this) { ret... read more 08/12/2006 (10:06 am)
How to use ScriptClass to extend a class? (solved) In the console... [code] ==> function myClassCreate() { return new t2dStaticSprite() { class = "my... read more 08/11/2006 (5:24 pm)
How to use ScriptClass to extend a class? (solved) If you're going to do it through the console, you'll need to make sure to either return and assign t... read more 08/11/2006 (6:25 am)
How to use ScriptClass to extend a class? (solved) You have a few syntax errors in that sample there, but when I type it into my console correctly, I g... read more 08/10/2006 (8:28 pm)
How to use ScriptClass to extend a class? (solved) 1. There aren't any methods there for "myClass" to inherit. 2. myClass::create() is not a method of... read more 08/10/2006 (9:39 am)
16:9 Monitor Check out the new release of TGB and play with the "designed for" resolution of the camera.... read more 08/10/2006 (9:34 am)
How to use ScriptClass to extend a class? (solved) You get this order of namespaces: ObjectName -> class -> superclass -> engine types... read more 08/09/2006 (6:30 pm)
16:9 Monitor You can either change the screen resolution to a 4:3 size, or change the camera size to a 16:9 size.... read more 08/09/2006 (9:34 am)
Accesing information on a DB There are database resources available which probably have the information you're looking for. A qui... read more 08/08/2006 (9:57 am)
How to use ScriptClass to extend a class? (solved) Well, in that example you have already created an instance of ChildClass. The thing is, its class is... read more 08/07/2006 (10:52 pm)
Hex Tiles 1. A hex is convex. 2. True. You would need to implement this yourself.... read more 08/07/2006 (7:53 pm)
A descent lesson @Aaron Yes, many fond memories of Descent. Multiplayer was a blast with my Gravis Pheonix!... read more 08/07/2006 (7:40 pm)
How to use ScriptClass to extend a class? (solved) Well, nothing, unless you have reason to do so. When you call a method on an object it's going to ch... read more 08/07/2006 (4:57 am)
A descent lesson No CD came with your book? Post to the forums for the book, or check at his website to request help.... read more 08/07/2006 (4:46 am)
Array size You could also have a SimSet of SimSets which would be the same as a 2d array.... read more 08/07/2006 (4:44 am)
Gui Widget Resizing Oddness I remember seeing a recent post and explanation about this though I don't remember the reason. It ma... read more 08/06/2006 (11:31 am)
How to use ScriptClass to extend a class? (solved) You may be confusing TS with other OO languages. In langs like C++ and java, you have to have a clas... read more 08/06/2006 (11:27 am)
Check for object existence Checking for zero won't reliably work because you could just feed it a bogus id, say "3714", and it ... read more 08/06/2006 (11:22 am)
TGB Next version Wishlist @Corey As a workaround to a display on the level view itself, you can go to the edit tab and as you... read more 08/06/2006 (11:19 am)
Main.cs and game.cs, how's it done right? Start level is called like that so your last loaded level will be in the editor. Rewrite that whenev... read more 08/06/2006 (1:40 am)
How to use ScriptClass to extend a class? (solved) 1. You're not making an instance of ChildName of ChildClass, you're making an instance of ChildClass... read more 08/06/2006 (1:31 am)