We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello guys, I'm learning processing and I'm facing a very frustrating problem. I wrote a simple word search puzzle with 3 words sheets and a couple of words. I don't understand why it doesn't work in javascript mode. In java mode seems to work fine.. If you could just give a look, any help would be very appreciated. Sketch Thanks a lot Francesco
Answers
Your timer function uses the Java object
Integer
which is not supported in ProcessingJS. Instead of usingInteger.toString(n)
usestr(n)
.Actually, JS won't care whether a variable is int or Integer. However, we can't use Integer's methods! :-SS
Unless PJS developers decide to implement them in JavaScript mode some day! :bz
Billautomata, you are the man! thanks a lot!!!