Compatibility of processing and processing.js
in
Processing with Other Languages
•
8 months ago
Hi,
I am currently developing a Pong-like game for every platform...
I also tried to export it as JS without any code changes....
The problem was, that Processing uses:
DisplayWidth
Processing.js uses (IMHO like Android)
Screen.Width
This means a compatability problem...
Is there a boolean Processing.Java, Processing.Js, Processing.Android to detect which System is used and to react on it. (So that there is no compiling error)
Thanks for your answer...
Florian
1