We are about to switch to a new forum software. Until then we have removed the registration on this forum.
So im taking a programming class and im pretty new to all of this. So, Im trying to make a game for an assignment and im looking at this website for refrence: http://processingjs.nihongoresources.com/test/PjsGameEngine/docs/tutorial/mario.html
And on the website the person who wrote it has a link for the library here: http://processingjs.nihongoresources.com/test/PjsGameEngine/docs/tutorial/codebase.pde
How do I use this like he is? Its not the same as downloading a library from processing online thingy w.e. its called.
Answers
Seems like it is written as cross-mode compatible w/ Java (P5) & JavaScript (Pjs) modes:
https://Processing.org/reference/
http://ProcessingJS.org/reference/
There are some old (and already removed) system variables like screenWidth instead of displayWidth too:
After some tiny fixes, it pretty much should run in any Processing version.
And then transpiled as JS via this link: http://ProcessingJS.org/tools/processing-helper.html
You can also try your luck out w/ JavaScript Mode:
https://GitHub.com/fjenett/javascript-mode-processing/issues/33
Or even host it online: :bz
https://www.openprocessing.org/sketch/create
http://studio.SketchPad.cc