Jump to content

CocoonJs-Launcher: game won't preload unless clicking a link first


christianstrang
 Share

Recommended Posts

This will not solve your problem, but this is the first thing i saw:
You're using the DOM. CocoonJS ignores the whole dome except the js files 1 canvas and style with font-family.

mainstate: preload:

$('#debug').text("preloading!");
$('#startbutton').remove();

and so on... this code will not work since cocoonJS has no DOM.


 

Link to comment
Share on other sites

Okay,

does CocoonJS outputs anything in the console?
For me mainState is running.

I'm not experienced in the use of jQuery with CocoonJS ~ does it matters if you comment the few lines of JQuery out - before loading - Do not know if it change anything.

Link to comment
Share on other sites

okay, I only run it trough iOS since that I have no android device available at my current location.
But I do not remember the console should look like this. ..
I also do not have received an update for - more than 2 month.

I will check again when I have an android device available.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...