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

Super_Hippo's Comments

Back to Super_Hippo's profile

You are right. The cube rotations are a problem when changing the faces... Not so much for me personally since I never know which one is clockwise when turning it anyway, but yes, I didn’t think of that and I get the point. Nice to hear that you consider adding highscores! :) @Kostya: Tasks? Tournaments with bots? How is that supposed to work?
Making the change itself should be rather easy. Basically only changing the controls (L→F, F→R, R→B, B→L) . (Or not?) But obviously only if you don’t prefer your way. Because then, yes, it could be quite difficult to give the option for both. I would like to see a highscore table with the time to solve the cube :)
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 } } -------