Mike Lilligreen's Forum Posts
| Thread | Post | Date Posted |
|---|---|---|
| best way to determine on what side the player was hit on? | I guess I only have myself to blame for this mess. ;) Let's start... [quote]regarding collisionCa... read more | 03/24/2010 (1:42 pm) |
| Official TGB Documentation Feedback | Cydney, As you are technical writer, I'd certainly be interested in your opinion on a set of vide... read more | 03/24/2010 (11:16 am) |
| best way to determine on what side the player was hit on? | You can determine what side of an object has received a collision with %normal parameter from onColl... read more | 03/24/2010 (11:04 am) |
| Getting a name | The name of an object in a datablock is contained within the parenthesis. For example, an object nam... read more | 03/23/2010 (10:47 am) |
| in an onCollision can i... | For the second part of your question, again what you did is fine syntax-wise. You just need to make ... read more | 03/22/2010 (3:43 pm) |
| in an onCollision can i... | You have a few errors. First, you're not passing a variable to the doThis function. You need to put ... read more | 03/22/2010 (3:35 pm) |
| in an onCollision can i... | You don't need %this in onCollision since you have both the object sending the collision %srcObject ... read more | 03/22/2010 (11:13 am) |
| Tiled map editor? | Perhaps I don't fully understand your question, but here's my attempt to answer: Tile maps and la... read more | 03/19/2010 (9:44 am) |
| Particle Editor - where is it to be found? | If it helps, here is a [url=t2dtutorials.com/videos/8]video tutorial[/url] which details using the p... read more | 03/19/2010 (9:18 am) |
| Oh man Oh man!! I have a report due in the morning!!! please assist!! | Well, a bit late for your deadline - but why delete the character at all? All you have to do is disa... read more | 03/17/2010 (11:52 am) |
| imageMap boundaries only at 90 degrees? | Even though the bounding box of an image is always a square, you can change the area where mouse cli... read more | 03/15/2010 (12:24 pm) |
| Help in Torque 2D? ASAP (it's for school) | Ok, what happens if you delete (or move to another folder) the script's .cs.dso file? When you write... read more | 03/14/2010 (2:05 pm) |
| (Solved) Where can I find an example of a finished player.cs for the shooter tutorial? | Well, Torquescript is not case sensitive, so pShip is the same as pship is the same as PSHIP. The... read more | 03/14/2010 (1:37 pm) |
| Help in Torque 2D? ASAP (it's for school) | Yes of course, I have no problem helping out. I'm sure you've heard of the Chinese proverb: Give a m... read more | 03/14/2010 (11:47 am) |
| Help in Torque 2D? ASAP (it's for school) | As basic theory, yes you are on the right track. But if you type in the code exactly as you posted, ... read more | 03/14/2010 (11:00 am) |
| Help in Torque 2D? ASAP (it's for school) | Well, if you don't want the idle animation to play when you release the button, remove it from those... read more | 03/14/2010 (10:22 am) |
| Help in Torque 2D? ASAP (it's for school) | You're welcome. :)... read more | 03/14/2010 (9:19 am) |
| Help in Torque 2D? ASAP (it's for school) | Between the PlayerRight and PlayerLeft functions you have a bool move = true;. Get rid of that as it... read more | 03/14/2010 (9:10 am) |
| Help in Torque 2D? ASAP (it's for school) | Look at what you wrote in the PlayerLeft function: [code]$Player.playAnimation(Player_RUNAnimation)... read more | 03/14/2010 (8:50 am) |
| Help in Torque 2D? ASAP (it's for school) | In the stop functions you a referring to the player object as %this.Player. Change it to $Player ins... read more | 03/14/2010 (8:40 am) |
| How to add new level? Help.... | Are you trying to create a new level? If so, then it is as William mentioned before. In the level bu... read more | 03/14/2010 (7:52 am) |
| (Solved) Where can I find an example of a finished player.cs for the shooter tutorial? | The player.cs file should look like this: [code]function playerShip::onLevelLoaded(%this, %sceneg... read more | 03/14/2010 (5:01 am) |
| Selecting Audio objects through the TGB editor? | Sadly something like this is not built in to TGB. There is a resource you can add as a Pro user howe... read more | 03/11/2010 (10:37 am) |
| can an object allow for another object to use mouseEvents? | I've never tried something like this, but in theory it should work. Personally, I wouldn't compare t... read more | 03/10/2010 (12:39 pm) |
| Negative Times in castCollision | Glad to see that you found a good solution. Thanks for sharing.... read more | 03/10/2010 (10:46 am) |
| KeyBindings? | I had never previously bound the shift key before, but I tried it out just a minute ago. It works, y... read more | 03/10/2010 (10:39 am) |
| KeyBindings? | A list of keyboard general events can be found either in the online or offline documentation, under ... read more | 03/09/2010 (1:37 pm) |
| Quit Button, CountOnDeath Behaviour & Display Lives Behaviour | Did you work through all sections of the [url=http://tdn.garagegames.com/wiki/TGB/Tutorials/Asteroid... read more | 03/09/2010 (1:25 pm) |
| Torque Game Builder or Torque 2D so which is it? | [quote]Lol nice and clear then! Okay then so if I start my project in TGB then when T2D desktop come... read more | 02/25/2010 (8:59 am) |
| Moving a object back after using SetForwardSpeed | Robert, for rotation based movement, have a look at the setLinearVelocityPolar or setImpulseForcePol... read more | 02/19/2010 (4:34 pm) |
| Moving a object back after using SetForwardSpeed | I sort of answered this in your other thread about setForwardSpeed. If you want to move an object... read more | 02/19/2010 (12:50 pm) |
| SetForwardSpeed - dosent work | setForwardSpeed() only works if setForwardMovementOnly() on the object is set to true. If you re... read more | 02/19/2010 (12:44 pm) |
| virtually identical behaviors but only one works properly? | Well, first you can change it back to rightControl::onMouseUp Next, when something isn't working ... read more | 02/01/2010 (4:32 pm) |
| virtually identical behaviors but only one works properly? | Sorry, I misunderstood your original post - thought you were talking about the mouse buttons and not... read more | 02/01/2010 (4:22 pm) |
| virtually identical behaviors but only one works properly? | If your behavior is supposed to be for the right mouse button, then the callback you need is onRight... read more | 02/01/2010 (3:01 pm) |
| a bool return, but no if Question; basic programming skills. | Are you getting confused by the multiple branching conditions in your example? If the player is m... read more | 01/31/2010 (2:44 pm) |
| Custom Mouse Detection Area | If you use a static sprite as your GUI element, by turning on its collision properties you can defin... read more | 01/31/2010 (8:15 am) |
| gravatic ball needs to sit on a non gravatic table | You could also have in the onCollision callback a check to see if the object the ball collided with ... read more | 01/26/2010 (4:43 pm) |
| gravatic ball needs to sit on a non gravatic table | Easiest way to prevent this is to turn off the constant force on the ball while it is sitting on the... read more | 01/26/2010 (4:27 pm) |
| [RESOLVED] Jitter with Mounted Particles while Moving | I can reproduce this as well with 1.7.4 (email sent to you Melv). I don't think I ever noticed it in... read more | 01/11/2010 (2:02 pm) |
| Negative Times in castCollision | I can't say if you did something wrong or if this is a bug with TGB's collision system. There are wa... read more | 01/09/2010 (7:00 am) |
| Questions before I buy. | Well, I wrote the current version of the platformer tutorial on TDN (it is based on previous work fr... read more | 01/08/2010 (8:18 pm) |
| Questions before I buy. | I wouldn't say it is easy to make a platformer in TGB, there are a lot of quirks with the physics an... read more | 01/08/2010 (1:54 pm) |
| Flipping a t2dTileLayer | setFlip is a method of t2dSceneObject, which is why it doesn't work on a tile layer. For t2dTileLaye... read more | 01/05/2010 (7:08 pm) |
| A problem in Fish game tutorial | The issue could be a couple of things: 1. Are collisions turned on between the player fish and th... read more | 01/03/2010 (9:06 am) |
| Creating simple "escape the room" or "first person point&click adventures" | There isn't a specific tutorial for building point and click games in TGB. The whack-a-mole tutorial... read more | 01/03/2010 (7:32 am) |
| Looking for some resources in doing a 2D platformer | The [url=tdn.garagegames.com/wiki/TGB/Tutorials/Platformer/Player]platformer tutorial[/url] on TDN p... read more | 01/03/2010 (7:01 am) |
| What would you like to see addressed in Torque 2D? | Some improvement suggestions for the particle editor: - being able to rename emitters (having to ... read more | 12/29/2009 (1:57 pm) |
| a collision is occurs far too early | In the level builder, with nothing selected in your scene - click on the edit tab. You will see mult... read more | 12/28/2009 (3:14 pm) |
| triggering gravity | No, this is not a bug. setGraviticConstantForce is not used to apply an actual force on an object. I... read more | 12/27/2009 (7:37 pm) |