Jump to content

[CocoonJS] RequestAnimationFrame Exception


Recommended Posts



I'm currently porting my game to mobile devices with CocoonJS. After days with a lot of headaches trying solve the issues, i came with one that i read on the forums that is solved on CocoonJS 1.4.4, but because i'm new with this I don't know what version it's actually being used to compile my project.


I'm having this error:

Javascript Exception (Line: 7181 Tag: 'requestAnimationFrame'): TypeError: 'undefined' is... 

Does someone knows this error? How can i fix it?


Thanks in advance.

Link to comment
Share on other sites

  • 4 weeks later...

@programlocura: If you are using the cloud compiling service, it will always use the latest stable version of CocoonJS. If you are the Custom Launcher, as you seem to be, it is always updated to the newest version per cloud compile too.


Are you getting any other errors with Phaser itself? Version 1.1.6 still has some issues, but version 1.2 has patches for most known problems with CocoonJS.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

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