Game Development Community

Luke D's Forum Posts

Thread Post Date Posted
Sound engine Glad to help out, the audio functions are a bit cryptic and mysterious. I never changed the liste... read more 08/31/2006 (4:39 pm)
Sound engine It could very well be Mac-specific, I do know the audio behaves differently on the Macs to some degr... read more 08/31/2006 (4:25 pm)
Sound engine So the caviat here is that the functions (and to some extent the docs) were originally written for T... read more 08/31/2006 (4:12 pm)
Sound engine If you create the sound and immediately adjust the pitch, it happens before you hear anything (at le... read more 08/30/2006 (2:03 pm)
Sound engine Yes keep in mind the AL_PITCH adjustment I mention previously is really an adjustment to the playbac... read more 08/30/2006 (9:56 am)
Sound engine You'll want to look at the alxSourcef and other simialrly named functions (alxSource3f, etc), which ... read more 08/30/2006 (8:02 am)
MFloor bug??? (Mac 1.1) This is just speculation but I believe the math on script variables is assumed to be floating point ... read more 08/24/2006 (4:54 pm)
Glow and Blink Effect Have you considered using 'setBlendColour' on the sprite? You could use this to tint the sprite a c... read more 08/24/2006 (2:27 pm)
MFloor bug??? (Mac 1.1) Actually it could be the precision issue, then. Most of the math functions are limited to six digit... read more 08/23/2006 (10:03 pm)
MFloor bug??? (Mac 1.1) Your understanding of the function is correct. Windows version TGBPro1.1.0 is also bugged but my ol... read more 08/23/2006 (3:12 pm)
Guitextlist columns ? The 'columns' parameter needs to be a space-separated list of the pixel positions each column starts... read more 07/20/2006 (12:22 pm)
Possible to Play in Web Browser IgLoader's biggest benefit is that it handles delivery, installation and execution of the payload so... read more 07/07/2006 (10:37 am)
Rotate Gui Elements You can create an additional scenewindow above the GUI element(s) in order to layer the sprite above... read more 06/28/2006 (2:14 pm)
Sound volume and channels When you define a sound, you use an AudioProfile. Inside that is a 'description' field, intended to... read more 06/23/2006 (5:17 pm)
My switch statement is possessed o_O Actually TorqueScript doesn't work the way most other languages switch statements do, it does not fa... read more 06/22/2006 (1:49 pm)
Count-em: 10 games released with TGB (or T2D) Totally guessing from having played it a bit, the physics are custom for the pins. I think it would... read more 06/22/2006 (1:29 am)
What is the purpose of datablocks... In addition to the original behavior in TGE that Pauliver refers to, datablocks are just a nice stre... read more 06/21/2006 (9:36 pm)
Pausing the game? I don't think it is unsupported really, just it is a carry-over functionality from the TGE core, and... read more 06/21/2006 (9:31 pm)
Count-em: 10 games released with TGB (or T2D) Nope, that started as TGB with additional 3D capabilities added. Doesn't it make your brain hurt th... read more 06/21/2006 (9:27 pm)
TGB Browser Plugin like Flash @Pauliver: igLoader actually allows for multiple 5MB file chunks, and it does the work of packaging,... read more 06/21/2006 (9:22 pm)
Pausing the game? Another general problem with setScenePause() is that it doesn't do anything for schedules that are r... read more 06/21/2006 (2:45 pm)
How to tell if something is null/undefined There is no explicit concept of null in Torquescript. The common practice is to either check for em... read more 06/21/2006 (11:58 am)
Over 1 million I just grabbed RC3, did a search-and-replace for %g to %.7g in the following files: compiledEval.... read more 06/17/2006 (11:59 am)
Over 1 million Oh and reading back to my first post, I totally pooched the formatting on that one (that's what I ge... read more 06/16/2006 (6:02 pm)
Over 1 million Looks like a lot has changed with TGE 1.4 integration; all my work is still on 1.0.2. I'm looking a... read more 06/16/2006 (6:00 pm)
GUI text in front of everything else My knowledge may be outdated by changes beyond 1.02 which is the version I'm most familiar with, but... read more 06/08/2006 (12:19 am)
Need advice on masking objects Definitely, both masking via custom blending, and arbitrary per-sprite clipping areas would be absol... read more 06/07/2006 (8:21 pm)
Right Click Use onRightMouseDown() instead.... read more 06/07/2006 (8:19 pm)
Need advice on masking objects Off the top of my head I can think of two 'creative' ways to do this in script-only, both are pretty... read more 06/07/2006 (4:40 pm)
What are the best ways to capture a movie of your game demo? Fraps (www.fraps.com) is quite popular.... read more 05/18/2006 (8:02 pm)
Problems with removeField It doesn't change the string object, it returns the new version, so you need to do: [code] %this... read more 05/16/2006 (5:10 pm)
Over 1 million It's a precision setting on the sprintf formatting in the engine, ultimately limited by the fact tha... read more 05/12/2006 (3:18 pm)
How to divide float to integer values You can use mFloor() and mCeil() to round floats down and up respectively.... read more 05/12/2006 (11:15 am)
Getting Mouse (not cursor) Movement. You could try the lockMouse(true|false) function call. This is what is used in TGE for the first-pe... read more 05/11/2006 (9:03 am)
Particles "bounce" off walls I've not implemented particle collisions myself, but don't you still have to specify the collision m... read more 05/10/2006 (7:49 pm)
Activity while loading datablocks One fairly quick and dirty solution I made in the past for this was to create a file exec queue scri... read more 05/10/2006 (11:39 am)
Text On The Screen If changing something else isn't working, are you certain the script file is getting compiled, and i... read more 05/02/2006 (7:24 pm)
Text On The Screen Do you have the Score GuiTextCtrl as a child object of another GuiControl of some kind? If so, that... read more 05/02/2006 (7:23 pm)
Text On The Screen By using setContent on the canvas, I think you're completely replacing everything else that the canv... read more 05/02/2006 (10:03 am)
Query: sprite effects, beta status With the stock engine, you can set the blending color of a sprite which includes color and transpare... read more 04/26/2006 (8:28 pm)
MoveTo() You need to compose the coordinates into a string, using string concatenation: [code] $marble.mo... read more 04/23/2006 (12:10 pm)
Atomize released Thanks Steve, I've heard of that from a bunch of people now. It appears that the demo wrapper (Arma... read more 04/23/2006 (12:07 pm)
Trouble Getting Multiple Objects To Collide Properly For #1, If you don't want the marbles to collide until they 'reach' the game board, why not disable ... read more 04/18/2006 (11:42 pm)
Doest always update code on game boot ? Did you check your console log? If it is not recompiling the .cs files into .dso, then your .cs fil... read more 04/18/2006 (2:06 pm)
Audio script (solved, commands included) Look in your sound AudioProfile definitions, you'll see a 'description' field. This references an A... read more 04/18/2006 (2:01 pm)
Question about Audio in TGB Note the following in the resource you linked to: [quote] 2) While VMPlayer is written entirely ... read more 04/17/2006 (4:35 pm)
How to press anykey? Ok, looking at the source code for the actionMap stuff, there seem to be two different issues here. ... read more 04/17/2006 (4:28 pm)
Schedule I tried to prevent a cross-post situation like this with my post over there that linked here, sorry ... read more 04/17/2006 (3:56 pm)
New web pages for Torque Game Builder Very nice indeed. :) Was Saints & Sinners Bingo a T2D product? I thought that came out awhile be... read more 04/17/2006 (12:26 pm)
Doest always update code on game boot ? It will revert to the older version if the .cs file's time/date is earlier than the .dso version or ... read more 04/17/2006 (12:23 pm)