Create a new t2dSceneObjectDatablock cause the game to crash
by Andrea Farid Marsili · in Torque Game Builder · 03/15/2011 (2:16 pm) · 6 replies
I was following this tutorial:
http://tdn.garagegames.com/wiki/TGB/PlatformerStarterKit/Basic_Enemy_Tutorial
But when I try to preview my game it crash or I cannot see the new enemy.
Someone knows why?
http://tdn.garagegames.com/wiki/TGB/PlatformerStarterKit/Basic_Enemy_Tutorial
But when I try to preview my game it crash or I cannot see the new enemy.
Someone knows why?
#2
03/21/2011 (9:13 am)
Do you own the Platformer Starter Kit; that tutorial is specific to that kit?
#3
03/21/2011 (10:31 am)
Obviously I own it and yes that tutorial is made for PSK.
#4
How about you post some of the code, error message, or anything that provides some help in assisting you.
Which is it? Does it crash or can you not see the enemy?
03/21/2011 (2:29 pm)
Obviously? Then perhaps ask in the PSK forum if you're an owner. How about you post some of the code, error message, or anything that provides some help in assisting you.
Quote:
But when I try to preview my game it crash or I cannot see the new enemy.
Which is it? Does it crash or can you not see the enemy?
#5
The console doesn't give me any error, the code is exactly the same of the tutorial.
Sometime I cannot see the enemy and sometime the game crash.
Yes it look weird but it's the truth.
Thank you for trying to helping me, I'll try to run the game again then see if some error message will be displayed in the console.
03/21/2011 (2:38 pm)
"Obviously" because if my copy was an illegal one I would not ask for help here.The console doesn't give me any error, the code is exactly the same of the tutorial.
Sometime I cannot see the enemy and sometime the game crash.
Yes it look weird but it's the truth.
Thank you for trying to helping me, I'll try to run the game again then see if some error message will be displayed in the console.
#6
If you're getting *something* at all in your console before a crash, start putting echo's along the way and try to find where it crashes. Or better yet breakpoints if you're using Torsion.
03/21/2011 (2:52 pm)
Ya, TGB can be wacky...If you're getting *something* at all in your console before a crash, start putting echo's along the way and try to find where it crashes. Or better yet breakpoints if you're using Torsion.
Torque Owner Andrea Farid Marsili
Footprint Games