Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    Cube Match - 3D puzzle game

    Work In Progress
    7
    19
    1482
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • spikey
      spikey F last edited by spikey

      This is the start of a digital implementation of a real toy. You have to combine 6 elements so it results in a cube.


      The rotation of the sub-cubes still has a bug as you can see. But I hope to get soon to the collision detection, so one cannot cheat anymore ;-)cube_match_02.jpg

      cube_match_01.jpg

      1 Reply Last reply Reply Quote 9
      • SteveZX81
        SteveZX81 F last edited by

        Woah! that's awesome.

        1 Reply Last reply Reply Quote 1
        • Dave
          Dave Fuze Team last edited by

          Wow. Extremely impressive. You certainly know your maths!

          1 Reply Last reply Reply Quote 1
          • spikey
            spikey F last edited by

            The maths, well... I just found out that, some ugly "if"s have to do it before I have the time to get a math-brush-up to make the code easier to maintain. Probably I just invented brute-force trigonometry.

            1 Reply Last reply Reply Quote 0
            • Jonboy
              Jonboy Fuze Team last edited by MikeDX

              Hey... brute force trigonometry.. I thought I invented that. Actually that sums up my coding style entirely!

              So Spikey, where is this going, how is it coming along? So far this is one of the most impressive things i've seen. I really hope you are able to turn it into a full game. Keep it up... please!

              1 Reply Last reply Reply Quote 1
              • spikey
                spikey F last edited by

                I have some ideas ready that could lead to a complete game. But I see more and more where I will have to invest efforts (also in the beginning of the next project) to get a satisfying game flow for the player and maintainable code. But its just so teasing to jump right into graphics and sound😁

                1 Reply Last reply Reply Quote 1
                • Jonboy
                  Jonboy Fuze Team last edited by

                  nothing worse than realising how much work is actually required to make a real game - especially after spending so much time on the early mechanics. But, i promise you, it will be worth while, especially because most won't comprehend all the mistakes and rewrites you have had to go through to get there. Rest assured though, there's a lot of people here who understand exactly what it takes and fully appreciate the end result. Saying that, with what i've seen so far, and i'm so very far from an expert on this, i'm intrigued and excited to see what the next project might bring.

                  Still though - i love the idea of the 3d jigsaw puzzle game - it has a lot of merit and scope and as such must not be given up on!

                  No pressure but.... hurry up dude :-)

                  1 Reply Last reply Reply Quote 3
                  • spikey
                    spikey F last edited by

                    Finally managed to get a collision detection for these 3D cube sides. uff.


                    Final steps are the creation of a "join3DShape()" and adding some better world lighting.

                    1 Reply Last reply Reply Quote 3
                    • spikey
                      spikey F last edited by spikey

                      Status update: I am back on track. After my ugly if-workaround to solve the handling of the cubes, turning around their own local coordinate system, blew up when joining two shapes, I found a way to track the cubes rotations. But it needs some time to simplify it first...!cube_match_03.jpg

                      1 Reply Last reply Reply Quote 3
                      • spikey
                        spikey F last edited by


                        Ahh.. the last 20%, when you spot the bugs in the program corners. If the puzzle would be easier, I could quicker test if the cube is completed or not ;-)

                        1 Reply Last reply Reply Quote 2
                        • pianofire
                          pianofire Fuze Team last edited by

                          You get a shout out in the new video!

                          waldron spikey 2 Replies Last reply Reply Quote 4
                          • waldron
                            waldron F @pianofire last edited by

                            @pianofire yes fuze !!!! Cant wait

                            1 Reply Last reply Reply Quote 0
                            • spikey
                              spikey F @pianofire last edited by

                              @pianofire ooh, what an honor. @Dave thanks!! I can feel a slight pressure to get it done properly😁 ...and with those 3D functions I will be able to reduce the lines of code by 40%. These put a lot of sugar on the 3D cake. The way is open for even more awesome game projects. Thank you for that.

                              1 Reply Last reply Reply Quote 2
                              • spikey
                                spikey F last edited by spikey

                                Please excuse the silence in this thread. I learned that the shapes I was using are not public domain. I will come up with a public domain friendly version to respect this.

                                1 Reply Last reply Reply Quote 0
                                • Dave
                                  Dave Fuze Team last edited by

                                  I didn't see that the shoutout was mentioned here! No problem :) It's worth shouting out!

                                  No pressure of course, but it would be so cool to see the updates to this.

                                  1 Reply Last reply Reply Quote 1
                                  • spikey
                                    spikey F last edited by

                                    1 Reply Last reply Reply Quote 3
                                    • spikey
                                      spikey F last edited by spikey

                                      I learnt that backgrounds enrich 3D scenes, so I decided to add the cloudy 3D setEnvironment(2, ...). My first approach setting the camera to a bottom-up view, to show the desired part of the background without the horizon was not applicable. Because the rotation order of the axis is fixed to the most common scene ground, the plane x-z axis. And I need to tilt to the left and right, during the game, to make the puzzle easier. So, I use a camera perspective that still shows a bit of the horizon.Background_With_Horizon.jpg

                                      1 Reply Last reply Reply Quote 6
                                      • spikey
                                        spikey F last edited by

                                        I am working on some background music.

                                        1 Reply Last reply Reply Quote 5
                                        • PickleCatStars
                                          PickleCatStars F last edited by

                                          Wow nice work!

                                          1 Reply Last reply Reply Quote 1
                                          • First post
                                            Last post