cutelyaware / magiccube4d

Automatically exported from code.google.com/p/magiccube4d
Other
71 stars 16 forks source link

Add the ability to hide particular piece types #123

Open cutelyaware opened 8 years ago

cutelyaware commented 8 years ago

Magic120Cell had the useful ability to toggle the visibility of each piece type. This is useful to reduce clutter when solving one type at a time, especially on large puzzles. It could still display wireframe edges for hidden pieces when enabled so they don't need to be completely gone.

Note: Sometimes different piece types can have the same number of colors (EG the simplex).

MarcelloNastri commented 8 years ago

Well I just came here to request this function. It's been 5 days since I discovered this "game" and sometimes I'm unable to think right due to all the clutter and I get really slow at solving or thinking about a solution for the problem in hand (i'm stuck trying to swap two centers for 3 days now)... the game is cool, and you can solve it the way it is right now but it would be an quality of life improvement if we had the ability to fade/or even disappear with some of the cubies... I was thinking about it and that it could open a panel and you would select the tipes of "cubies" you want to toggle the visibility (and it could be just for the focused face, or all the faces, idk, I'm just giving ideas).. or maybe use some specific key to change the function of the mouse click (like shift+left = fade this cubie, and shift+right= fade all similar cubies), or do a fade when we hovered over some cubies while having some key pressed...

cutelyaware commented 8 years ago

It's a popular request so I've bumped the priority. The tricky thing to remember is that it must be possible to use with all puzzles and it's not clear how to define the different piece types. As a first cut it's probably OK to define them by the number of colors even though that's not always unique. Note also, the implementation of a piece-finder might mitigate the importance of piece-type hiding.

PS, I don't think you can swap just two centers, just like you can't do that on a 3D cube.

MarcelloNastri commented 8 years ago

But how did i do that then???? I mean. I've solved the crux( the face cubies on the right places and oriented) on green then on every other face except brown. In this final face I have brown-yellow and brown-purple switched but correctly oriented (all the rest is fine)... I skipped that for a moment and got up into solving the corners already thinking i would find a solution later. And then I got the same issue on two edges too wich made me look back at this centers...

I've solved the 3d and used that knowledge to try and solve the 4d. All macros are mine and i'm thinking maybe there's something wrong with them.

About the topic, i never tought about other puzzles i only knew about 4d because of mathlogger. Consistency is key for programming i know. I was only thinking on my side, sorry.

P.S.: sorry for highjacking the post.... i'm not posting again about myself

cutelyaware commented 8 years ago

On 6/25/2016 8:30 PM, MarcelloNastri wrote:

But how did i do that then???? I mean. I've solved the crux( the face cubies on the right places and oriented) on green then on every other face except brown. Now i have brown-yellow and brown-purple switched but correctly oriented... I skipped that for a moment and got into the corners already thinking i would find a solution later. And then I got the same issue on two edges too wich made me look back at this centers...

My guess is that you went down a wrong path when you first dealt with the purple face. I can't be certain. Why don't you send me your log file and I'll take a look? I won't likely find your problem but it would help for me to see it.

I've solved the 3d and used that knowledge to try and solve the 4d. All macros are mine and i'm thinking maybe there's something wrong with them.

There is a small but real chance this could explain it. What was the earliest version of the program you first used to create your macros? (See Help > About...) There was a nasty bug (recently fixed) that could damage your log files when used so I want to rule that out if we can.

About the topic, i never tought about other puzzles i only knew about 4d because of mathlogger. Consistency is key for programming i know. I was only thinking on my side, sorry.

Everyone always thinks on their side right? If not, I want to learn that trick! Consistency will help you to solve puzzles as much as to create them. I'm curious about what happened.