Danlex Posted April 2, 2022 (edited) Introduction Spoiler Two months ago I decided to make a Classic Rubik's cube in GZDoom, using 3d models and switches to rotate each side. I started to work on it and it was looking pretty good, but I ran into problems when I had to code stuff related to the orientation and rotation of the pieces; I won't go into a lot of technical details, but let's just say that making a lot of 3d rotations in GZDoom was gonna be trickier than what I expected. The cube was actually working fine if you only moved some pieces a few times, but it would start to break after scrambling it too much. The project was still unfinished, but I liked what I had so far, so I decided to share my progress in Twitter. As I said before, the problem that I had was related to the orientation of the pieces, so, two weeks ago I had the idea of making a version of the cube where the orientation of the pieces didn't matter. I had to come up with new color patterns and solved states, but this subtle change allowed me to get the cube working 100% properly. I'm not sure if I'll be able to finish the Classic Rubik's cube in the future, but for now I present to you... Rainbow Rubik is, as the title of the thread explains pretty much, a Rubik's cube in GZDoom. Not the Classic Rubik's cube but close enough. It works the same as the classic tho, you can rotate all the sides, both clockwise and counterclockwise, using switches placed around the map. There's also 'Auto scramble' switches, that will execute 15 random moves in the cube. You can also press the [F] key to activate or deactivate "Fly mode", which allows you to see the cube from any angle while you're solving it. I also added a switch that changes the music in the map (5 songs in total to choose from), because I know that hearing the same music every time that you play this map can get a bit boring. When you enter the Skill Selection Menu, you can choose from 5 different Solve Patterns. They're not ordered by difficulty tho, the second one is the easiest, for example. Not implemented (yet?) -Full cube rotations -Middle layers rotations -180 degrees rotations (this are not very necessary, you can just press a switch twice) Screenshots: Spoiler Information: Port: GZDoom IWAD: Doom 2 Maps: MAP01 Single player only Difficulty Settings: technically yes Tested with: GZDoom 4.7.1 Hardware accelerated Render Mode required Credits: Spoiler Textures: AA-tex by Skillsaw, Otex by Ola Björling (Ukiro), ComTex by Foxhead and Makkon Music: "Wishlist" by Ribbiks "Voices of the Past" by Necroheadbanger "dts_redux" by Ribbiks "Moonlight Museum" from Klonoa 2 "Grove" by B.P.R.D Special thanks to kevansevans for playtesting and giving me feedback ^^ ================= DOWNLOAD ================= Edited August 22, 2023 by Danlex 57 Quote Share this post Link to post
Endless Posted April 2, 2022 I have two neurons and this looks great. 7 Quote Share this post Link to post
kevansevans Posted April 2, 2022 (edited) Got to play an early version of this, and it works pretty nicely! I do hope in the future that a proper cube gets implemented, as I solve and collect Rubik's cubes as a hobby and can definitely put it through the strainer to see how well it works. Maybe some more advanced concepts and QOL additions if you plan on improving this, as 180 turns are something that just makes it a tad bit nicer to work with when trying to work quickly with solving it. Edited April 2, 2022 by Kevansevans 1 Quote Share this post Link to post
Gaia74 Posted April 3, 2022 I remember when I first saw this, mindblowing, it really tests what can be done with doom and it's amazing, great job Danlex! congratulations on the release n.n 1 Quote Share this post Link to post
Shepardus Posted April 3, 2022 I had an idea like this floating in my head recently, I must check this out. Would be fun to see "speedruns" of this. 2 Quote Share this post Link to post
Nefelibeta Posted April 3, 2022 There are way more decorations than what a rubikscube needed. :x 2 Quote Share this post Link to post
Biodegradable Posted April 3, 2022 We got young Dan over here harnessing the power of GZDoom to make fiddling with a Rubik's Cube interesting. Phenomenal work, lad. 1 Quote Share this post Link to post
Danlex Posted April 3, 2022 I just uploaded a video where I solve all the patterns, if someone wants to check it out 5 Quote Share this post Link to post
Knightware Lorewaster Posted July 9, 2022 (edited) Hello my friend, you accidentally spoiled my surprise for the future, hehe but no problem, I admire your work immensely, I'm not as good as you and design but I managed to work the classic 100% hehe united we are stronger, I downloaded your map , and your method is probably different from mine, mine I gave up in 2019, and only in 2021 when I had an impossible and ingenious idea, and I managed to make it work, it was extraordinary, a guy helped me with this (because I'm not programmer) without him "knowing" that it was for this purpose, hehe, that is, the creation of the cube, but the whole idea and everything I did myself was unbelievable to see it working, I believe you must have felt the same thing having accomplished it such a fun feat... I'll put some videos to show a little of it, but I can't edit much on GZdoom now I'm out of time until the end of the year I'll be able to move... God bless you my friend... the credit goes to Rifleman, he was the great master guru programmer, who helped me:https://www.doomworld.com/forum/topic/124589-how-to-discover-the-new-state-in-a-texture-changed-with-mapspot-udmf/?tab=comments#comment-2387463 Here's the video I posted today to show the cube, it's cool different ideas, mine was more closed, yours outdoors, sensational... Edited July 9, 2022 by Knightware Lorewaster 1 Quote Share this post Link to post
Dynamo Posted July 10, 2022 I feel like a great opportunity was missed in not making this a Ribbik's Cube... 5 Quote Share this post Link to post
Nevander Posted July 10, 2022 If this doesn't win a Cacoward then what is the point of life. 3 Quote Share this post Link to post
Solmyr Posted July 10, 2022 How does someone comes up with something like this. I'm speechless how talented individuals come up with amazing feats of creativity by showing what the doom engine is capable of. 2 Quote Share this post Link to post
Danlex Posted July 10, 2022 @Knightware Lorewaster This is amazing! I remember watching a video of your first attempts at making the cube a long time ago, and that video inspired me a lot to make this. I wasn't trying to stole the idea or spoil your surprise tho, the video that I watched was a bit old and I didn't see any updates, so I thought that you stopped working on it and that's why I started this. I don't know what's the method that you used to make the cube, but if possible, you are free to use the scripts of this map to make the pieces rotate smoothly, instead of them moving instantly. Big congrats to you and Rifleman for working the classic cube, it's a huge achievement and I hope it gets released to the public as soon as possible. 3 Quote Share this post Link to post
Knightware Lorewaster Posted July 10, 2022 (edited) @Danlex Thank you my friend you are awesome!!! It's not your fault, you just played your part and worked hard, your talent is remarkable, you fathered a child a masterpiece of doom, that's wonderful... your method is better, the pieces rotate smoothly is very cool, I still haven't I'm sure if it's possible to implement the scripts you made inside my map maybe it's impossible, due to the fact that I can walk above and below the cube, and yours can't cross it like this, I haven't checked your scripts yet but this difference can be an impossible obstacle, or something simple I don't know, but I hope to make it... when I have some time, my life is very critical at the moment, I'm living on the edge... I'm going back to doom in November/December, and until then I want to be able to work as quickly as possible to deliver this pack, certainly in 2023 I will deliver everything... if something happens that can prevent me from creating the maps, I'll make them available even without finishing them... for everyone's enjoyment. Thank you my friend, again God bless you!!! I need to run!!! Edited July 10, 2022 by Knightware Lorewaster 1 Quote Share this post Link to post
TheMagicMushroomMan Posted July 10, 2022 I really like looking at this thing, but is there any way you can make a 1x1 version of the cube so I can actually solve it? 2 Quote Share this post Link to post
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.