Jaskar Posted April 9, 2015 Share Posted April 9, 2015 (edited) Hi! Let me present you my first personnal project on BabylonJS : Baby'ks Cube !!! Basically, it's a simple view, rotate around a Rubik's Cube.A button let you scramble the cube. Another let you solve it. And a third explode it !Some other buttons allows you to rotate the faces, keyboard controls are implemented too. The purpose of this project was to work with babylon js on one of my hobby. So, it has no new feature for babylon or huge works (except for the cube algorithms), but it simply work, using basics of babylon js. I'm proud of it and I wanted to share it with you The basic project is finished. Possible improvements :- Swip on faces to turn it [The Frenchie Cake told me that he will take a look]- Change old blurry textures- Keyboard controls- Add 3D models of real pieces for exploded view- Add a better scrambler (to follow official WCA rules)- Avoid inverse moves (like U - U')- Add help and info buttons I'm open to any suggestions, ideas and other constructives things Thanks for reading Demo websiteGithub repo Edited September 3, 2015 by Jaskar TheFrenchieCake, Temechon, vahith and 3 others 6 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted April 9, 2015 Share Posted April 9, 2015 Ohhh I like it a lot! That's great!! Jaskar 1 Quote Link to comment Share on other sites More sharing options...
Jaskar Posted April 9, 2015 Author Share Posted April 9, 2015 Thanks ! Quote Link to comment Share on other sites More sharing options...
joshcamas Posted April 11, 2015 Share Posted April 11, 2015 Nice work! Very original! Quote Link to comment Share on other sites More sharing options...
Dad72 Posted April 11, 2015 Share Posted April 11, 2015 It's fun. Good luck. Quote Link to comment Share on other sites More sharing options...
Jaskar Posted April 11, 2015 Author Share Posted April 11, 2015 Nice work! Very original! Yeah it's different from other projects. It's all about rotation It's fun. Good luck. Thanks Quote Link to comment Share on other sites More sharing options...
Jaskar Posted April 27, 2015 Author Share Posted April 27, 2015 Hi everyone ! I updated the project today !! You can test it at : http://www.jaskar.host-ed.me/ I also update the topic first post, to present the new GUI. Thanks for reading Quote Link to comment Share on other sites More sharing options...
Jaskar Posted April 30, 2015 Author Share Posted April 30, 2015 Hey guys, After posting it on reddit/r/Cubers , I had some posts asking if it is possible to turning around the cube totally. I use an ArcRotateCamera, but when the camera is on top (or bottom), it stop turning.I don't know if I'm clear, beta property of the ArcRotate hit maximum point (0) then bock it. http://www.babylonjs-playground.com/#1E0ZRJ I thought about turning the cube around zero point, not camera around the cube, but it is impossible for some reasons in my code. If it's the only solution maybe I'll do it. Have someone an idea to help me ? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted April 30, 2015 Share Posted April 30, 2015 You can control the limit with these values:https://github.com/BabylonJS/Babylon.js/blob/master/Babylon/Cameras/babylon.arcRotateCamera.ts#L8https://github.com/BabylonJS/Babylon.js/blob/master/Babylon/Cameras/babylon.arcRotateCamera.ts#L9https://github.com/BabylonJS/Babylon.js/blob/master/Babylon/Cameras/babylon.arcRotateCamera.ts#L10https://github.com/BabylonJS/Babylon.js/blob/master/Babylon/Cameras/babylon.arcRotateCamera.ts#L11 Quote Link to comment Share on other sites More sharing options...
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.
Note: Your post will require moderator approval before it will be visible.