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

2011/12/14

How to check in the code if the scenario is in the greenfoot gallery?

dordor dordor

2011/12/14

#
I want to upload a game with high scores to the greenfoot gallery. I know high scores can't work in the gallery, so I want that the program checks if the scenario is in the gallery,just if not in the gallery. can someone help?
dordor dordor

2011/12/19

#
I solved it by simply asking the player, but if someone can tell me how to do that automatically, it will be better.
danpost danpost

2011/12/19

#
You could try creating and writing to a file, and then try to open and read the file and if it fails you are probably on the site.
You need to login to post a reply.