Blank Screen in Simulator
by Zilla · in iTorque 2D · 06/19/2009 (2:35 am) · 14 replies
I was trying to follow the first tutorial ("Compiling to Simulator") but after the GG splash screen, there is just a white screen in the simulator instead of the moving and draggable graphics.
The example runs fine when I press the "Play Scene" button in iTGB.

The example runs fine when I press the "Play Scene" button in iTGB.

#2
06/19/2009 (8:57 am)
make sure your camera and desktop settings are both set to 320 x 480 or 480 x 320 depending on whether you are using normal or landscape mode for your game respectively.
#3
What does the Simulator offer? Can it play MP3s where the editor can't?
06/19/2009 (9:32 am)
This might sound like a stupid question, but what's the difference between playing the game directly from the editor versus playing it on the Simulator?What does the Simulator offer? Can it play MP3s where the editor can't?
#4
06/19/2009 (11:02 am)
The resolution in the game is set to 480x320,Quote:desktop settings are both set to 320 x 480 or 480 x 320but what do you mean with setting the desktop of the mac to this size?
#5
I wouldn't set the mac desktop to that size no :)
06/19/2009 (11:05 am)
I mean the 2 different places you can set the game resolution in iTGB. I wouldn't set the mac desktop to that size no :)
#6
06/19/2009 (11:18 am)
Quote:what's the difference between playing the game directly from the editor versus playing it on the Simulator?I don't know either... ;) I was just following the tutorial ;) and because I am an iTGB novice and don't have an iPhone yet(!), I wanted to check the app in the Simulator/Xcode environment.
#7
I've had problems like this, and it usually boils down to some scripts not having been recompiled, or choosing a wrong optimisation setting. 1.2.1 will reduce the number of targets, meaning it's harder to screw up (and boy do we mere mortals screw up a lot when compiling iTGB ;).
06/20/2009 (12:55 am)
You should get an iPod touch and see if you get the same problem on the device. The simulator doesn't have exactly the same results as a device, since it's just x86 code running against a similar API to the device.I've had problems like this, and it usually boils down to some scripts not having been recompiled, or choosing a wrong optimisation setting. 1.2.1 will reduce the number of targets, meaning it's harder to screw up (and boy do we mere mortals screw up a lot when compiling iTGB ;).
#8
06/20/2009 (1:53 am)
Quote:I've had problems like this, and it usually boils down to some scripts not having been recompiledNevertheless I was very surprised that even the first, simple GG tutorial app did not work...
#9
David, please let me know when you find a specific solution to this problem. Any help would be appreciated :)
06/20/2009 (5:24 am)
David wrote:"I am having the exact same issue as Zilla."David, please let me know when you find a specific solution to this problem. Any help would be appreciated :)
#10
Unfortunately I am still having this problem -- I haven't had any time to debug it yet.
06/22/2009 (10:30 am)
Quote:David, please let me know when you find a specific solution to this problem. Any help would be appreciated :)
Unfortunately I am still having this problem -- I haven't had any time to debug it yet.
#11
Window not centered on iPhone
Blank White Screen
06/22/2009 (1:08 pm)
@Zilla - Read these threads:Window not centered on iPhone
Blank White Screen
#14
01/18/2010 (2:45 pm)
I've found that if I have Interface Builder open, the first time I try to check my project by launching the iPhone Simulator, I will get a blank screen in the iPhone Simulator. If this occurs, try quitting out of Interface Builder first and then do a Build and Go to launch the iPhone Simulator. Not sure why but this works every time for me. Once it works the first time you don't have to keep doing it while you're working on it.


David Gagnon
Longtail Studios