Hello everyone i'm working on a game using processing, i'v done much progress on the game but when i export applet it won't work in the browser because it has GUI. i tracked the problem and figured out that when menus start adding buttons/other menu, the program crashes. when i add the buttons/menu to the program (they work properly when you run it in processing) but when i export applet and run in browser the GUI doesn't even appear (i used frame.add(new MenuBar()) ......) if anyone has any proposal on how to get this working...or to make the game run in a popup window after opening the webpage. Thank you :)
Hi there, I exported the game as application...but i want to export it as applet so that it would be played online. if you saw the game, the GUI is obvious. but when i export the game to applet the GUI the GUI doesn't appear (when i run the applet //in Google Chrome// it only shows a white rectangle) . And with respect to "controlP5 " I don't know anything about it i'll research it soon ( its 1:30 pm around here) if it could do any benefit please point that out.
take a look at this code snippet: (export applet and run)