Arrows arc motion

Get help using Construct 2

Post » Sun Jan 19, 2014 4:42 pm

Hi guys
Im setting my tower defence game and I have some math problems.
I have a tower, that spawns projectiles, which is the arrow's shadow, so it moves on the ground. Now i want to attach the arrow sprite at the corresponding height.

Here is what i have:


I have a local variable for the current height and i need it to show what height is suitable (the blue line)at every step of the way. I imagine lerp is the way but couldn't figure it out on my own. Any help is apreciated.

Thanks
B
12
S
3
G
1
Posts: 120
Reputation: 1,829

Post » Mon Jan 20, 2014 7:20 am

Anyone?
B
12
S
3
G
1
Posts: 120
Reputation: 1,829

Post » Mon Jan 20, 2014 8:59 am

Have a look at link which I think will help.
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
33
G
47
Posts: 1,194
Reputation: 30,832

Post » Mon Jan 20, 2014 4:54 pm

Yeah it looks like what i need
Hope i'll figure it out
Thanks RamPack
B
12
S
3
G
1
Posts: 120
Reputation: 1,829


Return to How do I....?

Who is online

Users browsing this forum: Lancifer, nahima and 12 guests