Luke D's Forum Posts
| Thread | Post | Date Posted |
|---|---|---|
| How to press anykey? | Oh, bummer. So 'anykey' is really 'anyotherkey'... I thought there was a mechanism to push and p... read more | 04/17/2006 (12:17 pm) |
| Mouse questions | I had thought the latest version of the engine fixed the setMousePosition problems that existed in t... read more | 04/17/2006 (12:24 am) |
| Schedule | See the answer to your other post [url=http://www.garagegames.com/mg/forums/result.thread.php?qt=429... read more | 04/17/2006 (12:16 am) |
| Schedule | The problem is you're in a while loop which not only re-calls the enlarge function in one second via... read more | 04/17/2006 (12:15 am) |
| How to press anykey? | I was looking in the source for the answer to another bindcmd related issue myself and saw that ther... read more | 04/16/2006 (5:14 pm) |
| Video support, script editors and animation | The the latest builds support Theora because it is a cross-platform standard (see [url=www.theora.or... read more | 04/15/2006 (12:02 pm) |
| Getting mouse input in t2dSceneWindow control | Are the GUIs above the SkarosWindow using a profile that has "modal = false;" set? If not, then... read more | 04/11/2006 (9:19 am) |
| GUI Buttons And Triggers | You've got a variety of options, you could use echo() to print out text to the console to debug, you... read more | 04/10/2006 (12:43 am) |
| GUI Buttons And Triggers | Ah took me a sec to realize what's missing, my fault for not putting it in the original example. Yo... read more | 04/09/2006 (6:44 pm) |
| GUI Buttons And Triggers | If you move the function definition elsewhere, where does it say the syntax error is? In the GUI fi... read more | 04/09/2006 (12:01 pm) |
| GUI Buttons And Triggers | Pull the event callback out of the object definition, you can't put code in there like that. Either... read more | 04/07/2006 (6:51 pm) |
| GUI Buttons And Triggers | Ok, I hit submit a bit too soon, I think this may have actually required a small change to the engin... read more | 04/05/2006 (10:16 am) |
| GUI Buttons And Triggers | Yep, you can do this easily using the onMouseEnter and onMouseLeave event callbacks. Just make sure... read more | 04/05/2006 (10:10 am) |
| Keeping the Cursor inside the window | There's a built-in command called lockMouse(boolean) that will keep the cursor in the game window. ... read more | 03/31/2006 (6:30 pm) |
| Converting large numbers (over 6 digits) to string?? | I was working with T2D when I participated on that thread, didn't even think to check to see if it w... read more | 03/27/2006 (1:00 pm) |
| Converting large numbers (over 6 digits) to string?? | You are running into a precision issue in the core engine. See [url=http://www.garagegames.com/mg/f... read more | 03/26/2006 (9:46 pm) |
| Can I use T2D with PHP? | I *thought* I had written some actual code in a thread but couldn't find it via search and just chal... read more | 03/26/2006 (1:16 am) |
| Can I use T2D with PHP? | Yes you can easily do this with the basic TCPObject or HTTPObject that are both standard components ... read more | 03/25/2006 (2:40 am) |
| Text Colour In GUI Editor |
In your GuiTextCtrl declaration there's a line that says 'profile = |
03/23/2006 (9:44 am) |
| Storing Persistent Data in your Game | A lot of it depends on the specific case; how much data you're looking at, how you need to access it... read more | 03/23/2006 (9:34 am) |
| Can I know which key is hit in the GuiTextEditCtrl? | For TextEditCtrls, the "altcommand" parameter defines what function gets called specifically when th... read more | 03/21/2006 (10:25 am) |
| Border around textbox | Check common/gui/profiles.cs for the definition of all the default profiles. You can add a new one ... read more | 03/21/2006 (10:21 am) |
| How To Push My Custom Gui? | The same exact push call that you used in the console menu needs to be called from within a script s... read more | 03/20/2006 (10:57 pm) |
| About exporting | There is only one T2D product (well, there's indie vs. commercial but that's a branding and revenue-... read more | 03/20/2006 (10:49 pm) |
| Screen Coordinate Offset Problem? | The only frustrating thing about this problem (which has also been discussed [url=http://www.garageg... read more | 03/20/2006 (8:05 pm) |
| Question about various commands - torquescript | Try getRandom(0, 6) instead. If you don't supply values for getRandom() it generates a float value ... read more | 03/20/2006 (7:55 pm) |
| // | .dso files are binary versions of script (.cs) files. The .dso file is used if: 1: the .cs file ... read more | 03/20/2006 (7:42 pm) |
| Border around textbox | Try setting the border related fields (border = false; borderThickness = 0; borderColor = "0 0 0"; e... read more | 03/20/2006 (7:37 pm) |
| Atomize released | A lot has happened in the last few weeks, I thought I'd post an update. First, the Mac port is st... read more | 03/19/2006 (12:56 am) |
| GuiTextCtrl and arrays | Yes I'm pretty sure I recall the variable support being pretty primitive here, supporting only globa... read more | 03/16/2006 (10:31 am) |
| Why is this t2dStaticSpriteDatablock giving me an error? | Odd, I don't know what else to suggest might be wrong. You say you've got other datablocks giving t... read more | 03/16/2006 (10:28 am) |
| Why is this t2dStaticSpriteDatablock giving me an error? | Longshot here, but what order are your datablocks generated in? Since you are using the object in t... read more | 03/15/2006 (1:05 pm) |
| Implementing game logic as text | You have a few options. First, you could use standard Torque GUI objects, like GuiMLTextCtrl. Thes... read more | 03/14/2006 (9:24 pm) |
| Saving Binary files | I don't believe any binary file manipulation commands are available in TorqueScript. What reason ... read more | 03/14/2006 (10:29 am) |
| GUI/Fonts/Custom controls | The GuiControlProfile handles text font/size/color/etc. In 1.1b check the common/gui/profiles.cs fi... read more | 03/13/2006 (9:28 pm) |
| Sending functions to multiple sceneGraphs | Can you post the update code snippet? There could be a number of problems happening and it's hard t... read more | 03/11/2006 (10:38 am) |
| EULA Question | Two questions, one directly relevent and one not so much. If Eric's game and source were viewed e... read more | 03/11/2006 (10:26 am) |
| How to pass-by-reference? | Ah, you can't do that exactly in TorqueScript. Here's an alternative though. You can use one of th... read more | 03/09/2006 (11:22 pm) |
| How to pass-by-reference? | Assuming the variable contains some type of object (e.g. $myObject = new ScriptObject() { class = "m... read more | 03/09/2006 (7:41 pm) |
| Solid Collisions | By no bounce, I assume you mean when they reach the edge they just stop? If so you'll want to chang... read more | 03/09/2006 (7:34 pm) |
| Decent looking water effects for T2D? | I captured a quick video of the effect: [url=www.buriedaliveinteractive.com/atomize/media/Atomize... read more | 03/07/2006 (9:53 am) |
| Decent looking water effects for T2D? | I'd recommend looking at the particle system. Between animated particle sprites and the incredible ... read more | 03/07/2006 (9:29 am) |
| Atomize released | Working on the Mac port this very minute, in fact. There were a lot of engine modifications and som... read more | 03/06/2006 (6:37 pm) |
| If I pushDialog two dialog boxes, I can't use the first one? | The GuiProfile definition can have a "Modal = false;" parameter which makes the dialog pass clicks d... read more | 03/02/2006 (1:20 pm) |
| Can I change the font for Gui text fields, etc? | Generally the structure of the gui obejcts aren't hierarchical by nature. If you create a .gui scri... read more | 02/25/2006 (10:57 pm) |
| Does any documentation exist for TCPObject? | @Stephen: I use the exact same approach communicating with my backend game server, which is also in ... read more | 02/25/2006 (1:47 pm) |
| Can I change the font for Gui text fields, etc? |
1. just put the keyboard key's name in the 'accelerator' field (or put accelerator = ' |
02/25/2006 (1:36 pm) |
| Objects not appearing after I re init game | At first glance I'd probably say it is because you re-create the sceneGraph (and associate the new o... read more | 02/25/2006 (12:37 pm) |
| Can I change the font for Gui text fields, etc? | HorizSizing and vertSizing are used to specify how you want the object to scale and position itself ... read more | 02/25/2006 (12:33 pm) |
| Does any documentation exist for TCPObject? | 1. That's correct, onLine parses on newline, so you won't get a partial line unless maybe the connec... read more | 02/25/2006 (12:14 pm) |