Game Development Community

William Lee Sims's Forum Posts

Thread Post Date Posted
Can I tell what made TGB break? Do you mean TGB or your game? Either way, there is a file called "console.log" in both th... read more 11/12/2009 (5:57 am)
How to use pickRadius () ? There's a logic error. 1) Both objects are in the pick radius. 2) Object p2Character is found. ... read more 11/12/2009 (12:54 am)
Paths: Custom paths with callback OnUpdatePath? Yeah... I guess I assumed that Jordan wanted more information, but it looks like he was just looking... read more 11/11/2009 (9:56 pm)
How to use pickRadius () ? In your code, as long as ANY object is in your radius, you are modifying the p2Character. Inside yo... read more 11/11/2009 (9:54 pm)
Paths: Custom paths with callback OnUpdatePath? [url]http://docs.garagegames.com/tgb/official/content/documentation/Tutorials/Feature/Paths.html[/ur... read more 11/11/2009 (7:58 pm)
2 windows in a single scene? Have you tried [url=http://tdn.garagegames.com/wiki/TGB/MiniTutorials]the GUI tutorials[/url]? They... read more 11/11/2009 (7:54 pm)
I have found how to get animation frames count That's quite useful! If you do want to just set the last frame of an animated sprite, something t... read more 11/11/2009 (7:51 pm)
2 windows in a single scene? Ahhh! You should add both GUIs as children of another GUI. Then just do "Canvas.setContent(&l... read more 11/11/2009 (4:29 pm)
2 windows in a single scene? Make sure your scene windows don't use the GuiBlackContentProfile (you can just use the GuiContentPr... read more 11/11/2009 (4:13 pm)
2 windows in a single scene? Just create 2 t2dSceneWindows and load a different level into each!... read more 11/10/2009 (1:35 pm)
Found a perfect way to debug projects - and make your life easier! Binding it to a key is a brilliant idea, by the way!... read more 11/10/2009 (1:00 pm)
Main Menu Loading Levels Tutorial @Vladislav - Your problem is probably the same that Randy (the post just above you) had. I haven't ... read more 11/10/2009 (3:03 am)
can not locate the file created by openForWrite() [url]http://www.garagegames.com/community/forums/viewthread/102801/1#comment-681797[/url]... read more 11/10/2009 (12:59 am)
SetConstantForce() parameters x/y No problem!... read more 11/09/2009 (11:43 pm)
Found a perfect way to debug projects - and make your life easier! Really, Tyler? Where did I say that his code is useless? I really wish people would quit reading e... read more 11/09/2009 (11:40 pm)
Legality of shipping exposed torquescript? - Regarding saving to .cs files I just looked over the EULA, and I could only find the ban against delivering the in-game editors.... read more 11/09/2009 (8:05 pm)
Legality of shipping exposed torquescript? - Regarding saving to .cs files When T2D first came out, it was against the EULA to distribute the editors and ".cs" files... read more 11/09/2009 (8:03 pm)
Found a perfect way to debug projects - and make your life easier! How is this different from [url=http://tdn.garagegames.com/wiki/TorqueScript_Console_Functions_5#exe... read more 11/09/2009 (7:50 pm)
SetConstantForce() parameters x/y When I said "%ConstForceX SPC %ConstForceY", the quotes were not to be a part of that code... read more 11/09/2009 (6:29 pm)
Gravity Question I can't guarantee that I found everything, but here's a start: Line 15. $player.setConstantForce... read more 11/09/2009 (1:37 pm)
SetConstantForce() parameters x/y Sometimes the TGB engine is really nice and does allow you to pass in multiple parameters where only... read more 11/09/2009 (1:29 pm)
What would you like to see addressed in Torque 2D? The base engine should handle Alt-Tab, Ctrl-Alt-Del, etc. for Windows XP, Vista, and 7. The parti... read more 11/09/2009 (2:50 am)
Arrays and Data Structure Question I'd recommend reading over [url=http://tdn.garagegames.com/wiki/TorqueScript#Arrays:]the array secti... read more 11/08/2009 (4:28 pm)
How to BUILD PROJECT into a SINGLE executable FILE ? Take a look at [url=http://glintercept.nutty.org/index.html]GLIntercept[/url]. It allows anybody to... read more 11/08/2009 (4:21 am)
Simple scripting question Actually, Aun is correct. This is a trivial operation that a lot of game programmers pick up over t... read more 11/08/2009 (4:06 am)
Gravity Question I've not tried it, but, yeah, that's what I'd do.... read more 11/07/2009 (2:44 am)
Gravity Question You already set your force in the game (probably using setConstantForce). I would think you'd just ... read more 11/06/2009 (7:39 pm)
Loading Bar I'm glad you found a solution! If you have it there, it looks like your problem might be a lot of i... read more 11/05/2009 (2:24 pm)
Loading Bar The function [url=http://tdn.garagegames.com/wiki/TorqueScript_Console_Functions_5#exec.28_fileName_... read more 11/05/2009 (3:09 am)
Loading Bar The real work gets done in levelManagement.cs's t2dSceneGraph::addToLevel function. The file is loa... read more 11/05/2009 (12:40 am)
Loading Bar The for-loop that you are in will completely finish before any of the GUIs modified inside of it has... read more 11/04/2009 (8:00 pm)
The 24 Hour Game Experiment Excellent job, Bruno! I'm really impressed. If anything, you learned the limits of your abilities ... read more 11/04/2009 (3:54 am)
Bugg or intended design? Researching something else earlier today, I happened to stumble upon this [i]exact[/i] issue. I tuc... read more 11/02/2009 (9:36 pm)
TGB/360/PSK Question FruitBat! I thought you dropped off the face of the planet! Good to see you back! (Sorry, don't... read more 11/02/2009 (4:09 pm)
Clarification: script vs behavior vs code I never, ever, use the installed copy to do anything. To start each new project, I copy the entir... read more 11/02/2009 (1:48 pm)
Clarification: script vs behavior vs code Wow, that's a lot! I hope I can answer it all. [b]Scripting v. Behaviors[/b] I think you'll fin... read more 11/02/2009 (5:53 am)
How can I refer to an object's behavior / object's behavior field? To access the behavior of an object, you have to use "getBehavior(<BehaviorName>)". ... read more 11/01/2009 (11:40 pm)
How to use pickRadius () ? There are a thousand ways to do this, so it's hard to just say "here's how you do it." ... read more 11/01/2009 (11:17 pm)
How to use pickRadius () ? You actually need to call the pickRadius function on the t2dSceneGraph. [url]http://tdn.garagegam... read more 11/01/2009 (7:02 pm)
how to transform on object on TGB?? Do you mean the setTransform in TGE? The equivalent in TGB is setPosition.... read more 10/30/2009 (11:32 pm)
SetSize Takes Different Values Than Actual Image? I've yet to find a reason to have them different. Now, I do change the extents once the game is g... read more 10/30/2009 (3:13 pm)
Windows 7 compliance I've only just installed Windows 7 on one machine, but it sounds like the "Failed to open main.... read more 10/30/2009 (12:44 pm)
Particle effect rotation through script All of the following assumes that you really want to modify the Emitter and not the Effect. If yo... read more 10/30/2009 (6:12 am)
SetSize Takes Different Values Than Actual Image? If you click on "Project", select the t2dSceneGraph, click on "Edit", you can ch... read more 10/30/2009 (5:59 am)
Out of date documentation, dead links, etc - what's up GarageGames? You are welcome, Oriol! I've been sneaking peeks at other engines recently and have been surprise... read more 10/30/2009 (5:54 am)
Torque for Wii When I looked at becoming a Nintendo developer, they required a physical office with the ability to ... read more 10/30/2009 (5:42 am)
Creating An Object In Code - (Warning! 3 Newbie Questions!) Exactly... it does have to be called using the variable name, but it used the class name to determin... read more 10/28/2009 (6:16 pm)
Creating An Object In Code - (Warning! 3 Newbie Questions!) Just to help you out, I want to point out that "$playerDeathray" will be available through... read more 10/28/2009 (4:23 pm)
Quick Eyed Professor First, the title of this post says nothing at all about what is inside the post. Second, none of ... read more 10/28/2009 (6:02 am)
Using onUpdate to apply movement In what way was it not working? Was your player not rotating? Was it not moving? Did you put ec... read more 10/28/2009 (4:41 am)