Navigation

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

    Untitled 3D Ball-Rolling Game

    Work In Progress
    11
    30
    2309
    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.
    • Scrubz
      Scrubz F @PickleCatStars last edited by

      @toxibunny To be honest, it wasn't too hard. The ball basically pushes and pulls the camera to make it follow it. Then it was just a matter of rotating the controls based on the camera angle.

      Spacemario 1 Reply Last reply Reply Quote 0
      • Spacemario
        Spacemario F @Scrubz last edited by Spacemario

        @Scrubz I can tell you're very experienced, this is super cool! I hope you continue this for the competition, with multiple levels and the like!

        Is the math complicated to rotate the controls with the camera? Just wondering if the basic premise is easy to articulate (is it just sin and cos related, or is there more to it)?

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

          There’s a little more to it, but it’s not that hard to rotate the controls with the camera. You use dot() and cross() as well as sin() and cos(), and it’s just a few lines if I remember right. The pull/push is a thing I’ve read about but not tried.

          Scrubz 1 Reply Last reply Reply Quote 1
          • Scrubz
            Scrubz F @PickleCatStars last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • Scrubz
              Scrubz F @Spacemario last edited by

              @Spacemario Thanks! I definitely plan to finish this for the contest.

              I don't know if I'll be able to explain the rotation math very well, but the code is super simple.

              c = controls( 0 )
              tilt.n = normalize( camera.u )
              tilt.c = { c.lx, -c.ly }
              tilt.p = {
              	tilt.c.x * tilt.n.y + tilt.c.y * tilt.n.x,
              	tilt.c.y * tilt.n.y - tilt.c.x * tilt.n.x
              }
              

              camera.u is the difference between the camera and the ball from a top-down view (x and z axes).

              tilt.n takes the place of the sin() and cos() of the camera angle.

              tilt.c flips the vertical component of the left stick to match the 3D scene.

              tilt.p is where the actual rotation happens.

              Spacemario 1 Reply Last reply Reply Quote 8
              • Spacemario
                Spacemario F @Scrubz last edited by

                @Scrubz This is great, thanks for such a simple, clear explanation, I really like it!

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

                  I was going to post this update yesterday, but I unfortunately lost most of the code and had to resort to a backup from about 5 days prior. I spent all day yesterday re​-​implementing everything I had lost.

                  Anyway, I’ll continue to embed my Twitter posts even though that feature is currently broken. For now, you can check out my Twitter account for updates: @Scrubz_FZ.

                  Second special pin and respawning: twitter.com/Scrubz_FZ/status/1375947734738472960

                  1 Reply Last reply Reply Quote 7
                  • Scrubz
                    Scrubz F last edited by

                    I haven't completely committed to this name, but I've made a title screen concept: twitter.com/Scrubz_FZ/status/1378417038914371591

                    Not quite sure what to put in the background...

                    1 Reply Last reply Reply Quote 7
                    • L
                      LucasJG25 last edited by

                      Really nice work. I've been following you on twitter for quite some time now. Indeed you're pretty experienced in making games. Glad to have you in the Fuze community! Welcome!!

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

                        That’s an awesome title screen! Your whole game looks incredible!

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

                          Yeah, that’s rad :D

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

                            Ramps and pause screen demo: twitter.com/Scrubz_FZ/status/1379801248157872129

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

                              If and when this goes up for download, I am gonna be replacing those pins with animals and people.

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

                                I've made some minor visual updates. This includes:

                                • a couple new particle effects
                                • fading platforms close to the camera
                                • making platforms that obstruct the ball transparent
                                • and shadows

                                twitter.com/Scrubz_FZ/status/1382040264664055815

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

                                  Looks great! Very polished!

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

                                    New intro and outro animations: twitter.com/Scrubz_FZ/status/1384751732706611203

                                    1 Reply Last reply Reply Quote 8
                                    • Jaywalker
                                      Jaywalker Donator last edited by

                                      You have such a nice feel for animations. Really like your style

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

                                        @scrubz This is looking unbelivably good.. You have a brilliant sense for this. I second what @jaywalker said! This is consumate, professional work.

                                        1 Reply Last reply Reply Quote 1
                                        • AndyG1985
                                          AndyG1985 last edited by

                                          Absolutely amazing!

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

                                            I'm getting dangerously close to release! Menus are done; level design is done enough. All I have left is sound design and a few minor tweaks.

                                            Updated title screen and level select: twitter.com/Scrubz_FZ/status/1386181014549012480

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