Game Development Community

Jeffrey Sweeney's Forum Posts

Thread Post Date Posted
Code Problem/Suggestions @James It's been awhile since I worked on this, and while since I did pre-cal. I guess I did just t... read more 07/17/2009 (8:33 pm)
Code Problem/Suggestions Yeah, I did it like that so the necessary Y velocity for going up slopes would be calculated at the ... read more 07/16/2009 (5:42 am)
optimizing image maps I don't think it really matters. Whatever is manageable.... read more 06/30/2009 (10:04 am)
Any easy way to do person animation with mounts? This is exactly what I'm trying to figure out :C So far, it seems the best way is to create child... read more 06/30/2009 (5:44 am)
"Tower of Goo" type of physics in TGB You could mount objects (layers of the christmas tree) together, and give each of them a certain amo... read more 06/30/2009 (5:34 am)
Setting an animation on movement and mirroring them In the moveRight function, add "setFlipX(false);".... read more 06/27/2009 (2:53 pm)
Side Shoot Behavior...is there one? Oh, it's firing a projectile at a polar velocity? I'm sorry, I didn't know where you were getting... read more 06/27/2009 (2:47 pm)
Side Shoot Behavior...is there one? For a bullet to go right to left, it sets it's linear velocity to a negative value. So, if you can f... read more 06/26/2009 (5:27 pm)
Code Problem/Suggestions I guess I'm done updating this code for now. The only major problem is getting 'jumpy' when collidin... read more 06/26/2009 (10:24 am)
Build for Mac system Try lowering the graphics to 500 x 500 at highest.... read more 06/26/2009 (10:22 am)
Build for Mac system Hmm. I sometimes have a problem doing vice versa. Are you using large images or an older mac?... read more 06/25/2009 (5:57 am)
Creating a player moveable object in mini-platformer tutorial [code] function crate::onCollision(%this, %dstObj, %srcRef, %dstRef, %time, %normal, %contactCount,... read more 06/25/2009 (5:53 am)
Creating a player moveable object in mini-platformer tutorial I'm not sure how the PSK is coded, but you could, in the onCollision callback, have the %dstObj move... read more 06/25/2009 (5:49 am)
Pac Man Pellet I think if you just have the object receive collision, pacman should go through without stalling. Do... read more 06/24/2009 (3:56 am)
Code Problem/Suggestions I think you just forgot a few semicolons ;) I'll post my revisions right now so you can see what ... read more 06/22/2009 (11:43 am)
advice on keeping it small One thing I learned; if your code gets exceptionally long for what seems a simple principle, start o... read more 06/22/2009 (10:42 am)
Code Problem/Suggestions Awesome, this looks great! You fixed the going through wall glitch, but now the player gets caught ... read more 06/22/2009 (10:36 am)
MaxRotation Try not using the else if function, and just the if function.... read more 06/21/2009 (6:27 pm)
%dstRef and Collision I think you can separate the x and y values with a comma, even if it is a string. Try: %dstRef = &q... read more 06/21/2009 (12:41 pm)
Melee Attacks in a platformer I just found a simple solution :D %this.setLinkPoint(); It can change the location of link point... read more 06/21/2009 (4:32 am)
Adding custom 'armor' and 'gear' to a 2D object Eureka! %this.setLinkPoint(); With this function, you can make multiple LinkPoints, plus chang... read more 06/21/2009 (4:27 am)
Cast collision to a position? If you're looking to see if there's an object at a position, I think you can use the pickLine(), pic... read more 06/20/2009 (6:50 pm)
Platformer Tutorial "Space Jump" Problem Thanks, I'd be grateful.... read more 06/20/2009 (3:56 pm)
Melee Attacks in a platformer Sounds like you're running into the same problem I'm having. There doesn't seem to be any easy wa... read more 06/20/2009 (4:53 am)
Platformer Tutorial "Space Jump" Problem Use the onCollision callback. Not only does it seem to work on most Operating Systems, but it doesn'... read more 06/20/2009 (4:43 am)
Screen - comments and suggestion My critique; the ball doesn't seem to belong. Perhaps giving it a light 'stone' look as well would h... read more 06/18/2009 (5:18 pm)
Setting an animation on movement and mirroring them %this.playAnimation(<name of animation in tgb>); Also, if you're considering making a sprit... read more 06/18/2009 (5:15 pm)
Platformer Tutorial "Space Jump" Problem I'm running into a similar problem (abit my script is different). From what I gathered, it has to do... read more 06/18/2009 (12:57 pm)
Setting an animation on movement and mirroring them Yep. I believe the function is 'setflip'. The arguments are x flip and y flip (boolean). So if yo... read more 06/18/2009 (12:48 pm)
Code Problem/Suggestions Alright, sure. (Ironically, I don't know much html)... read more 06/18/2009 (12:40 pm)
Project will not run Are you using large images (500 x 500+)? Without proper drivers, pcs will fail to load a game with h... read more 06/17/2009 (4:11 pm)
trouble calling functions and finding objects Hmm. Could you post your code?... read more 06/17/2009 (4:02 pm)
Fish Unable to Gain Health Try flipping the %srcObj.spawn(); and the %dstObj.modifyLife(%srcObj.lifeValue); functions. My guess... read more 06/17/2009 (3:53 pm)
Creating Behaviours I never liked behaviors... I always seem to run into problems, particularly when building the projec... read more 06/17/2009 (3:26 pm)
Adding custom 'armor' and 'gear' to a 2D object Oh well. Thanks Nikos, I'll just try mounting a bunch of objects together and use an invisible colli... read more 06/17/2009 (3:13 pm)
Make enemy chase player Just changing it to "ball" in the script should work fine. Or did you mean dynamically cha... read more 06/13/2009 (6:10 am)
Make enemy chase player Just make it so the enemy ship will move up when the player ship is above it, down when it's below i... read more 06/13/2009 (4:47 am)
Fish Behavior Tutorial Where do the ## signs pop up in the console?... read more 06/11/2009 (1:14 pm)
How to do a vehicle rotating wheel effect What you could do is make the motorcycle object create two wheels at startup, and make the child whe... read more 06/11/2009 (1:05 pm)
Why you need to make sure you always initialize your variables... I hate arrays/vectors... I always seem to run into problems when I use them, and it sometimes just m... read more 01/26/2009 (9:29 am)
Windows 7 beta; my images aren't loading Thanks for the tip. Hopefully that's all the problem is.... read more 01/21/2009 (3:38 pm)
Mac-Centric Torque user group I've been developing in TGB for about 5 months. I prefer a mac for developing, and personally can wo... read more 01/21/2009 (3:35 pm)
C++ or C#? Where I have only been programming with C++ and Torquescript for about half a year (still much to le... read more 01/07/2009 (12:24 pm)
List of TGB developers - Please Add Your Name Jeffrey Sweeney Programmer/Artist No finished games (yet).... read more 12/21/2008 (7:34 am)
GetForce function? Son of a gun... I shoulda knew that. Thanks. For some reason I thought force was a different from... read more 12/17/2008 (10:21 am)
When I purchase TGB or TGE... Yes. When I first got the Torque trial about a year ago, I had no idea what I was doing. After I was... read more 12/06/2008 (5:59 am)
TGB Sprite Help Sure. Simply type the name of the animation in the parenthesis, like this: %this.playAnimation(<... read more 12/04/2008 (12:25 pm)
Problems compiling for Windows I found out why the game wouldn't load on Windows. After installing a windows version of TGB, the pr... read more 12/04/2008 (12:20 pm)
Problems compiling for Windows The problem with the former game seems to have something to do with the castCollision $= "" function... read more 12/03/2008 (3:33 pm)
TGB Sprite Help If you just want to change the color, I suggest you play around with the setBlendColor(); function. ... read more 11/24/2008 (4:03 pm)
Page «Previous 1 2