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

Super_Hippo's Comments

Back to Super_Hippo's profile

Oh yes, your next cube. And a real one :) And it is using the correct notation this time. So I can just look at my keyboard when executing some algorithms. Unless it is using M(/E/S) of course. Just one thing: Currently the side on the left is LEFT and the side on the right is FRONT. Is it possible to make left FRONT and right RIGHT? (Or give the option to go for that.) I am using RIGHT and UP most of the time and the right side is more or less invisible. You could say you have a left hand version. #HighscoreWaitingRoom
See the description of the scenario: “The counter at the bottom left is meant to be a score. It isn't functional. Making it work is what the tutorial is all about!”
Oh, I just realized it doesn't start at 100 speed anymore. Then it is even faster. Good job!
Yes, it is much faster now. :)
Yes, it does run faster directly in GF. Unfortunately, even optimizing your code (if it is even possible in any way) won't really make a difference because all uploaded scenarios run slower since the conversion to JS. You can even notice a difference at speed 50 which makes playing games on the site often easier than they are in GF.
For me, one line (from one side to the other, when it is moving almost through the middle) needs a little bit less than third of a second. (Just counted 60 in 22 seconds.)
Something along these lines could work: ------- String key = Greenfoot.getKey(); if (key != null) //any key was pressed { if (correctKey.equals(key)) { //correct key was pressed } else { //any other key was pressed } } -------
Well, despite the fact that the game doesn't know what to do when you actually solve all numbers. Mainly because I don't know how I should handle that in the score system.
So far your score is lost if you don't have a connection to the GF server at the time the game ends. Maybe I will make it possible to keep the score to try submitting it later. Other than this, everything should work now. (I hope.)