Navigation

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

    Untitled 3D Ball-Rolling Game

    Work In Progress
    11
    30
    2290
    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 @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
                                    • joyrider3774
                                      joyrider3774 @Scrubz last edited by

                                      @Scrubz the new screens look really good. I wonder about the level select where it shows previews of the levels. Did you save screenshots of these images in the file or do you actually render those realtime ? Or do you load all levels once at startup and draw it to an array of images you keep in memory to be used in the level selector ?

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

                                        @joyrider3774 Your last guess is pretty much exactly what I did.

                                        1 Reply Last reply Reply Quote 3
                                        • S
                                          Slydog last edited by

                                          Loving this game! Very polished.
                                          I like your opening title screen. Is that done with 3D letters, scaling the y-axis using an elastic easing function?
                                          Or done in 2D somehow (using drawQuad?)? Either way, impressive!

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

                                            @Slydog Many thanks!

                                            I made the title screen with a combination of 3D and 2D graphics. I figured out a way to import custom 3D models and I used that method to create the letters. Before the game starts, I render each letter to an image and attach each image to a sprite. In the main loop, all I did was scale the sprites using physics.

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