William Lee Sims's Forum Posts
| Thread | Post | Date Posted |
|---|---|---|
| Object query for Behaviour | I think you're looking for "getBehaviorCount()" and "getBehaviorById()".... read more | 07/27/2010 (5:32 pm) |
| Last topic direct access | This exact post has been brought up in the Associate's Forums, which has been read by TP (and the we... read more | 07/26/2010 (6:28 pm) |
| Camera rotation request | Torque2D is still in development.... read more | 07/26/2010 (5:44 pm) |
| Negating a Behaviors impact. | While I've never used iTGB, I feel that I can say with 99.9% confidence that behaviors will only run... read more | 07/26/2010 (3:32 am) |
| Move Group of Objects | Don't forget that mounts are in the range of [-1,1]. One thing I'm currently doing is to make the... read more | 07/26/2010 (3:26 am) |
| Negating a Behaviors impact. | The TGB engine doesn't run all behaviors at all times. It only runs behaviors that are attached to ... read more | 07/25/2010 (4:48 pm) |
| Particle Orientation: Aligned | I always resort to code to get this to work: [code] %s = new t2dParticleEffect() { sce... read more | 07/25/2010 (4:31 pm) |
| Background datablock loading?? | For image datablocks, I think you have to have the allowUnload flag set. For audio datablocks, it d... read more | 07/25/2010 (4:03 am) |
| t2dVectorNormalise | You can assign any vector. For example, you might normalize the velocity and then scale it by, sa... read more | 07/24/2010 (10:02 pm) |
| Move Group of Objects | You can make drag a t2dSceneObject out into your scene and then attach all of the HUD elements onto ... read more | 07/24/2010 (6:54 pm) |
| Messaging structure | I have a game where each object has a state machine and there is a global message system integrated ... read more | 07/24/2010 (5:52 pm) |
| t2dVectorNormalise | It only gives that error if you pass in a string with only one number: t2dVectorNormalize( "... read more | 07/24/2010 (5:45 pm) |
| Minimum Requirements | I usually just have a bunch of people play, tell me the responsiveness and their specs. TGB can run... read more | 07/24/2010 (5:43 pm) |
| Jigsaw mask | With the source code and a little OpenGL, it's not too hard to do this. I created a JigsawPiece tha... read more | 07/23/2010 (3:41 pm) |
| Jigsaw mask | Test. (I'm not going to re-type my reply unless this works.)... read more | 07/23/2010 (3:37 pm) |
| Background datablock loading?? | In my current game, I do load image datablocks on a per level basis. There are about 50-ish unique ... read more | 07/23/2010 (4:09 am) |
| Collision and trigers | Melv May has written up a very concise article that fully explains the send/receive collision code: ... read more | 07/22/2010 (8:34 pm) |
| Help need help with switching scenes | Learn about loading levels: [url]http://www.torquepowered.com/community/forums/viewthread/111985/1#c... read more | 07/22/2010 (8:27 pm) |
| Stop mouse event propagation [solved] | Instead of using mouse events on the objects, you can use mouse events on the scene window instead. ... read more | 07/21/2010 (11:32 pm) |
| Checking a inventory variable for true or false | I'm not positive, but based upon you "decInventory" line, do you mean for the if-statement... read more | 07/16/2010 (5:15 pm) |
| window starts stretched!!! | Odd, but good, I guess!... read more | 07/16/2010 (6:39 am) |
| Level editor, TorqueScript, licensing and details on cross-platform compatibility | 1) As for Windows/Mac, it's fairly easy. When coding in C++, you'll use functons like "dStrlen... read more | 07/16/2010 (1:13 am) |
| Wierd Crash Problem | Sorry, but I'm a little confused by the question. Are you wondering how you can keep the commonCo... read more | 07/16/2010 (12:55 am) |
| New here, issues right out of the box. Can't even load demos. | Have you ever tried Torque before? There were some issues (which I thought were Windows specific, b... read more | 07/16/2010 (12:52 am) |
| window starts stretched!!! | I can't say that I've seen or heard of this problem. After you run your game, bring up the console ... read more | 07/16/2010 (12:45 am) |
| a huge behavior relying on schedule currently unreliable. | [url=http://www.torquepowered.com/community/forums/viewthread/115963/2#comment-752319]Quick example ... read more | 07/16/2010 (12:41 am) |
| Difference between with and without source | Also, there was a discussion about the benefits of having the source code several months ago. You c... read more | 07/11/2010 (2:45 pm) |
| Difference between with and without source | You can most definitely write a game without the source code. In fact, almost all of my games start... read more | 07/11/2010 (2:44 pm) |
| GuiBitmapButton animation [solved] | Your files should be named "bitmapName_h.png", "bitmapName_d.png", etc.... read more | 07/09/2010 (10:25 am) |
| Data matching question (maths problem) [SOLVED] | I thought of one more thing... First, encode each answer into it's own column (Q1, Q2, Q3, etc.).... read more | 07/08/2010 (4:30 pm) |
| Data matching question (maths problem) [SOLVED] | What if I match perfectly on the top 26 bits, but only 33 of the bottom 34 bits? I'd have 59/64 mat... read more | 07/08/2010 (11:11 am) |
| Data matching question (maths problem) [SOLVED] | It seems like your "Result += (int)value > 128;" is only testing that the highest singl... read more | 07/07/2010 (7:43 pm) |
| Data matching question (maths problem) [SOLVED] | If "no"s are matches (which I assumed above), you should be careful. Say, in 8 bits, yo... read more | 07/06/2010 (9:14 pm) |
| Data matching question (maths problem) [SOLVED] | If you encode the answers as a binary number, you could potentially get some help from your database... read more | 07/06/2010 (12:47 pm) |
| OnUpdateScene() is called multiple times in one frame? | Next to the "Add Your Reply" is a link to show MarkupLite. Specifically for code, you beg... read more | 07/06/2010 (10:41 am) |
| OnUpdateScene() is called multiple times in one frame? | It's okay for a game timer. You'll just need to realize that sometimes the time returned will be 0.... read more | 07/05/2010 (7:21 pm) |
| OnUpdateScene() is called multiple times in one frame? | Something else I just thought of: What are you using the time since last frame for? It might be ... read more | 07/05/2010 (10:57 am) |
| OnUpdateScene() is called multiple times in one frame? | Everything is right here. onUpdateScene() gets called before each frame is rendered. getSceneT... read more | 07/05/2010 (10:55 am) |
| 5 star games | If I could play a game that game me a truly unique experience, I might consider it. Let's say it'... read more | 07/04/2010 (12:26 pm) |
| ScrollTo( ) -- combination dial scrollers | If you create a graphics that has your 0-9 in a vertical strip, you should be able to use the source... read more | 07/03/2010 (8:17 pm) |
| 5 star games | What kind of game would you play that cost $100? $250? $1000? I'm in the middle of a large multi-... read more | 07/02/2010 (9:09 pm) |
| Prevent selection in GuiMLTextCtrl ? | I was under the impression that if you set the GuiMLTextCtrl to inactive [by calling "obj.setAc... read more | 07/02/2010 (1:28 pm) |
| Optimization Tips | If I'm manipulating a list of objects, it'll run a lot faster if you process the objects all at once... read more | 07/02/2010 (1:25 pm) |
| Optimization Tips | Often people are simply trying to find a well-defined algorithm. If you can recognize this, then yo... read more | 07/02/2010 (1:18 pm) |
| GuiMLTextCtrl | Great! Good to hear that!... read more | 06/30/2010 (12:03 am) |
| Array of scene objects - how to set up and manipulate? | No problem!... read more | 06/29/2010 (12:48 pm) |
| GuiMLTextCtrl | And yeah, I agree about the look. Plus, you can easily create drop shadows, different font sizes, a... read more | 06/29/2010 (12:47 pm) |
| GuiMLTextCtrl | Try using "tutText.setText( "testing testing" );" to see if that helps. I also ... read more | 06/29/2010 (12:46 pm) |
| Array of scene objects - how to set up and manipulate? | A really good place to put this code is in the scene callbacks for the specific scene you are creati... read more | 06/29/2010 (11:00 am) |
| GuiMLTextCtrl | Nothing seems obviously wrong. I'd first check that the scene object you are attaching to "tut... read more | 06/29/2010 (10:52 am) |