Black screen in iTGB simulator - Please help feeble beginner developer
by Dave LoGiudice · in iTorque 2D · 01/28/2010 (11:47 am) · 1 replies
I'm new to scripting/coding so I'm sure my issue is user error. I'm having trouble getting any project built in iTGB to play (play scene button). I've tried some TGB tutorials as well as just a simple power-of-2 PNG in a blank scene. I just get a black screen in the simulator. Attempting the tutorials in TGB runs fine, it's just when I try the same steps in iTGB that if fails. The included iPhone Sample Project (gameplay example) works fine in the iTGB simulator. Are there specific things needed to be done with iTGB projects that wouldn't be mentioned in generic TGB tutorials? Any insight is greatly appreciated, and thanks to everyone for the awesome forums/tutorials!
-
Dave
-
Dave
About the author
Associate Dave Calabrese
Cerulean Games
First off, take a look at the GDB console. Whenever you "Build and Run" from XCode, a little GDB button will pop up underneath the selected file list. Press that to see the console. Most problems can be determined by seeing errors and warnings listed there.
So for starters, in XCode, take a look in your Resources folder. You should have both the Game and Common folders from your project in there, along with the main.cs and Default.png from your games' directory. If those are missing, you'll end up just seeing a black screen.