HDI: Create an 8 Direction / Ball with 3 axis

Get help using Construct 2

Post » Wed Jan 18, 2017 11:40 pm

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
B
29
S
8
Posts: 5
Reputation: 1,773

Return to How do I....?

Who is online

Users browsing this forum: Alvaro2, Yahoo [Bot] and 15 guests