Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / screen goes white after splash and before game begins (IOS T1)

Author
Message
lmr2013
11
Years of Service
User Offline
Joined: 15th Jul 2013
Location:
Posted: 6th Sep 2015 19:40
hi all,

wondering can anyone help

i've compiled an .IPA, using the 3 splash screens asked for on the 'Export Project>As iOS IPA' in AppGameKit v2.

i've installed it on my ipad, which seems to work fine - however following the splash screen, the screen then goes white for a moment, and then the game starts.

is there any way to remove the 'white' screen bit.?

if its needed, can this be turned to black?

thanks in advance for any advice.
lmr2013
11
Years of Service
User Offline
Joined: 15th Jul 2013
Location:
Posted: 7th Sep 2015 23:19
ah ha...found it was because i wasn't loading an image in the first few lines of the code before the app started loading in all the other stuff - it must default to a white background if nothing is set. i've just the loaded a tiny 25x25 black square image and set it to the size of the screen in the very first few lines, and it's removed the white screen that appears after the splash screen.
Funnell7
13
Years of Service
User Offline
Joined: 8th Sep 2011
Location: UK, England
Posted: 8th Sep 2015 00:05
You could try SetClearColor(0, 0, 0)...

Using AppGameKit V2 Tier 1
lmr2013
11
Years of Service
User Offline
Joined: 15th Jul 2013
Location:
Posted: 8th Sep 2015 23:22
just tested it, that works and is less code.

thanks funnell
xCept
21
Years of Service
User Offline
Joined: 15th Dec 2002
Location:
Posted: 9th Sep 2015 03:55
Quote: "i've just the loaded a tiny 25x25 black square image"

You can create blank sprites for this purpose without any media, i.e.,:



I usually do this and also create a text object with "Loading..." and place it in the center of the screen. After creating this initial loading view, call:



Before any additional code to make sure it loads right away and remains until the rest of the content has been loaded in and the app is ready. Then delete the sprite and text object.

Login to post a reply

Server time is: 2024-11-16 20:36:42
Your offset time is: 2024-11-16 20:36:42