Game Development Community

Phillip O'Shea's Forum Posts

Thread Post Date Posted
Camera Size wrong? If you also echo the current camera area, then deduct the max from the min points, you will see that... read more 12/10/2007 (3:31 pm)
Curved Ground Surfaces Slopes and curved platforms are definately possible, all it is is basic maths. No engine mods nee... read more 12/08/2007 (6:40 pm)
Pivot point move Nope, it messes with collisions so they didn't implement it.... read more 12/08/2007 (4:58 pm)
Accessing script variable from engine code? Thats the way I do it. If you were going char -> int or something, I think there are functions to ha... read more 12/08/2007 (3:36 pm)
Writing files to a releative path There is a problem with writing files at the moment. You're probably best off waiting a few weeks fo... read more 12/07/2007 (2:51 pm)
Passing an object from script to C You need to find the object using its ID value. I'm assuming that %secondObject will contain the ID ... read more 12/07/2007 (2:23 pm)
TGB and handling variable data best method. In terms of having multiple player types, you can always try sceneObject datablocks to store specifi... read more 12/07/2007 (2:11 pm)
How would this work in TGB? Large Worlds I'm sure it is possible, but I'm sure it would be quite hard to implement and would probably require... read more 12/05/2007 (12:42 pm)
Ask GarageGames Edel, your questions have been raised by a lot of people. In response to your documentation question... read more 12/03/2007 (9:39 pm)
Stuttering Spaceships - should I be using a 'Tick'? There is a bug with TGB when the camera is mounted to an object. If you have your camera mounted to ... read more 12/03/2007 (8:11 pm)
Locking Mouse [quote]I know there's a way to clamp, because in the builder when you maintain the right mouse butto... read more 12/03/2007 (2:39 am)
Index out of range and parse error If I get errors like that, which I cannot find, I throw echo's before each of the instances where th... read more 12/02/2007 (11:39 am)
Locking Mouse I don't see anything wrong with locking the mouse during gameplay, and releasing it when paused. Pro... read more 12/01/2007 (1:41 pm)
Tetris Turtorial In the console (when your game is running), type: [code] echo(isObject(WellTileMap)); [/code] ... read more 11/29/2007 (11:26 pm)
Cloest Object in Collision You can always use the VectorDist function to find the distance between two points. It sounds to me ... read more 11/29/2007 (1:34 pm)
Torque X 3D Beta Is Here It keeps saying "Invalid Key" when I open up the builder then shuts down. I'm using the key from my ... read more 11/29/2007 (3:54 am)
Offsets and rotated objects If you mount something, you can specify a link point, either that or specifiy your own internal offs... read more 11/28/2007 (3:04 pm)
TGB: %this.name does not work? I think if you assign a name to an object, the object's ID becomes that name. So, when an object is ... read more 11/27/2007 (11:10 pm)
Overlapping collisions with simple scene Turn recieve physics off on the blocks. It will mean that physics wont be updated when a collision i... read more 11/27/2007 (11:50 am)
What you want in Documentation? AI is more of a logic thing that is specific to the type of game that you are creating. For example,... read more 11/26/2007 (11:35 am)
Speeding up/Slow down I don't think there is a built in way of doing it, but you could 1/2 ass it =P [code] function S... read more 11/26/2007 (12:05 am)
Callbacks on end of behavior IsMethod is what I use, its an extra one line of code and makes things a lot more customisable.... read more 11/25/2007 (9:52 pm)
OffCollision? I think triggers would be a better option. Triggers basically just check to see if objects are withi... read more 11/24/2007 (9:56 pm)
Passing back an object If you want to return 4 items, then I sugges you try dSprintf. This is the general rule for returnin... read more 11/23/2007 (9:57 pm)
OffCollision? Triggers sound like a good idea for your circumstance. I think it would be ideal to do something lik... read more 11/23/2007 (9:19 pm)
Smooth music transactions Brian, that was for TGE, does it apply to TGB as well?... read more 11/22/2007 (1:38 am)
Smooth music transactions On the topic of sound, does anyone know how to have an object emit sound? So, when the camera moves ... read more 11/22/2007 (12:52 am)
New Editor Thanks for the support guys. I've still got a lot of work to do, so, if there is anything anyone wan... read more 11/20/2007 (9:57 pm)
Out of the loop - need assistant with new tgb Http://garagegames.com/products/torque/tgb/features/150changelist/ There you go!... read more 11/20/2007 (12:02 pm)
OffCollision? It sounds to me like you should be using triggers rather than collisions. If I am incorrect, the eas... read more 11/19/2007 (9:30 pm)
Static Sprite to Gui Here you go: [code] %t2dContainer = new guiT2DObjectCtrl() { RenderMargin = 3; extent = "... read more 11/18/2007 (5:21 pm)
Torque X/ TGB programmer for Master's Thesis Maybe you could explain a few details about what type of project you are working on? I have some ver... read more 11/16/2007 (7:03 pm)
Problems with TGB compiled with VC++ 2005 Express You can't just open up TGBGame.exe because it tries to launch the game in the file's directory. So, ... read more 11/16/2007 (6:15 pm)
Ninja Platform game sprite score system attempt You can always import a new font if you want to use a t2dTextObject and if you want colored text, th... read more 11/13/2007 (4:09 pm)
Plaformer Community projects rarely work. I advise you to look at the simple platformer game and try to unders... read more 11/13/2007 (12:14 pm)
Help with *Animations [code] if (true) { %this.CurrentState = %this.newState; %this.owner.playAnimation(%this.CurrentSt... read more 11/12/2007 (6:19 pm)
Camera Problems [quote] Camera X:512 Y:384 Width:1024 Height:768 Design Resolution X: 800 Y:600 [/quote] I do n... read more 11/12/2007 (6:16 pm)
Documentation Update Do you have any specific questions? The forum can be a really good place to get many of your questio... read more 11/12/2007 (11:30 am)
Text object Thats a really nice little function Dmitriy, thanks for that. Did you get the email that I sent you?... read more 11/12/2007 (2:06 am)
Help with *Animations Sorry, I forgot to mention that you need to add an initial state. Just put the following line of cod... read more 11/11/2007 (8:54 pm)
Help with *Animations One of the best methods is where you only change the animation when you want to to change, not every... read more 11/11/2007 (6:20 pm)
TGB 1.5 and cout - linker error? You dont use cout for output in TGB. To output stuff to the console, you can type "Con::printf("lala... read more 11/09/2007 (12:41 pm)
I lost my checkers tutorial Download 1.1.3, 1.5 does not include it because it is probably outdated.... read more 11/08/2007 (12:43 pm)
Text object X = 1600/8 = 200 Y = 1200/8 = 150... read more 11/08/2007 (12:40 pm)
Text object If you change the size of the camera, you should keep the ratio of the display resolution in the sam... read more 11/08/2007 (3:32 am)
Text object If you change the camera size, you need to change the display resolution in the same ratio. This is ... read more 11/08/2007 (2:27 am)
Certain key combinations not working Yes, I have found this problem also. As well as the SPACE key not registering on some Mac machines. ... read more 11/08/2007 (1:32 am)
Text object I'm pretty sure that the 8px = 1unit thing is standard regardless of the camera size.... read more 11/08/2007 (12:16 am)
Text object Yup. Your text objects have a default height of 10.0 units (or 80px). The actual font size they u... read more 11/07/2007 (7:28 pm)
Dynamic Fields associated with Camera or Scene Graph I think you could have also used: [code] echo( sceneWindow.sceneGraph.startLocX ); [/code] I... read more 11/06/2007 (2:47 pm)