How do I move left and right in a 1/2 circle

Get help using Construct 2

Post » Thu Jan 05, 2017 9:58 pm

I've been experimenting with this for a while now with limited success, So i think its time to ask for some help....

im looking to move a sprite side to side on the screen, but in a 1/2 circle kinda way (the lower 1/2 of a circle), here is a pic to show what im trying to accomplish (excuse the crappy drawing lol! -- both sides should be the same )

Image

the sprite will be user controlled will move back and forth like "break out" ...but will change height as shown in the pic

Thanks for the help.... i appreciate it!
B
28
S
6
G
1
Posts: 39
Reputation: 1,586

Post » Thu Jan 05, 2017 11:32 pm

Use math to quickly solve the movement: https://dl.dropboxusercontent.com/u/659 ... ntrol.capx
ImageImage
B
114
S
51
G
24
Posts: 790
Reputation: 23,480

Post » Fri Jan 06, 2017 3:06 pm

@elextro thank you so much! .... i was on the right track, but couldnt quite figure it out!

this is super clean and exactly what i needed.

thanks again ...very much appreciated

-Rik
B
28
S
6
G
1
Posts: 39
Reputation: 1,586


Return to How do I....?

Who is online

Users browsing this forum: draiza, Yahoo [Bot] and 7 guests