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
27
S
5
G
1
Posts: 33
Reputation: 1,447

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
108
S
49
G
23
Posts: 783
Reputation: 22,611

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
27
S
5
G
1
Posts: 33
Reputation: 1,447


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 10 guests