What code is not permitted in canvas+?


#1

hi,
i made a simple example who works both with canvas+,webview and webview+.
But with my game about 2000 line’s code it doesn’t works on canvas+. i don’t find the bug inside my script. So my question is : what code is not permitted in canvas+ ?

by test i see that this code doesn’t works (arrow function) : var somefunction=()=>{}
is there anything else that don’t work ?


#2

any code cocoon compiler doesnt support, will show an error message in the console.

sometime I use trunc() in my projects and then I can see the error in my compiler. then I just fix it with some code cocoon allow, in this case parseInt() …

its not needed a list of code that work on cocoon, just make your project in javascript and test it


#3

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.