Overall HELP for using Processing.js

Hi! I am a huge noob in programming and I'm trying to develop a simple 2d game based on Mario for a school assignment using this tutorial: http://processingjs.nihongoresources.com/test/PjsGameEngine/docs/tutorial/basic.html

By trial and error, I've found that Processing 3.3.6 is unable to import the library set to this code and, instead, I have to use the .js one. I've found too some guy asking the same question as I am about to do now just cause I did not understand the answers given to him.

I downloaded http://processingjs.org/download/ the JS by clicking "save link as" but I don't have a clue as how to proceed. Will I have a platform like Processing 3.3.6 to import the library and start following the tutorial? I need to import the library that this tutorial provided (http://processingjs.nihongoresources.com/test/PjsGameEngine/docs/tutorial/codebase.pde) so the code is able to run.

Can someone help me?! I am a bit tight in dead line.

Tagged:

Answers

  • Question: Do you want to use java or javascript? The tutorial is in java, so if you want to work in java, you should use Processing instead. As a side note, Processing.js is not being supported, and people are either sticking to Processing (java) or p5.js (javascript). If you still insist in using processing.js (aka P.js) then you should explore previous posts. Also, please provide a link to the following reference in your prev post:

    I've found too some guy asking the same question as I am about to do now just cause I did not understand the answers given to him.

    Kf

  • edited November 2017

    That Mario Pjs Engine is pretty old! It's from the time of Processing 1.x.x!!! @-)

    To lend you a hand, I've downloaded its assets, created an "index.html" file for it, and made just enough tiny changes so I could run it in the browser and also on Processing 1.5.1. #:-S

    Then I've created a repo for it here: https://GitHub.com/GoSubRoutine/PjsGameEngine

    Download available at this link: https://GitHub.com/GoSubRoutine/PjsGameEngine/releases

    Online running version at: https://GoSubRoutine.GitHub.io/PjsGameEngine/codebase/

Sign In or Register to comment.