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

2023/4/12

Greenfoot uploading old version of my game

BigCakeTwo BigCakeTwo

2023/4/12

#
I have tried to upload a scenario to this website however when I launch the scenario on its page it plays an older version, which loads into a test scene I used while developing the game. I have tried deleting the test scene from the scenario project files before uploading it and uploading it under a new name but the scenario still loads into the deleted test scene instead of the actual game. Is there some way to fix this problem or is my project just broken?
danpost danpost

2023/4/12

#
BigCakeTwo wrote...
I have tried to upload a scenario to this website however when I launch the scenario on its page it plays an older version, which loads into a test scene I used while developing the game. I have tried deleting the test scene from the scenario project files before uploading it and uploading it under a new name but the scenario still loads into the deleted test scene instead of the actual game. Is there some way to fix this problem or is my project just broken?
If deleting the files by way of file directory actions, you need to delete ALL 3 files related to the test scene. There should be a .java file, a .ctxt file and a .class file. Removing the .java file alone will leave the class in your project, but make the code inaccessible. It should still show up in the class tree frame. Best way to delete a class is through greenfoot itself. Just right click on the class and select Delete from the pop-up menu and confirm the deletion. It should then be removed from the class tree in the class frame (and from your project).
You need to login to post a reply.