RollerJesus's Forum Posts
| Thread | Post | Date Posted |
|---|---|---|
| onMouseDown Help! [Resolved] | Try: [code] sceneWindow2D.setUseMouseEvents( true ); [/code]... read more | 06/21/2011 (12:09 pm) |
| Transparency through foreground semi transparent dark layer. | I love a good script solution; and this is one for the books. Nice! Have you seen any performance ... read more | 05/20/2011 (6:24 am) |
| Create a new t2dSceneObjectDatablock cause the game to crash | Ya, TGB can be wacky... If you're getting *something* at all in your console before a crash, star... read more | 03/21/2011 (2:52 pm) |
| Create a new t2dSceneObjectDatablock cause the game to crash | Obviously? Then perhaps ask in the PSK forum if you're an owner. How about you post some of the ... read more | 03/21/2011 (2:29 pm) |
| Create a new t2dSceneObjectDatablock cause the game to crash | Do you own the Platformer Starter Kit; that tutorial is specific to that kit?... read more | 03/21/2011 (9:13 am) |
| Fill Battle Tutorial Help | Great job Will! I'm thrilled to have been a part of this.... read more | 02/15/2011 (8:49 am) |
| Items does not attach to mouse | Removing those brackets makes a real difference in this case Georgina... Your code will never get... read more | 02/04/2011 (8:30 pm) |
| Submitting your TGB game to the Mac AppStore | Amazing Aun!... read more | 02/04/2011 (9:52 am) |
| Another Tutorial Problem (No Audio) - SOLVED | I like handling audio like this: [code] $SOUND = true; $VOLUME = 1.0; new AudioDescription(SE)... read more | 02/01/2011 (5:29 pm) |
| Looping a spawn function and scheduling that loop... | Hey sorry to lead you astray there... Didn't have TGB handy and was just going off the top of my he... read more | 02/01/2011 (5:24 pm) |
| Looping a spawn function and scheduling that loop... | Hey no worries, happy to help. onAdded is called when each object that has it's class set to &quo... read more | 01/31/2011 (5:02 pm) |
| Looping a spawn function and scheduling that loop... | To have them spawn infinitely, you would do something like so where you would change the for loop to... read more | 01/30/2011 (7:14 am) |
| T2d Platform Tutorial Ninja | It's in the rar at the bottom of the tdn page under where it says Demo. That's pretty lame that som... read more | 01/24/2011 (8:07 pm) |
| Box2d TGB/t2d Precompiled? | ya ya ya... fix your avatar Mac addict. :)... read more | 01/22/2011 (4:10 pm) |
| Box2d TGB/t2d Precompiled? | @Will, you do the need the Pro version of T2D to do this but you can use the free Visual Studio Expr... read more | 01/22/2011 (6:23 am) |
| Efficient way to tell if object is within range? | Very nice! Let's see some video!... read more | 01/21/2011 (7:10 am) |
| Efficient way to tell if object is within range? | That code assumes that the objects you're trying to get with pickRadius are in group 1 as designated... read more | 01/20/2011 (6:08 pm) |
| Earth Gravity - Free Fall Pinball Object Needed | Building off what we had earlier, you can try something like so: [code] function Launcher::onLevel... read more | 01/19/2011 (11:39 pm) |
| still need help with pinball functionality | No problem. It was a fun little exercise to go through while I anxiously fill the [b]space[/b] and ... read more | 01/17/2011 (2:14 pm) |
| Efficient way to tell if object is within range? | pickRadius is a method of the t2dSceneGraph object, so try calling it like so: [code] function fin... read more | 01/16/2011 (11:23 pm) |
| still need help with pinball functionality | Something like this should work. I didn't test with Tom's code but I read this post and got the urg... read more | 01/16/2011 (11:19 pm) |
| Efficient way to tell if object is within range? | @Aun, It certainly would but you could break from it immediately if there were no results returne... read more | 01/13/2011 (4:53 pm) |
| Efficient way to tell if object is within range? | Check out the [url=http://tdn.garagegames.com/wiki/Torque_2D/Reference_Guide]pickRadius method[/url]... read more | 01/13/2011 (1:13 am) |
| Interface in TGB | It sounds like your trying to make a GUI using SceneObjects instead of the GUI system. Is that corr... read more | 01/03/2011 (8:30 pm) |
| [SOLVED] C++ instead of TorqueScript | Glad you got it working! Now on to game making and away from Visual Studio configuration. :)... read more | 12/31/2010 (5:54 pm) |
| [SOLVED] C++ instead of TorqueScript | [quote] - Do I have to "import" or "include" something when in the script perha... read more | 12/30/2010 (1:48 pm) |
| [SOLVED] C++ instead of TorqueScript | Looking more closely, I think your parameters are messed up in your console method as well. Here ... read more | 12/29/2010 (5:01 pm) |
| safeDeleteGroup()? | I couldn't explain it better than Philip did in that thread.... read more | 12/29/2010 (4:01 am) |
| [SOLVED] C++ instead of TorqueScript | Are you sure that your game is running the newly built exe? I'm honestly not a C++ expert but I d... read more | 12/29/2010 (3:58 am) |
| safeDeleteGroup()? | Hey Rennie, I'm just going to comment the code better in hopes that it clarifies it for you... [cod... read more | 12/28/2010 (9:20 pm) |
| safeDeleteGroup()? | Sweet baby RollerJesus! Generally you would use that group (assuming you mean Graph Group - the o... read more | 12/28/2010 (5:51 pm) |
| Memory leak? bindCmd in a behavior returns junk data | Here's the deal... TorqueScript doesn't have a concept of "this" like a real object orien... read more | 12/28/2010 (2:03 pm) |
| Which are the CollisionPolyList arguments? | I think that CollisionPolyList is just a list of points (clockwise, I believe - which is odd) that d... read more | 12/28/2010 (1:58 pm) |
| safeDeleteGroup()? | What kind of group are they? SimSet, SimGroup? Loops are your friend here...... read more | 12/28/2010 (1:54 pm) |
| [SOLVED] C++ instead of TorqueScript | The C++ looks right. Try this in script: [code] function myFish::onLevelLoaded(%this, %scenegrap... read more | 12/28/2010 (1:53 pm) |
| %dstobject.getFrame() question (solved) | You forgot %this as your first argument of the callback. ... read more | 12/19/2010 (6:16 pm) |
| Looping a spawn function and scheduling that loop... | Essentially what you are doing is looping 10 times and a second later, all 10 objects are created. ... read more | 12/10/2010 (8:14 pm) |
| OpenGl merge image | You trying to do stereoscopic 3D Aditya?... read more | 12/01/2010 (9:25 pm) |
| New TGB Tutorial on TDN | Sure... Comment the following line in game.cs: [code] moveMap.bindCmd(keyboard, space, "ch... read more | 11/29/2010 (1:11 pm) |
| Temple Racer: The Beginning | Hey Rennie... I picked up a copy the other day and I have to say that the game is quite interesti... read more | 11/26/2010 (1:04 pm) |
| Mouseclick problem (click limit on object) | Happy to help Vladislav! I can't tell you how many of hundreds of times I've had an issue with a ... read more | 11/18/2010 (4:11 pm) |
| Mouseclick problem (click limit on object) | This is just a guess, but try using the onMouseUp callback instead of the onMouseDown.... read more | 11/18/2010 (3:41 pm) |
| Mouseclick problem (click limit on object) | BoxA could also be the object name, if that's the case, try: [code] BoxA.setUseMouseEvents(false);... read more | 11/18/2010 (3:24 pm) |
| Mouseclick problem (click limit on object) | Is the callback ever executing the code? You're checking if BoxA is an object, but that's actuall... read more | 11/18/2010 (3:09 pm) |
| Mouseclick problem (click limit on object) | [code] %this.useMouseEvents = false; and %this.SetUseMouseEvents(false); [/code] I think thes... read more | 11/18/2010 (2:46 pm) |
| Mouseclick problem (click limit on object) | Just add the following as the first line of your onMouseDown callback. I think this should suit you... read more | 11/18/2010 (12:36 pm) |
| Melee Combat: Need advices | Sure can... [code] %obj.getName() [/code] There's a lot of other commands out there too... Ch... read more | 11/06/2010 (1:40 am) |
| Need help with health points. | You could try something like this: [code] function enemyfireClass::onCollision( %srcObj, %dstObj, ... read more | 11/03/2010 (2:23 pm) |
| Melee Combat: Need advices | typo.... [code] %obj = %getWord(%punchList, %n); [/code] should be: [code] %obj = getWord(%pun... read more | 11/02/2010 (2:35 pm) |
| Melee Combat: Need advices | Ahhh.... very true... Superclass: PunchableGuy Class: Baddy or Player Good stuff!... read more | 11/01/2010 (7:55 pm) |