sketch not working in javascript mode/web export

edited March 2014 in JavaScript Mode

Hi, I am fairly new to processing. I created a sketch of a retro styled PONG game. I am now trying to export it to the web so that I can display this work to processing community on openprocessing.org. The sketch works perfectly in java mode, but when i switch to javascript it doesn't so I cannot export a functioning version to web. Here is screenshot of errors on javascript console... thanks for help.Screen Shot 2014-03-10 at 15.07.58 CLOSER LOOK Screen Shot 2014-03-10 at 15.08.08

Answers

  • edited March 2014

    Apart from Firefox and its siblings, every other browser stopped running scripts & add-ons from ".html" files,
    which aren't running from a server, a long time ago! (~~)

    I advise you to test your code by either using Firefox, or by using JS Mode, which already creates a local server! o->

Sign In or Register to comment.