This site requires JavaScript, please enable it in your browser!
Greenfoot back
Psychpsyo
Psychpsyo wrote ...

2015/10/17

jar file without "Run" or "Reset"

Psychpsyo Psychpsyo

2015/10/17

#
I know, how to export a greenfoot project as a jar file, but I want to know, if there is a way to edit the jar file so the "Run" and "Reset" buttons at the bottom aren't there anymore? The programm should just do the "Act" methods automatically all the time without pressing "Run". And the "Reset" button should be removed.
davmac davmac

2015/10/20

#
You can put "Greenfoot.start()" in your world's constructor so that the user doesn't have to click "Run" to start your game. There's no simple way to remove the Run and Reset buttons altogether, although that might be available in the next version of Greenfoot.
You need to login to post a reply.