What do you think I should do?
by Robert Carroll · in Torque Game Builder · 10/28/2009 (9:59 pm) · 7 replies
Hi, Im faced with a chocie that I need some help on, thnks in advance
I keep getting a Run Time Error from changing levels then trying to move so...
1.) I could continue to make art,behaviors,levels and kinda wait for a fix or hope for the best.
2.) I could concentrate fully on the RunTime error and stop making the art,behaviors,etc.
3.) I could quit this game entirely and try a new game.
What I mainly need to know is how easy would it be to fix the error or I f its a waist of time to try. Thnxs from a n00b :)
I keep getting a Run Time Error from changing levels then trying to move so...
1.) I could continue to make art,behaviors,levels and kinda wait for a fix or hope for the best.
2.) I could concentrate fully on the RunTime error and stop making the art,behaviors,etc.
3.) I could quit this game entirely and try a new game.
What I mainly need to know is how easy would it be to fix the error or I f its a waist of time to try. Thnxs from a n00b :)
About the author
Stay Up all night playing PS3 ;) add me PSN: RCBASEBALL13.
#2
A good start would be to single step through the code to find the place where the error occurs.
10/28/2009 (10:55 pm)
Do you have Torsion?A good start would be to single step through the code to find the place where the error occurs.
#3
@Max No I don't have Torison so I can't do that.
10/28/2009 (11:01 pm)
@Peter Yea I think it might still be thinking about my player from my other scene (have alot of scenes all with the same copied player in all of them) Maybe tring to move that one.@Max No I don't have Torison so I can't do that.
#4
First thing to always do when you've encounter a problem is, find the problem itself. When you know what your problem is then make the decision #1, #2 or #3.
10/29/2009 (2:53 am)
You can get Torsion for a 30 day trial [here]. Even without Torsion you should be able to echo out where your game is crashing.First thing to always do when you've encounter a problem is, find the problem itself. When you know what your problem is then make the decision #1, #2 or #3.
#5
@Aun - Anyone can get a 30-day trial of Torsion, but not everyone can use it! Some of us are using Macs, and Boot Camp isn't an option for PPC Macs.
10/29/2009 (10:28 am)
@Robert - One useful technique, especially for a beginner, is to keep your changes very, very tiny, and thoroughly test your game after each one. That will allow you to observe the effect of each change in isolation, which can help you learn. Also, when (not if) something goes wrong after the latest change, you know precisely where to look to figure out the problem. That beats staring at hundreds (or thousands) of lines of new code, with no idea about where to even start looking!@Aun - Anyone can get a 30-day trial of Torsion, but not everyone can use it! Some of us are using Macs, and Boot Camp isn't an option for PPC Macs.
#6
But what I think I can do Is port the same player from scene to scene but IDK how to do that too, but it is mounted to things that I need over on he scene too.
10/29/2009 (11:11 pm)
kk, I found out why this is doing that. This happens when I link to a level that has a player from a level that has a player (both move) what I need to do I think is delete the player from scene A so that way its not still trying to move it. Or create a new player each time the scene is loaded but IDK how to do either of those :( But what I think I can do Is port the same player from scene to scene but IDK how to do that too, but it is mounted to things that I need over on he scene too.
#7
10/30/2009 (12:39 am)
I found out how to get around it finally. I just had to make the same behavior but name it behavior1 behavior 2 etc. Im left with 7 of the same behaviors but im glad it works :)
Torque Owner NCGames