Game Development Community

problematic object, a how to trouble shoot scenario

by rennie moffat · in Torque Game Builder · 05/19/2010 (11:15 am) · 3 replies

a quick question,
I am wondering if anyone could prescribe a possible theory for the following situation.



I have a behavior attached to an object, many of the objects are everywhere in the world. When one taps the object (any of one of them) the player moves to it, with a simple moveTo Anyhow, my question is, this works fine. However, on some older levels, as I go back over them, update, make sure they are complete. The occasional tile (sometimes up to a third of the level) when I tap a "problematic tile" it sets the player in motion tho, it sends the player way away. It does not call it to itself. This is incorrect. The behaviors used are all the same. When I replace a new object (same image), and attach the same behavior, it works! So my question is, why, how could "older tiles" cause a problem?

I know this is a very obscure question but any insight into how to trouble shoot this scenario is currently beyond me. If I could find a solution it would save me a lot of work of finding and the replacing all the problematic ones.






Thanks.



::::))))((

About the author

My thanks to Garage Games and the Garage Games Community combined with owned determination I got one game up, Temple Racer and I am looking to build more interesting, fun games for the mass market of the iOS app store.


#1
05/19/2010 (12:30 pm)
PS. also, there is a selected tile to which the player will always go to, unless I delete that object. The player then chooses another random one to go to instead of the selected.


I guess maybe I should not ask these questions but I thought some Sherlock Holmes might be able to detect it.



Cheers
#2
05/19/2010 (4:47 pm)
Could be that you're saving a destination position to a global variable somewhere in your code, then it's being called when you tap an "older tile".

But really... who knows?
#3
05/19/2010 (5:10 pm)
true dat.

I guess it was a long shot for sure, but I thought I would ask anyway.



nice new pic by the way Patrick.