Beginner question
by Janus Gorzawski · in General Discussion · 04/04/2006 (2:01 pm) · 2 replies
Hello,
I'm completely new to Torque2D, so excuse me if my question is stupid. I've purchased T2D and wanted to go through the beginner's tutorial (the space shooter tutorial). I've moved all images from "Torque2D\SDK\example\spacescroller\client\images" to "Torque2D\SDK\example\T2D\client\images", modified the client.cs script as described and lauched the T2D.exe but I see nothing but the empty homepage of T2D. No sprite. Can somebody help me? Thank you.
I'm completely new to Torque2D, so excuse me if my question is stupid. I've purchased T2D and wanted to go through the beginner's tutorial (the space shooter tutorial). I've moved all images from "Torque2D\SDK\example\spacescroller\client\images" to "Torque2D\SDK\example\T2D\client\images", modified the client.cs script as described and lauched the T2D.exe but I see nothing but the empty homepage of T2D. No sprite. Can somebody help me? Thank you.
#2
Loading compiled script T2D/client/client.cs.
T2D/client/client.cs (0): Unable to instantiate non-conobject class fxImageDatablock2D.
fxStaticSprite2D::setImageMap() - fxImageMapDatablock2D Datablock is invalid! (playershipImageMap)
It's the only error message I found.
04/05/2006 (3:51 pm)
I checked the console.log file and found this:Loading compiled script T2D/client/client.cs.
T2D/client/client.cs (0): Unable to instantiate non-conobject class fxImageDatablock2D.
fxStaticSprite2D::setImageMap() - fxImageMapDatablock2D Datablock is invalid! (playershipImageMap)
It's the only error message I found.
Torque Owner Benjamin Bradley
When you try running the T2D.exe and see that nothing is showing up... Check the console log or press your "~" key and drop down the console. Then scroll up and see if anything appears in red. The things in red will be your errors and should point you in the direction you should look closer at. (This is what I do when I'm messing around in the engine and something doesn't go like I expect it to.)