I had a working game that needs updating - I hard that mainly the instructions have to be in the class and not taken from a file, then upload the new version. How is this done?
I had a working game that needs updating - I hard that mainly the instructions have to be in the class and not taken from a file, then upload the new version. How is this done?
There is nothing to prevent the reading of files in a scenario. Why do you need to put the instructions in a class instead?
That was suggested by the instructor of the class where I wrote this game, as the reason why the game now longer compiles or runs in the new version of Greenfoot. I got the Instructions class to compile, but the game no longer works. I would appreciate any suggestions
That was suggested by the instructor of the class where I wrote this game, as the reason why the game now longer compiles or runs in the new version of Greenfoot. I got the Instructions class to compile, but the game no longer works. I would appreciate any suggestions
Maybe you should take a look at my TextFile Viewing World Class scenario which has a TextFileViewer class. You can run the scenario to view the code (click on the Viewer button).
Thanks, and I think this will be useful in the future, but it isn't the issue now.
I got the Instructions class to compile on my machine, then hit the share button, which gave the message that it was publishing.
But there is no evidence that the new version was uploaded.
Is there a way to run the transpiler to try the javascript version?
Without any available code to your project, it is impossible to say why it will not run in HTML5. However, in the majority of the times, it is because some class in the java.awt package is being used.