William Lee Sims's Forum Posts
| Thread | Post | Date Posted |
|---|---|---|
| Confused on Torquescript vs C# | It's an unfortunate coincidence. TorqueScript is a C-like scripting language. TorqueScript is olde... read more | 03/21/2010 (7:30 pm) |
| managing enemies appearance thru out level | Early optimization is the root of all evil. Make your game first. If there is a memory or speed is... read more | 03/21/2010 (7:27 pm) |
| Unable to find trigger functions | Does $blackHole not have the GravityBehavior attached to it? If not, then your "spawnGravity2&... read more | 03/19/2010 (9:51 pm) |
| Where do I put the Alxplay? | Why not put it at the spot where you clone a projectile and send it on its way?... read more | 03/19/2010 (6:46 pm) |
| GuiTextListCtrl (changing background color) | It looks like you need to set "mouseOverSelected = true;" in the gui profile. Then the bo... read more | 03/19/2010 (3:46 pm) |
| Unable to find trigger functions | Try this instead: [code] $blackHole.getBehavior(GravityBehavior).spawnGravity2(); [/code] Let me... read more | 03/19/2010 (12:12 am) |
| audio question, just out of curiosity | Yes and no. You can modify existing sounds through OpenAL calls that are accessible from the script... read more | 03/18/2010 (3:39 pm) |
| About Gui( Noob ) | You can find information about building GUIs on TDN, for example [url]http://tdn.garagegames.com/... read more | 03/17/2010 (11:33 pm) |
| a way to make player move only along 2 axis' | If you click on a sprite in TGB and go to the "Edit" panel, scroll to the bottom. You can... read more | 03/17/2010 (1:46 pm) |
| vector questions | Asking whether TGB does normals or normalized is a silly question as math is just math. t2dVector... read more | 03/17/2010 (1:22 pm) |
| a way to make player move only along 2 axis' | Let's store the player's position in global variables: $playerRow and $playerCol. I'll assume your ... read more | 03/17/2010 (12:04 am) |
| Looking for finished games and prototypes | I'm curious, and maybe somebody at GG can answer, but can a company or person who doesn't have a lic... read more | 03/16/2010 (11:48 pm) |
| editing bits throughout world space | I can't tell, but are you just wanting to pan around in TGB? Hold down the right mouse button and d... read more | 03/16/2010 (11:47 pm) |
| Oh man Oh man!! I have a report due in the morning!!! please assist!! | If you put your code between "code" tags (click on the "MarkupLite is enabled"),... read more | 03/16/2010 (11:45 pm) |
| a way to make player move only along 2 axis' | When writing games, one often-used pattern is Model-View-Control. First, you write code which mod... read more | 03/16/2010 (2:36 pm) |
| Help in Torque 2D? ASAP (it's for school) | It's okay to delete .dso files. You just don't want to delete the .cs files. If nothing is worki... read more | 03/14/2010 (11:03 pm) |
| How to add new level? Help.... | I'll help anytime I can! I'm just saying that if you have a project due in 2 months and you don't... read more | 03/12/2010 (4:46 am) |
| How to make a simple game menu? | A good place to start is the BehaviorPlayground "game" that comes with the engine. You sh... read more | 03/10/2010 (6:43 pm) |
| can an object allow for another object to use mouseEvents? | While I've not tested your code, the concept will work. Make sure that you turn off mouse events wh... read more | 03/10/2010 (3:58 pm) |
| Randomizing/Increasing the Difficulty of a Map | Are you talking about a Mario-style platformer or a game like "Doodle Jump"? It probably ... read more | 03/10/2010 (3:56 pm) |
| SOLVED: Adding new .cc files, more to it than drag and drop? | It's exactly the same file, just renamed. I put a post-build step in VS to copy TGBGame.exe over in... read more | 03/10/2010 (12:42 pm) |
| KeyBindings? | I was under the impression from previous work that a shift, control, or alt key couldn't be bound di... read more | 03/10/2010 (12:31 am) |
| SOLVED: Adding new .cc files, more to it than drag and drop? | Also, if you copied the executable to your game directory and are running it from there, you'll need... read more | 03/10/2010 (12:25 am) |
| i know this sounds basic but... | Without knowing what you put into the "waitPos" field of your behavior, I don't think anyb... read more | 03/09/2010 (12:34 am) |
| LevelButton behaviour on TDN not working? | You should not just type a random level name into the "onMouseUp" function. When you atta... read more | 03/09/2010 (12:13 am) |
| Using %modifiers with the onMousedown function | Also, to be complete: [code] Global Script Varaible Code Constant Value -------------------... read more | 03/07/2010 (10:00 pm) |
| Using %modifiers with the onMousedown function | Make sure you are testing against bits. For example, Left Shift is 1, shifted left 0 times (thus &q... read more | 03/07/2010 (9:51 pm) |
| Fonts not showing up (or garbled) on certain computers, randomly | Is this problem in the t2dTextObject or with the gui* classes? Also, by garbled, do you mean blocky... read more | 03/06/2010 (12:35 am) |
| Fonts not showing up (or garbled) on certain computers, randomly | I've had text not showing up. In that case, make sure that the font is installed on all of the comp... read more | 03/05/2010 (10:31 pm) |
| %this.schedule(...) doesn't work | How do you originally call this function? The error message implies that the variable "%this... read more | 03/05/2010 (7:53 pm) |
| Torque Game Builder or Torque 2D so which is it? | I doubt that support for TGB will completely dry up when T2D is released. The TGE forums, the "... read more | 03/05/2010 (7:44 pm) |
| Connecting database to TGB | Yep, it is.... read more | 03/05/2010 (12:47 am) |
| namespace link | I think this post sums up the error nicely: [url]http://www.torquepowered.com/community/forums/viewt... read more | 03/04/2010 (7:55 pm) |
| Connecting database to TGB | There might be a language barrier, but I'm not certain I understand your last question. With ever... read more | 03/03/2010 (11:37 pm) |
| DTS and Mount Points - Any Advice, Info, War Stories? | I've only every used the t2dShape3D object once before. But as I remember it, the mount nodes were ... read more | 03/03/2010 (1:09 pm) |
| Adding images to GuiMLTextCtrl? | Just add something like the following to the text passed to the GuiMLTextCtrl: [code] <bitmap... read more | 03/03/2010 (1:01 pm) |
| Constant Force Effects and Calculations | Something to try is to set the forces to be gravitic. All this means is that it ignores the mass of... read more | 03/03/2010 (1:08 am) |
| swapping weapons with mounting | Your concept would work.... read more | 03/03/2010 (12:51 am) |
| all work in editor vanished | To heavily paraphrase Melv: If TGB randomly deleted all of your work, it wouldn't be of any use. I ... read more | 03/03/2010 (12:47 am) |
| Connecting database to TGB | You state: [quote]I used MySQl database to store the username and questions for the player.[/quote]... read more | 03/03/2010 (12:40 am) |
| How to add new level? Help.... | Is it just me, or is there a lot of people using TGB for their senior projects or college projects w... read more | 03/03/2010 (12:29 am) |
| iTGB - Load last scene (level) | I don't know the iPhone at all, but can't you just write a file with the name of the last level play... read more | 03/01/2010 (11:41 pm) |
| Fear of Floating (torque 2D game). Need some comments and critcs... | That little poof-ball is adorable! Without playing, I can't be certain that this suggestion will ... read more | 03/01/2010 (6:34 pm) |
| Synching A Game Score To Custom Imagery | The code for de-blurring text is very old. I wrote it once and left it alone. The code has been se... read more | 03/01/2010 (4:15 pm) |
| Synching A Game Score To Custom Imagery | It should be fairly obvious why you wouldn't want to make an image per score. If you game could run... read more | 03/01/2010 (4:10 pm) |
| Synching A Game Score To Custom Imagery | To de-pixelate the text, throw the following code somewhere in your scripts: [code] function t2d... read more | 02/28/2010 (11:35 pm) |
| Synching A Game Score To Custom Imagery | It sounds like you want are bitmap fonts. I've never used the resource, but it sounds like people... read more | 02/28/2010 (9:54 pm) |
| stopContantForce() does it work? | I just tested the constant force functions and they worked perfectly. Are you expecting the objec... read more | 02/27/2010 (10:55 pm) |
| swapping weapons with mounting | I've never seen any full-up tutorials on mounting objects. You can get the basics at [url]http://td... read more | 02/27/2010 (5:56 pm) |
| Flood Fill in TileLayer | Even if it isn't your idea, at least you're trying to learn as much as possible. Looking at your co... read more | 02/26/2010 (4:20 pm) |