So I started using javascript and html to make website and thought it be fun to convert my java games to javascript and place them on my website. I wrote code trying to see my javascript game from the html webpage, but i only see a white screen whenever i pull it up.
here the html code:
@ctrembla – This is a forum for Processing / p5.js.
Are you using Processing, and are you trying to write p5.js using the Processing PDE editor? You don’t say anything about how your spaceInvaders.js game was coded, and all I see in your code is JQuery.
I’m glad you got it figured out. Can you also post the answer here so other people with similar problems in the future will be able to learn? Also if you posted to another site please link between crossposts.