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

2019/9/2

Help sharing game

TeamusTu TeamusTu

2019/9/2

#
For some reason my game won't come up on the Greenfoot gallery, it keeps saying java.lang.RuntimeException and I have no idea how to fix it. The greenfoot file seems to be working fine. Here's the link to the scenario https://www.greenfoot.org/scenarios/24451.
danpost danpost

2019/9/3

#
TeamusTu wrote...
For some reason my game won't come up on the Greenfoot gallery, it keeps saying java.lang.RuntimeException and I have no idea how to fix it. The greenfoot file seems to be working fine. Here's the link to the scenario https://www.greenfoot.org/scenarios/24451.
It seems that javascript does not like your block.jpg image. Try changing it to a .png file.
TeamusTu TeamusTu

2019/9/6

#
Ok, so it seemed the problem was my static variable for my block, I moved that over to my level 2 world and it seemed to have worked. Thanks for pointing me in the right direction!
You need to login to post a reply.