We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I'm trying to follow this tutorial for making a level of Mario but I seem to be missing a library that isn't specified. Processing (in javascript mode) is getting stuck on syntax like addScreen(); addLevelLayer(); super(); etc. Does anyone know which 2D sprite-based game library he could be using?
Also, sorry to ask a dumb question but processing.js is just processing's javascript mode right?
Any help would be greatly appreciated.
Cheers, Kris
Answers
I guess it's this one https://github.com/Pomax/Pjs-2D-Game-Engine
Btw super() is a Java method used to invoke the constructor of the parent class.
Processing.js is just a bunch of JavaScript code used to convert Processing code into JavaScript, so that it runs on an HTML5 Canvas - so that you can run the Processing code on the web.
Did that library work for you? I am trying to follow the same tutorial but it isn't making sense to me. I got processing 2.02 and is just not reading the library.
Did you finish the game?
Actually
super
is a Java's reserved keyword which refers to the immediate parent class' reference of current object! :-Bhonestly... im doing the same tutorial.. its utter crap... the guy does not explain anything.... hes like "we ll be using a library to make a 2d sprite game... if you dont know what that means dont worry i wont be explaining it sucks for you! moving on to my pointless code for you to copy and paste that is useless without the library"
so how do go about getting the processing sketch itself to work in this tutorial.... im not concerned about uploading it to the web...