blonkm / rubiks-cube

WebGL Rubik's Cube
http://goo.gl/uDQH6U
MIT License
39 stars 10 forks source link

buttonbar #60

Open bcube2 opened 9 years ago

bcube2 commented 9 years ago

Requested from speedsolving.com

Buttonbar parameter - useful for me/the end user are values 0 and 1

Would you please make these buttons? Fluently forward (done already), stop (can be combined into one button), one move forward, one move backward, to the end, to the beginning (done already). Also, could you please add clickable movetext parameter (see Josef's applet)?

Could you make it selectable whether website maker wants to add algorithm area and scramble button? Or just dispose of them, it will make an area for "adjustable by end user" button if you decide to allow to adjust some parameters by end user.

blonkm commented 9 years ago

It would be more useful if you mention one problem for each issue, so we can have a more targeted discussion.

I think an 'auto-hide' option like the windows task bar could be useful.

Issue #42 already has some of these options you mention. Please check the V0.4 plans.

bcube2 commented 9 years ago

"I think an 'auto-hide' option like the windows task bar could be useful."

If by that you mean click/move mouse action to show and hide the buttonbar, I don´t think it will be more useful than adjustable setting (by website maker) for each button. I certainly dont´t want to show some buttons, but those unwanted buttons (scramble button + algorithm area for example) would be shown if clicked/moved by mouse. It would also mean one extra click for mobile users if they wanted to show/hide the buttonbar.

If you ask me, "auto-hide" function could be good for options adjustable by the end user. Or this way it works fine too: http://hlavolam.maweb.eu/rubikova-kostka-5x5x5

Btw. if it is possible to click on the "time-line" of the performed algorithm, "go to end" and "go to beginning" buttons are theoretically not needed... But when the end user makes a move, there would be no chance how to get to to original simulator state again, so "go to beginning" is kind of needed. (as you already know I think)

Btw.2: do you plan to keep control buttons separeted? Both Lucas, Lars, Josef and Werner do not have them separated, but rather integrated into one object.

blonkm commented 9 years ago

I like the way the RubkPlayer applet is shown in your example. On the 'separation': only Werner and Josef (Java) have them really integrated. The others use tricks to make the buttons look like they're part of the animation. I will use the same trick, so it's basically a design issue (css+html). I like the slider idea, so I will see if I can do that with javascript.

blonkm commented 9 years ago

Buttonbar is separated to #42