Game Development Community

Darius's Forum Posts

Thread Post Date Posted
+/- mAbs is absolute value, although I would bet google has told you that by now. The difference betwee... read more 04/17/2010 (7:57 pm)
+/- You can test to see if a variable is within a certain range of a target value by checking the size o... read more 04/17/2010 (3:39 pm)
What would you like to see addressed in Torque 2D? Well sweet, I guess I forgot about that. I guess that's one down. Thanks for pointing that out.... read more 04/12/2010 (7:29 pm)
What would you like to see addressed in Torque 2D? I'd like to add another vote for some sort of web browser integration. Also real time networking ... read more 04/12/2010 (10:19 am)
Problem with schedule I think your problem is that on lines 8 and 25 you aren't passing the %lengthOfFadeOut when you sche... read more 04/08/2010 (1:46 pm)
Buttons overlapping. Here's a thought. Every time you have a collision, you schedule a call to reableBtn. So every fram... read more 04/08/2010 (1:19 pm)
Buttons overlapping. If I'm understanding correctly, then I had a similar problem, what I did to get around it, is I set ... read more 04/07/2010 (5:48 pm)
FileIO Tutorial (Revision 1.0) When you exec the FileIO.cs file, all it does is define the writeFile function, you still need to ca... read more 04/01/2010 (8:07 am)
TGB Success Stories and Show-Off [url=http://gamejolt.com/freeware/games/action/last-stand/1894/]Last Stand[/url] is a short game I p... read more 03/30/2010 (1:08 pm)
clone vs. new t2dStaticSprite An object pool is how I ended up solving my problem, and it seemed to help out quite a bit. The way... read more 03/18/2010 (10:16 am)
Two newbie questions Particle collisions don't fire off the collision events the way other collisions do. That's probabl... read more 07/01/2009 (1:34 pm)
Shooting Particles Bug..? Well, one problem is that the onTimer function only passes one argument, the %this argument, so %val... read more 06/26/2009 (6:55 am)
Shooting Particles Bug..? That's good to hear that the invisible objects are working for doing damage. As far as a fuel gau... read more 06/25/2009 (9:53 am)
Shooting Particles Bug..? Well, I got a behavior written, the problem is that the solution I was using in my game won't quite ... read more 06/24/2009 (6:17 pm)
Shooting Particles Bug..? Yes, similar to that, except you wouldn't want to clone the flame particle on the first line. and y... read more 06/24/2009 (11:51 am)
Shooting Particles Bug..? Are you using the emitter as the projectile? That's kind of what it looks like is probably happenin... read more 06/24/2009 (9:46 am)
Shooting Particles Bug..? I'd be curious to see the code where you do the firing, and set up the emitter. It sound like its... read more 06/24/2009 (8:03 am)
Projectile collision with owner Perhaps you've solved this by now, but if not, one thing you might try doing is to turn off collisio... read more 06/22/2009 (1:28 pm)
Solitare I'm not sure which tutorial you're looking at, I couldn't find a solitaire tutorial anywhere. What ... read more 06/16/2009 (9:06 am)
Need Help You're welcome. I've pulled my hair out before with that exact problem before, glad that fixed it.... read more 06/02/2009 (7:11 am)
Need Help You need to add your object to the scene graph. There are a number of ways you can do this. One of... read more 06/01/2009 (12:19 pm)
how are eff files created, with what tool? You create particle effects in the TGB gui. At the bottom of the Create Objects toolbar you should ... read more 06/01/2009 (9:08 am)
How to read a file? This doesn't matter since you already solved it, but I wonder if the problem with the for loop was t... read more 05/30/2009 (8:40 am)
bullet collision question Sorry, I guess I didn't describe what I meant very well. Here's a description of what would happe... read more 05/19/2009 (9:37 am)
bullet collision question I don't know if this is the best solution, but I would probably store the bullet in a SimSet inside ... read more 05/15/2009 (11:02 am)
Changing Animation You're welcome, I'm glad it's working for you.... read more 05/08/2009 (3:27 pm)
Changing Animation You would also need to make sure that you had receive collision set in the object you were trying to... read more 05/08/2009 (2:49 pm)
Changing Animation One possible problem is right here: [b]%this[/b].playAnimation(pathChange); %this is undefined... read more 05/07/2009 (9:59 pm)
Opening Icon Animation (extra) Are you still struggling with this? The breakout tutorial had a really good bit on fading things ... read more 04/30/2009 (10:55 pm)
MAKING A PROJECTILE: EXTREMELY DESPERATE!!!!! Two things, I know I said imageFile when I gave you that code, but I double checked, and it's suppos... read more 04/13/2009 (7:06 pm)
MAKING A PROJECTILE: EXTREMELY DESPERATE!!!!! Will a particle rotate as it moves? That's pretty cool. There's a couple of ways you could get a... read more 04/13/2009 (7:18 am)
MAKING A PROJECTILE: EXTREMELY DESPERATE!!!!! As to why the effect is saying that it can't find your emitter, I'm not sure, you might try loading ... read more 04/12/2009 (8:12 pm)
EDIT: Closed Did you try the code I gave you? I'm surprised that didn't work. See, the variable %worldPosition ... read more 04/11/2009 (8:29 am)
EDIT: Closed That would be the [URL=http://tdn.garagegames.com/wiki/TorqueScript_Console_Functions_3#getWord.28_s... read more 04/10/2009 (8:49 pm)
EDIT: Closed If you read the [URL=http://tdn.garagegames.com/wiki/TGB/Reference:_t2dSceneWindow#onMouseDown.28.25... read more 04/10/2009 (6:17 pm)
EDIT: Closed This should do what you want: [code] function t2dSceneWindow::onMouseDown(%this, %modifier, %w... read more 04/10/2009 (3:40 pm)
EDIT: Closed Oh, you posted that new post while I was typing, so you could do something like this: [code] f... read more 04/10/2009 (2:27 pm)
EDIT: Closed I don't think TGB lets you map an action directly to a generic mouse button press. As far as I know... read more 04/10/2009 (2:23 pm)
Mac build mouse issues I too, am primarily a PC User, I was testing a mac build on a friends mac just to see how easy/hard ... read more 04/07/2009 (11:00 am)
Mac build mouse issues I ran into mouse problems using a Mac build that I made on my PC. Whenever I clicked the mouse woul... read more 04/06/2009 (2:13 pm)
Map Generation based on Seed [url=http://pcg.wikidot.com/]Here's[/url] a wiki that has quite a bit of information on procedural c... read more 03/23/2009 (1:03 pm)
Trouble loading t2dTileLayer $mapManager is just a namespace for a set of variables, if you look at the [url=http://tdn.garagegam... read more 03/21/2009 (7:53 pm)
Trouble loading t2dTileLayer Thanks for the suggestions. What I ended up doing was changing the mouse events flag and the class ... read more 03/17/2009 (8:22 pm)
Trouble loading t2dTileLayer Okay, so I solved that. I didn't realize that you had to load the tile layer into a tilemap before ... read more 03/10/2009 (9:50 pm)
Manipulating Object's Draw Order That looks exactly like what I need to do. Thanks so much.... read more 02/25/2009 (8:00 am)
Manipulating Object's Draw Order I'm sorry the explanation was hard to follow. Let me see if I can clarify. I have a group of mon... read more 02/24/2009 (4:26 pm)
Weird physic behavior One thing that might be causing, and something you should do anyway, is to turn on receive collision... read more 02/24/2009 (3:09 pm)
Trigger only working once Your problem is right here: cameraMount.moveTo([b]cameraMount.getPositionX[/b]+176.25, -1.4, 20, ... read more 02/24/2009 (12:48 pm)
Class documentation? Have you tried [url]http://tdn.garagegames.com/wiki/TGB/Reference[/url]? At least that's the torque... read more 02/12/2009 (9:02 am)
How does mass affect physics collision responses? Those are both very helpful, thank you.... read more 02/12/2009 (8:54 am)
Page «Previous 1 2