William Lee Sims's Forum Posts
| Thread | Post | Date Posted |
|---|---|---|
| Flood Fill in TileLayer | Doh! As always, I forget something silly. At the end of the "floodFill" function, add ... read more | 02/26/2010 (3:01 pm) |
| Flood Fill in TileLayer | That's a pretty fun little game you've got there! In general, recursion is your friend in these s... read more | 02/26/2010 (2:35 pm) |
| Flood Fill in TileLayer | Are you clicking on a tile map and wanting it to fill with a specific sprite until it hits boundarie... read more | 02/26/2010 (12:29 pm) |
| swapping weapons with mounting | Learning through visual and repetition is definitely valid. I really don't mean to disparage your e... read more | 02/25/2010 (10:05 pm) |
| swapping weapons with mounting | The short answer is yes. "%" is the modulo operator, as in "5 mod 3 = 2". No... read more | 02/25/2010 (4:55 pm) |
| swapping weapons with mounting | As it stands, no. That's why I said [quote]In the case of picking up weapons, you'll need more var... read more | 02/25/2010 (2:55 pm) |
| swapping weapons with mounting | Using variables would be one way of doing it. For example [code] $WEAPON::Pistol = 0; $WEAPON::M... read more | 02/25/2010 (1:16 pm) |
| Torque Game Builder or Torque 2D so which is it? | Also, just to confuse matters, I'll say "TGB" when I'm referring to the builder and "... read more | 02/25/2010 (12:36 am) |
| DTS and Mount Points - Any Advice, Info, War Stories? | Did you mean for this to be in the TGEA forums?... read more | 02/24/2010 (10:46 pm) |
| swapping weapons with mounting | Yes, you can create a player without arms and then mount arms/weapons to create the effect you want.... read more | 02/24/2010 (10:44 pm) |
| GetCurrentCamera* with ViewLimit bug | In "onRender" about a dozen lines down, it calls "calculateCameraView". That's ... read more | 02/24/2010 (6:08 pm) |
| GetCurrentCamera* with ViewLimit bug | I haven't encountered this bug, but looking through the source code, I can see that it does exist. ... read more | 02/24/2010 (2:12 pm) |
| [resolved]mouseUp works on 1, but not 2 or 3 question | It depends upon what "someTypeOfCommandWithParensAtEndForAReturn()" is. If it returns a v... read more | 02/24/2010 (1:55 pm) |
| Comments are ordered incorrectly | It seems like the date-time stamp on the post was set in the past and that the forum sorts by that. ... read more | 02/24/2010 (1:02 pm) |
| [resolved]mouseUp works on 1, but not 2 or 3 question | If you get an error message, you did something wrong. That's what error message are for. If you ... read more | 02/24/2010 (11:43 am) |
| [resolved]mouseUp works on 1, but not 2 or 3 question | The function "dismount" doesn't return anything that echo could print out.... read more | 02/24/2010 (1:58 am) |
| [resolved]mouseUp works on 1, but not 2 or 3 question | [THIS IS ORDERED WRONG! HOW COULD THIS HAPPEN? ANYWAY... THIS CAME AFTER YOUR POST #6.] To make... read more | 02/23/2010 (12:53 pm) |
| How To? for mac | If you write the game entirely in the scripting language (TorqueScript), there's really nothing that... read more | 02/23/2010 (7:02 am) |
| [resolved]mouseUp works on 1, but not 2 or 3 question | If the second and third ones aren't working, try to find out which if-statement is causing the probl... read more | 02/23/2010 (1:24 am) |
| [resolved]mouseUp works on 1, but not 2 or 3 question | I think something went severely wrong when you copied in the code. You might try again.... read more | 02/23/2010 (1:14 am) |
| can i pass a scheduled function to another behavior? | No, that's not normal. In fact, it is virtually impossible for a reboot to cause code to start work... read more | 02/23/2010 (1:12 am) |
| Animations wont play | Just to make sure, did you do this? [code] function BunnyMovementBehavior::updateMovement(%this) ... read more | 02/22/2010 (8:45 pm) |
| Splash screen source... | Funny... I just looked at the "Management" page and saw your picture. I told my partner, ... read more | 02/22/2010 (7:43 pm) |
| Splash screen source... | I just tried out the game. Very nice! How did you integrate the Facebook API? Did you roll your... read more | 02/22/2010 (7:24 pm) |
| Help scaling rotation speed to object size | It's good to hear that it performs fast, too! I was playing with the code a tiny bit (it's some f... read more | 02/22/2010 (7:03 pm) |
| Help scaling rotation speed to object size | Excellent code! I might have to borrow this for my Touch Table project. I put two different sized ... read more | 02/22/2010 (6:20 pm) |
| Help scaling rotation speed to object size | If I'm understanding correctly, you just want to make the speed the same, regardless of the radius? ... read more | 02/22/2010 (5:54 pm) |
| TGB vs T2D and other questions . . . | The best advice I ever read on these forums was to pick an engine and stick to it. If you've got a ... read more | 02/22/2010 (5:42 pm) |
| Splash screen source... | Do you mean the logo kits? They are udner Company > Logo Kits.... read more | 02/22/2010 (5:31 pm) |
| Creating a behavior? | You should check out the behaviors at TDN: [url]http://tdn.garagegames.com/wiki/TGB/Behaviors[/url].... read more | 02/22/2010 (3:02 am) |
| Animations wont play | You could try calling it at the end of your "updateMovement" function.... read more | 02/22/2010 (2:59 am) |
| Animations wont play | I don't see when you ever call the "Animation" function. You should check the "Mar... read more | 02/21/2010 (11:19 pm) |
| [resolved] onCollision or lack there of creates object | Your "onCollision" function is obviously expecting to collide with many different things. ... read more | 02/20/2010 (6:52 pm) |
| Problems With Collision Layers | Did you ever find the answer? I don't use collision layers often enough to know the answer with c... read more | 02/19/2010 (4:58 pm) |
| Moving a object back after using SetForwardSpeed | No, no, no, and no. Seriously, though, it's very poor form to post over and over. Some questions... read more | 02/19/2010 (4:09 pm) |
| MOving an object based upon its rotation | You probably want the functions "setForwardMovementOnly" and "setForwardSpeed". ... read more | 02/19/2010 (4:40 am) |
| Switching Weapons | Like almost all programming tasks, there are dozens of ways to do this, and probably 6 very good way... read more | 02/19/2010 (1:22 am) |
| How to change order of emitters in editor ? | Ready for some ickiness? 1) Bring up TGB and add your particle effect to the scene. 2) Click on ... read more | 02/18/2010 (10:17 pm) |
| Need help rotating an object around an arbitray point. | Have you seen [url=http://www.torquepowered.com/community/forums/viewthread/110423]this thread[/url]... read more | 02/18/2010 (3:11 am) |
| Can I set a class's parent in scriot | You mean this? [code] new ScriptObject(Whatever) { class = JigglyPoof; }; [/code]... read more | 02/18/2010 (1:04 am) |
| How to save and load that level | I really, really like to make a ScriptObject and put all of my game's state variables in there. The... read more | 02/17/2010 (4:43 pm) |
| I need help with rotating a mounted object | I've only ever had to do that once, but this is what I did: For the sake of the description, let'... read more | 02/17/2010 (4:34 pm) |
| Inconstant orbit | You can find some good suggestions here: [url]http://www.torquepowered.com/community/forums/viewthr... read more | 02/17/2010 (2:01 am) |
| I need help with rotating a mounted object | I just double checked my code. Make sure that under "Mounting" that "Track Rotation&... read more | 02/16/2010 (5:09 pm) |
| Insert Name | The simplest way is to build a window in the GUI editor and present that for name entry.... read more | 02/15/2010 (9:53 pm) |
| function crashing game, not sure why | Your code is making the following chain of function calls: 1 -> 2 -> 3 -> 4 -> 1 ->... read more | 02/15/2010 (9:50 pm) |
| about behaviors | Virtually all of them are called from the engine. For example, onBehaviorAdd is called from source/... read more | 02/15/2010 (6:07 am) |
| Dynamic GUI not remove from memory | When you call "exec" on the ".gui" file that contains your GUI, it is new'd up t... read more | 02/15/2010 (12:58 am) |
| A Question about a new TGB kit | A-----A-------A-------------A----- --A------A-------A----A--A-------A--- ... read more | 02/14/2010 (1:14 am) |
| Double tap the fire button for special attack. | John's suggestino still applies. You pretty much need to follow these steps: 1) Make a global va... read more | 02/13/2010 (3:09 am) |