Game Development Community

James Ford's Forum Posts

Thread Post Date Posted
Levels as menus, crash and burn I think this is the usual problem, where you are in an object's callback and you do something (load ... read more 08/10/2008 (9:38 am)
Updating scores during multiplayer and showing on GUI In the clientCmdcheckMission, does %client.score ever give you anything? Although you are sending t... read more 08/10/2008 (9:34 am)
TGB application gui bug Same issue for me, Windows Vista home premium 64 bit. Unchecking Disable desktop composition worked... read more 08/10/2008 (8:45 am)
Unable to save my own mission to my own Projects folder Interesting, I'm experiencing the same thing. If the mission name already exists it will properly s... read more 08/10/2008 (8:19 am)
Crashes and wont save Do you get any messages when the crash occurs? Do you have anything useful in your console.log when... read more 08/10/2008 (7:18 am)
Crashes and wont save I ran the game without crashing. I also ran TGB (1.7.4) opened your project, dragged an object arou... read more 08/10/2008 (7:16 am)
Console (?) Um, you are typing 50-60 line scripts in the console? Make a new cs file and exec it. If what I ju... read more 08/10/2008 (5:04 am)
Crashes and wont save That actually runs for me without any problems.... read more 08/09/2008 (7:56 pm)
Popping most recent dialog off the stack Oops! You are correct Jaimi.... read more 08/09/2008 (7:48 pm)
Popping most recent dialog off the stack I don't think the canvas keeps track of that for you, but you can always do it yourself. Like maybe... read more 08/09/2008 (6:51 pm)
Crashes and wont save I really doubt anything is "corrupt", unless you have random garbage characters in your scripts, whi... read more 08/09/2008 (6:42 pm)
Confused script no error How would that ever reach call == 2? You have it all inside onLevelLoaded, which only happens once,... read more 08/09/2008 (6:27 pm)
Definition of long in writeLongString It will reduce the total bits he has to write by a ton, how does that not solve his problem? Well, ... read more 08/09/2008 (1:19 pm)
Mouse question Tip, give your test objects an internal name, then you can do.. [code] %obj = %simset.findByInte... read more 08/09/2008 (1:14 pm)
Definition of long in writeLongString How is the server/client using this xml? With tinyXML you should be able to load XML into a bin... read more 08/09/2008 (12:42 pm)
Packages, Namespaces and special keywords You can also use :: to directly call any function/method that has a namespace, the only different be... read more 08/09/2008 (12:31 pm)
Confused script no error [code] function en::onLevelLoaded(%this) { %call=1; %this.moveTo("33 -24", 10, true, true,... read more 08/09/2008 (3:24 am)
Confused script no error Don't pass a negative speed into moveTo under your (%call==1) block. It should always be positive. ... read more 08/09/2008 (3:04 am)
Confused script no error It also looks like you didn't switch the last call from setPositionTarget to moveTo. And what does ... read more 08/09/2008 (2:22 am)
Confused script no error You really don't see anything wrong with line 5? There's a close parenthesis and double-quote there... read more 08/09/2008 (2:14 am)
Created objects act immovable -Solved I haven't used constantForce much, and maybe its something you need for this object, but I'm sure if... read more 08/09/2008 (1:48 am)
Another question - looping a parallaxing background image in TGB All I can say is look at the documentation to find the methods a t2dScroller has and try using it. ... read more 08/09/2008 (1:38 am)
Confused script no error Try using moveTo instead of setPositionTarget.... read more 08/09/2008 (1:34 am)
Created objects act immovable -Solved Ive ran into this before, well, multiple times. Hope that fixes it.... read more 08/09/2008 (1:32 am)
Created objects act immovable -Solved Yeah, I think the problem is when you call setCollisionLayers it knows how to take a space separated... read more 08/09/2008 (1:24 am)
Another question - looping a parallaxing background image in TGB I don't know of any way to make that work with a static sprite. Try using a scroller.... read more 08/09/2008 (1:14 am)
Created objects act immovable -Solved By the way, I think most of those "physics" related fields actually don't do anything unless you are... read more 08/09/2008 (1:08 am)
Created objects act immovable -Solved Do you have a background image, scroller, tilemap, etc, that it could be colliding with? Make sure ... read more 08/09/2008 (12:45 am)
Another question - looping a parallaxing background image in TGB If its a scroller, why would you want to tile it? That sortof defeats the point of a scroller. I... read more 08/09/2008 (12:37 am)
Turning off the map editor and GUI editor. Oops, my bad.... read more 08/09/2008 (12:31 am)
OnMouseDown(...) question I don't see any typos there, I suspect your problem is elsewhere, like %this.ho is not getting assig... read more 08/09/2008 (12:30 am)
Weird pickLine result or coding error? @1. Why did pickLine from Player to Catherina yield empty result? Not sure. @2. Why did pickLine... read more 08/09/2008 (12:28 am)
Making a sprite have a transparant background color in TGB You don't do that in TGB, you do that in your art itself. Eg. erase the blackground so it IS transp... read more 08/08/2008 (9:03 pm)
Question about the behavior scripts on this site Everything on the TDN is free, at least for licensed owners. Also, none of those behaviors do anyth... read more 08/08/2008 (9:01 pm)
Another question - looping a parallaxing background image in TGB Is your camera mounted to the player ship? How about also mounting the scrolling star-background to... read more 08/08/2008 (8:59 pm)
Creating and Managing User Profiles Thats what the resource does internally.... read more 08/08/2008 (5:55 pm)
Definition of long in writeLongString Unfortunately I don't know much about writeLongString, but I have run into the max bits issue and de... read more 08/08/2008 (1:05 pm)
NetEvents and multiple inheritance I haven't run across that one before... Why not derive your "super" class from NetEvent, then use s... read more 08/08/2008 (12:10 am)
AStar Help Look at line 123 in aStarActor.cs, whatever variable you are calling createpath on does not equal an... read more 08/07/2008 (7:28 pm)
Turning off the map editor and GUI editor. In your game/main.cs there is a line like, $userMods = "tools;" @ $defaultGame; Delete tools the... read more 08/07/2008 (12:57 pm)
Exact timing Ok, yeah thats what I meant '-)... read more 08/07/2008 (12:56 pm)
NetEvents and multiple inheritance I would think you could do multiple inheritance. Does your CustomSuperClass have a cpp (just asking... read more 08/07/2008 (12:31 pm)
Where are the GUI window coords stored? Only the GUI that has been moved has that info. You could auto save the gui over its own filename e... read more 08/07/2008 (12:27 pm)
Exact timing Yes you can use advanceTime. ProcessTick happens every 32 milliseconds.... read more 08/07/2008 (12:26 pm)
Animated sprites Give your bitmapCtrl a name, something like this in your GUI file... new GuiBitmapCtrl(PlayerPort... read more 08/06/2008 (2:36 pm)
Pathfinding with arbitrary boxes Oh, if you haven't come across this yet, I wrote a doc on working on the BeTheDinosaur AI and it has... read more 08/06/2008 (2:30 pm)
List of publishers Ahhh, and I thought it was just for added [b]impact[/b] like, "WOW, lot of developers-in-your-face!"... read more 08/06/2008 (2:23 pm)
Pathfinding with arbitrary boxes That would depend on the scale of your game. And if your agent movement appears smooth enough for y... read more 08/06/2008 (2:20 pm)
List of publishers Perhaps that would have been a good opportunity to provide a Link...... read more 08/06/2008 (2:02 pm)
Animated sprites @"So I can put that wherever I want the image to change" Yes @"and it will automatically know to... read more 08/06/2008 (2:00 pm)