0 Favourites

HDI: Create an 8 Direction / Ball with 3 axis

  • Heyo,

    I was trying to come up with a way to create a ball that could function in an 8 direction game for throwing a bomb, grenade, or whatnot. I wanted it to both increase in height and distance the longer. I was looking for a solution and came up with the following (currently non annotated) one, as I couldn't find a solution. Using some of the 8 direction jumping solutions this is what I have.

    Longer you hold down the mouse the higher and longer it goes.

    https://www.dropbox.com/s/c7jmzcm2tpwlzbw/Faux3dBall.capx?dl=0

    I'm just wondering what others may do differently

    What I'm still working on is

    *ensuring no matter how high the ball bounces that the x,y, movement finishes before the latter

    * changing the x,y movement to be more realistic if the object isn't round, in which forward motion is not always a guarantee.

    * adding slight angle changes on the xy movement for oblong objects

    *control scheme for controlling pitch (z) so that the more power doesn't always translate into a ball going farther

    I'd love to see other people's way of solving this problem

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)