Game Development Community

Kevin James's Forum Posts

Thread Post Date Posted
World Limit Bounce Oh, that's right. I've never done that. That's gives me something to research, thanks!... read more 05/18/2010 (5:45 am)
Gui objects... I just don't get one thing... [code] new GuiButtonCtrl(button) { [/code] Here "button" is the name of the instantia... read more 05/17/2010 (12:58 pm)
Introducing Fangorodrim Thanks for ideas, Patrick. Part of the RPG element is that your turn speed increases as you gain lev... read more 05/16/2010 (4:50 pm)
physics seemingly randomly turns on Exactly. But you should call it levelClass.cs to be in line with your naming convention.... read more 05/15/2010 (8:11 am)
physics seemingly randomly turns on level.cs will contain all of the custom methods you create. Functionality such as creating enemies s... read more 05/14/2010 (8:53 pm)
physics seemingly randomly turns on That's close, but %this should refer to something. Example: [code] function Level::createEnem... read more 05/14/2010 (7:12 pm)
physics seemingly randomly turns on Your trigger would call a function that creates the enemies. If addToScene is an existing callback, ... read more 05/14/2010 (5:48 pm)
physics seemingly randomly turns on Unwieldy at least.... read more 05/14/2010 (4:54 pm)
physics seemingly randomly turns on Do all of your objects exist in the level designer?... read more 05/14/2010 (4:39 pm)
physics seemingly randomly turns on I don't know about a global variable, but this is what I do at creation time for all of my non-physi... read more 05/14/2010 (4:22 pm)
Introducing Fangorodrim I made the menu screens smaller. Hopefully that is small enough. I had to change the font because th... read more 05/14/2010 (1:13 pm)
Resolution question Thanks! That's what I needed to know. ... read more 05/14/2010 (9:41 am)
Introducing Fangorodrim I made some minor changes based on everybody's input. The menus stay open by default. x closes all m... read more 05/13/2010 (6:15 pm)
Introducing Fangorodrim Do you guys play it in full screen? I play it windowed and the print is kind of small as it is.... read more 05/13/2010 (11:49 am)
Introducing Fangorodrim Thanks for trying it out guys. The main menu includes an instruction screen. My #1 beta tester just ... read more 05/13/2010 (9:25 am)
Generating a Static Sprite in Script Here's an example from my game, based on the Shooter tutorial: [code] function Alien::createMiss... read more 05/13/2010 (8:34 am)
Largest TileMap Diplayed? Yes, a grid format is something I would prefer to begin a project with instead rewriting existing co... read more 05/12/2010 (8:11 pm)
Check existence of behavior Ahhh perfect!... read more 05/12/2010 (3:13 pm)
Check existence of behavior Since all I need to know if there is any behavior, this works: if (%object.getBehaviorCount()){... read more 05/12/2010 (12:40 pm)
Reuse most of the level? This is a lot of work, but if you reconstruct your frame in script then it becomes reusable wherever... read more 05/12/2010 (6:54 am)
delayed reaction Using behaviors can become a crutch, especially for new programmers. They work like magic and are wo... read more 05/12/2010 (4:58 am)
Largest TileMap Diplayed? Rather than one large tilemap, you could link together multiple, smaller tilemaps in a grid format. ... read more 05/12/2010 (4:43 am)
Problem with New t2dStaticSprite() 1. One thing about OnLevelLoaded is I'm not sure how useful that is after the level is loaded. I wou... read more 05/11/2010 (5:01 pm)
schedules && performance I'm on 1.7.4. I'll wait for the dust to settle on 1.7.5 then take advantage of your SimSet upgrade.... read more 05/11/2010 (10:53 am)
schedules && performance That's a great suggestion! Coincidentally, I just spent a couple hours reworking the code with a sim... read more 05/11/2010 (9:20 am)
Do you think I should go through with this game project? I run into this problem with every game I work on. Its exciting at first, then as it drags on and I ... read more 05/11/2010 (5:26 am)
Problem with New t2dStaticSprite() Post your latest code.... read more 05/10/2010 (6:05 pm)
Resource for a chat log or text buffer? That would be a string array.... read more 05/10/2010 (5:11 am)
Problem with New t2dStaticSprite() What is %this? Is %this.scenegraph really the scenegraph? You assign %this.spawnX and %this.spawnY w... read more 05/09/2010 (5:55 pm)
Problem with New t2dStaticSprite() Also... I recommend you do something like this: [code] $GreenSUVObject = createCar("Car2Ima... read more 05/08/2010 (4:37 pm)
Problem with New t2dStaticSprite() You have to set the scenegraph for each sprite (made this mistake many times myself) [code] $G... read more 05/08/2010 (4:28 pm)
OnUpdate You can turn visibility off when it goes off screen. Then you can do this: [code] function whatE... read more 05/08/2010 (4:22 pm)
Sound.playing? Niiice! Thanks for the fast response!... read more 05/08/2010 (12:58 pm)
%this gets lost Yes! I keep getting burnt by that.... read more 05/06/2010 (7:41 am)
%this gets lost Nevermind.. I saw it as soon as I clicked submit DOH!... read more 05/06/2010 (6:11 am)
t2dSceneObject.rendered? Thanks, that's what I needed to know.... read more 05/05/2010 (4:35 am)
echo position not returned. ( i know ) In order to learn something you have to make a change. Doing the same thing over and over gains you ... read more 05/04/2010 (8:33 pm)
echo position not returned. ( i know ) without basic troubleshooting skills, your entire programming experience will be one major headache.... read more 05/04/2010 (5:35 pm)
echo position not returned. ( i know ) basic troubleshooting dictates you start at the beginning of the process, placing echo's along the w... read more 05/04/2010 (3:07 pm)
echo position not returned. ( i know ) You dont see the echo because the logic is not getting there. ... read more 05/04/2010 (2:26 pm)
White Noise echo("here") it doesn't matter. If you expect to see 1 "here" but instead you se... read more 05/02/2010 (8:25 pm)
White Noise put an echo next to your alxplay and see if the output is what you expect.... read more 05/02/2010 (7:51 pm)
Alt+Tab and Alt+Enter don't work when GuiTextCtrl present My first approach would go something like this: 1. onKeyDown of the text control - look for Alt bei... read more 05/02/2010 (3:38 pm)
White Noise I doubt the problem is with the engine. Audio works fine for me. What version of TGB are you using?... read more 05/02/2010 (2:50 pm)
White Noise When you say "direct test" does that mean you play the file in something like Media Player... read more 05/02/2010 (1:26 pm)
White Noise Are you only accepting help from staff? Anyway... What does your file sound like when played by ... read more 05/02/2010 (11:22 am)
Any way to GetLetter? Good call Patrick. I would use strLen regardless of whether or not the length is the same. Its the s... read more 05/02/2010 (11:15 am)
Any way to GetLetter? read it from the file normally and then parse the string you get with a char function. I'm not sure ... read more 05/01/2010 (1:12 pm)
Alt+Tab and Alt+Enter don't work when GuiTextCtrl present You have the text control in focus. That is why its "intercepting" the keyboard input. How... read more 05/01/2010 (6:51 am)
setting layer woes(solved) What is the difference between methods and functions in torquescript?... read more 04/30/2010 (7:33 pm)