Justin Proffitt's Forum Posts
| Thread | Post | Date Posted |
|---|---|---|
| Extremely amateur, need help with something simple | Let me ask you this: is your goal to make the moon appear stationary relative to the camera? If so t... read more | 04/20/2013 (12:11 am) |
| Confused About Colors | You can use the command "setBlendColor", so: [code] %object.setBlendColor(258, 128, 12... read more | 04/10/2013 (10:13 am) |
| Rotate...wait and then move [SOLVED] | I found the problem, when %delta is greater than 180 you want to subtract it from the full circle (g... read more | 04/06/2013 (2:37 pm) |
| Rotate...wait and then move [SOLVED] | Using "schedule", give this a try: [code] function PlayerShip::onClick(%this, %worldPo... read more | 04/05/2013 (4:00 pm) |
| Window Focus Issues | Since it deals with the window and requires the static variable "windowActive", I would pu... read more | 06/27/2012 (4:15 pm) |
| Window Focus Issues | In order to use that function in torquescript, you need to add a console function macro for it in th... read more | 06/27/2012 (9:50 am) |
| Process order of mounted objects and all children (+ fix) | I'd like to note that this is still an issue in 1.7.6, I was having a problem where objects mounted ... read more | 05/31/2012 (5:33 pm) |
| Inventory System, here we go again... | Okay, I believe I have a work around for you, since it looks like you are only using one scenewindow... read more | 05/30/2012 (11:12 am) |
| [SOLVED]Trying to delete all objects of a specific class. | That wouldn't work, because the class "Boxes" isn't an object and therefore cannot have a ... read more | 05/22/2012 (2:16 pm) |
| [SOLVED]Trying to delete all objects of a specific class. | Okay, the sceneitems variable makes sense now that I see your code: the onAdd function gets called e... read more | 05/22/2012 (11:43 am) |
| [SOLVED]Trying to delete all objects of a specific class. | Okay, here's what were going to try: Use an echo statement to verify each step of the process, so... read more | 05/20/2012 (9:03 pm) |
| [SOLVED]Trying to delete all objects of a specific class. | Edit: Redacted, went too quick and realized I reiterated your exact code. Ill re-edit to offer bette... read more | 05/18/2012 (12:48 pm) |
| [SOLVED by workaround]How to edit a line in a file? | From what I have been understanding, you have to rebuild the file completely each time you edit it. ... read more | 05/15/2012 (8:05 pm) |
| deleting an object and an associated sprite | You would call "safeDelete()" or just "delete()" on the variable, which holds a ... read more | 05/15/2012 (3:04 pm) |
| [SOLVED]fade In, fade out possessed by demon ! | Figured out the problem: When using schedule globally, I forgot that you need to include a refere... read more | 05/10/2012 (4:17 pm) |
| [SOLVED]fade In, fade out possessed by demon ! | Hmm let's see. I did write that code off the cuff, so I may have overlooked something, however it sh... read more | 05/10/2012 (4:02 pm) |
| [SOLVED]fade In, fade out possessed by demon ! | So what you need to do is check to see if your object is already fading before calling functions, th... read more | 05/10/2012 (2:09 pm) |
| CollisionLayers in Datablocks don't work | Actually I do believe collision layers are stored as a single binary value. I forget how it goes exa... read more | 05/05/2012 (6:21 pm) |
| Any way to Autoclear a GuiTextEditCtrl on First Access? | Well, hmm. You could try calling "dump" on the object and checking the console. From there... read more | 05/05/2012 (11:40 am) |
| Avoiding blocking keys and mouse | Ah okay now I see. Okay I have a few tips to help you out. First and foremost, whenever you want som... read more | 05/03/2012 (12:54 pm) |
| Avoiding blocking keys and mouse | Could you describe your problems in a bit more detail? Give a step by step rundown in recreating the... read more | 05/02/2012 (11:15 pm) |
| Graphic Corruption with Bilinear Filtering on t2dTextObject | Great to hear! I am thinking of going back to my project, and I'm glad I won't need to struggle with... read more | 05/02/2012 (8:29 pm) |
| Graphic Corruption with Bilinear Filtering on t2dTextObject | It has been a year or so, my memory is very fuzzy. I believe I used Font Boy to make a png of my des... read more | 05/02/2012 (12:57 pm) |
| Graphic Corruption with Bilinear Filtering on t2dTextObject | This seems to be an issue with how the characters are padded (or rather aren't) by the engine. My so... read more | 05/02/2012 (9:54 am) |
| Quick Way to Lock Rendering Frames to "Scene Ticks"? | Perhaps this thread, specifically Michael's post, could help you: http://www.garagegames.com/comm... read more | 11/07/2011 (3:36 pm) |
| Spawning and setting up a t2dTextObject in the script [solved] | Hmm, could you provide more information about the error? Oh! Wait, I think I found the error. ... read more | 11/01/2011 (6:56 pm) |
| OK, One Last beginner/N00By question... | If you call "dumpClassHierarchy" on an object it should tell you everything you know. I do... read more | 10/27/2011 (11:26 am) |
| setBlend() for GUI elements? | Ah how I love SOGUIs. The other neat thing with that approach is that you can construct different GU... read more | 10/27/2011 (11:17 am) |
| Giving an actor two collisions? | Wait, I think I know how to resolve the original issue. The collision polygon is stored in the "... read more | 10/24/2011 (2:01 pm) |
| Build errors | Let us know how that works out, I'm curious as to how this is bugging out.... read more | 09/29/2011 (9:20 pm) |
| GUI Class / Method Problem | If I am understanding this correctly, the problem is simply that you are attempting to call a method... read more | 09/26/2011 (1:56 pm) |
| SetScreenMode/Focus Crash [Resolved(?)] | Thanks for showing me that code, that solves a problem down the road when I need to force the game t... read more | 09/25/2011 (4:47 pm) |
| How to change a cursor? | I believe he means from the top left of the image. So in this case the hotspot or clicking point of ... read more | 09/23/2011 (6:44 pm) |
| Confound These Schedules | Thanks for pointing that out, I am embarrassed that I didn't account for that. In this case, I de... read more | 09/23/2011 (6:40 pm) |
| Trigger - onEnter() is called after objects exit (FIXED) | You might wish to place echo statements at the beginning of each callback to see exactly what the ob... read more | 09/22/2011 (7:52 pm) |
| The Breakout Tutorial - Part Four | I am not sure if that is the case. However, you could open the console and try calling "dump()&... read more | 09/20/2011 (2:34 pm) |
| Datablocks and Dynamic Object (SOLVED) | Okay, I screwed up once so I hope I am not setting a trend here, but as I understand it, onLevelLoad... read more | 09/19/2011 (1:37 pm) |
| 1.7.4 : MountForce can't be zeroed | I just wanted to confirm this is still an issue in 1.7.5, if I understand it correctly. I have objec... read more | 09/19/2011 (1:31 pm) |
| Datablocks and Dynamic Object (SOLVED) | It is my understanding that classes must be defined explicitly in the objects properties in order to... read more | 09/17/2011 (9:44 pm) |
| Questions as a beginner | Hey, I am still kind of new to Torque 2D and I came in with barely any experience in C++ or Java. At... read more | 09/11/2011 (3:51 pm) |
| Gaussian Blur for TGB | I believe that you need to add the files to two different project's T2D directories and compile in o... read more | 09/09/2011 (2:23 pm) |
| Need help. Crashing when using %this.class in ParallaxObjectBehavior | Hmm, my experience with behaviors is extremely limited sadly, so I am not sure how much this will he... read more | 09/07/2011 (1:14 pm) |
| TGB canvas position of anything | That is because the width is being returned in world space (as is the position), which maps to one u... read more | 09/03/2011 (2:51 pm) |
| Hiding Static Sprites in TGB | In regards to changing sprites so that they don't pop up in the visual editor (but can still be acti... read more | 09/02/2011 (7:25 pm) |
| Problem in Asteroids tutorial | I'm a bit confused by all of this, could you elaborate on it, or perhaps just rephrase? I admit I ha... read more | 08/30/2011 (9:45 pm) |
| Need Help - Pausing game doesnt pause schedules | Oh my god that is useful. I realize this thread is old, but seriously, $timescale: it makes pausing ... read more | 08/25/2011 (8:47 pm) |
| [Solved] Help with timer | I made a slight mistake that I hope hasn't caused substantial problems. Scriptobjects do not have ti... read more | 08/25/2011 (4:37 pm) |
| [Solved] Help with timer | Hmmm, well for starters, you could create a named scriptObject of some class, lets say "timerCl... read more | 08/24/2011 (2:40 pm) |
| initializeProject function not found | That is odd indeed. Hmmm. Okay, if you haven't tried this already, try creating a new project and... read more | 08/24/2011 (2:22 pm) |
| Game screen resolution setup | You can call the "setScreenMode" function, like so: setScreenMode( width, height, bpp, ... read more | 08/22/2011 (7:53 pm) |