Problem with CocoonJS preview (errors or black)

Discussion and feedback on Construct 2

Post » Mon Jul 29, 2013 2:28 pm

Hi. I added the CocoonJS object to my new game and tried to preview it via Wifi but I get about 100 errors when trying this.

It says: "Cannot open the javascript file "preview_cocoonjs_postlude.js": NSURLErrorDomain and Ressources cant be found.

Now I tried to copy the exported .zip to my iPod with iTunes to open it in the cocoon launcher but I get a black screen and the launcher crashes every time.

But the game is only 2 layers with 400 tiny star sprites (white dots) and the layout moves right (scroll to X) to simulate moving stars and a soundfile plays in the background.

Does anyone know how I can fix the wifi preview or crashing launcher on my iPod (4th gen)? I downloaded the CocoonJS Launcher from iTunes about 30 minutes ago so it should not be outdated?
B
53
S
16
G
6
Posts: 718
Reputation: 9,150

Post » Mon Jul 29, 2013 3:51 pm

Not sure if this is relevant to your problem, but when I was having black screen issues with games on my Android tablet I resolved it by changing the Cocoon physics engine from 'Accelerated' to 'Standard web-based'.

To do that, add the CocoonJS object (if you haven't already) then change the physics engine through its properties.
B
9
S
1
Posts: 2
Reputation: 564

Post » Mon Jul 29, 2013 10:20 pm

I will try this tomorrow, thanks. (But I did not use any physics)
B
53
S
16
G
6
Posts: 718
Reputation: 9,150

Post » Tue Jul 30, 2013 3:21 am

This will be fixed when Ludei releases a new version of the launcher. No ETA.

http://www.scirra.com/forum/black-screen-cocoonjs-and-xdk_topic71730.html
B
30
S
10
G
7
Posts: 416
Reputation: 7,239


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 7 guests