How do I fix a black screen?

Get help using Construct 2

Post » Sat Sep 24, 2016 11:48 pm

I just bought a personal license last night. Everything has been going really well. Then I made a text box and placed it on the main character. Now when I upload to my website the screen goes black. Seriously? Found this issue back in July of 2015 and it's STILL not fixed? What gives...
B
5
Posts: 5
Reputation: 235

Post » Sun Sep 25, 2016 8:10 am

Capx, URL or some directions would be really helpful.
Image
B
17
S
5
G
1
Posts: 122
Reputation: 1,930

Post » Wed Sep 28, 2016 3:50 pm

Chroma72 wrote:I just bought a personal license last night. Everything has been going really well. Then I made a text box and placed it on the main character. Now when I upload to my website the screen goes black. Seriously? Found this issue back in July of 2015 and it's STILL not fixed? What gives...


In my experience, this is caused when some file (like appmanifest.json or offline.appcache) fails to load or contains improper contents.
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,415
Reputation: 4,824

Post » Wed Sep 28, 2016 8:17 pm

@gumshoe2029

In my experience, this is caused when some file (like appmanifest.json or offline.appcache) fails to load or contains improper contents.[/quote]


I have exported as cordova and I can´t find the appmanifest.json or offline.appcache on my exported project on xdk. Where can I find this files?,
The config.additions should be always empty, right?
MY APPS ON GOOGLEPLAY
ImageImageImage
B
39
S
14
Posts: 100
Reputation: 2,928

Post » Thu Sep 29, 2016 2:19 pm

These files in particular may only be on the HTML5 export, but black screens are caused by missing files. Do you have a debugger to see which files are not loading?
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,415
Reputation: 4,824

Post » Thu Sep 29, 2016 10:26 pm

@gumshoe2029

I have opened the xdk debbuger by first time and I have found here 2 critical issues. But it looks to be normal, at least on my apps, because I have tried to debbuged another app that works fine and show shame results on console.
These are the errors:
Uncaught (in promise) DOMException: A call to lockOrientation() or unlockOrientation() canceled this call.
Uncaught (in promise) DOMException: The page needs to be fullscreen in order to call lockOrientation().

I have checked the "full screen" on "build settings" on Xdk, so I don´t undertand why this error appear and I get no other clue about black screen.
MY APPS ON GOOGLEPLAY
ImageImageImage
B
39
S
14
Posts: 100
Reputation: 2,928

Post » Fri Sep 30, 2016 1:07 am

@Rasputin and @Chroma72 I've had a lot of the same issues over the past 6 months. When I finally got everything working I wrote down everything I did in a tutorial format in my blog. Feel free to check it out if you think it might help

http://megagamestudios.com/vegas-blog
Mega Game Studios is a tiny independent game studio run from our apartment in Melbourne, Australia. We're not quite sure what we do yet but we think it has something to do with apps, board games and plush toys.

www.megagamestudios.com
B
18
S
7
G
3
Posts: 85
Reputation: 2,920

Post » Fri Sep 30, 2016 1:52 pm

The full screen stuff is because all browsers require input (like mouse click or screen touch) to activate full screen mode, but you're right, that doesn't explain the black screen.
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,415
Reputation: 4,824


Return to How do I....?

Who is online

Users browsing this forum: David181, jorgmaquoi, unicornspitfire and 21 guests