How do scale a thrown grenade in top down view

Get help using Construct 2

Post » Mon Jun 27, 2016 2:22 am

I have a very simple top-down-view shooter where the shooter is stationary and targets where the mouse cursor is.

When you click the mouse, the bullet grows and shrinks in size with the litetween behavior to simulate being 'thrown', like the arc of a grenade or water balloon.

The effect works well now, but the distance is fixed based on the 'Duration' variable in the litetween behavior.

I would like to have each bullet 'land' on the coordinates of the mouse when it is clicked, as well as adjust the size of it's "target" so short throws would have a smaller target size and longer throws would have a larger target size.

How would I do that in this scenario, or am I going about this wrong?

Image
B
29
S
14
G
9
Posts: 80
Reputation: 5,993

Post » Mon Jun 27, 2016 2:36 am

Hmm.. Closer:

Image
B
29
S
14
G
9
Posts: 80
Reputation: 5,993

Post » Mon Jun 27, 2016 2:47 am

Ok, this is looking pretty good. Not 100% accurate to where the mouse clicks, but close.

Image
B
29
S
14
G
9
Posts: 80
Reputation: 5,993


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 1 guest