Navigation

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

    Golf Beta Level

    Work In Progress
    3
    6
    346
    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.
    • E
      EvanTropFun last edited by EvanTropFun

      Hello Everybody !
      Who do you want to play to play golf in more cool without have to go outside ?
      I beginned this game, it's only a beta. There is only a test level without end.
      If i make online this test level, it is because i want to show my ball's physic simulation.
      You can give speed to the ball by using the left joystick. Collision work, but it is possible to give an hyper speed to the ball and go out of bounds.

      The physic is not perfect, if the ball is on a slope, the ball don't roll. ( Yes, i know )
      ( There is no slope on the test level but you can edit level to add one )

      If somebody know how to do a good physic for my ball, please, contact me !

      Thank you.

      ( Evan, the french peaple who haven't a perfect english )

      2023031421102300-86FC867622BE2C2315A009D470F52DAE.jpg 2023031421095000-86FC867622BE2C2315A009D470F52DAE.jpg 2023031421094400-86FC867622BE2C2315A009D470F52DAE.jpg

      Game code : 6S163MND9P

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

        That looks great!

        Slopes are tricky stuff! In my code for Pumpkin Factory, I’m handling ball bouncing on sloped surfaces (sprites, but it can be rewritten to using map collision instead), so maybe take a look at that?

        I don’t have the code nearby, but I think I used the collideSprites() function and then used the resulting displacement vector as input to the reflect() function. I think the code is documented to explain how it’s done? If not, ask any questions and I’ll try to help.

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

          Pumpkin Factory is incidentally this week’s High Score Challenge, so that could be a wonderful opportunity to get a good score and submit it in the other thread! 😉

          1 Reply Last reply Reply Quote 1
          • E
            EvanTropFun @vinicity last edited by EvanTropFun

            @vinicity If you want to try, i edited my first post. I forgot to send the gamecode. I shared it 2 days ago. He is live now
            I use map's collision, like that i set collision only where the player can go. And not on backgroud decorations. (Exepting rock, hehe !)
            I'll try to get a good score on pumpkin factory.

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

              Proper rolling needs something called ‘angular momentum’. And friction. I bet it’s not too ridiculously hard to do. Good luck :)

              E 1 Reply Last reply Reply Quote 1
              • E
                EvanTropFun @PickleCatStars last edited by

                @toxibunny For the ball rolling, i added a friction. The speed's ball decrease a bit on floor.
                The rotation animation work with the x speed of thé ball

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