How do I Add Hollow circle but bounding out and inside!

Get help using Construct 2

Post » Thu Dec 24, 2015 12:22 pm

Guys please can you tell me how can i make this hollow i mean hollow part should be hollow but boundaries need to solid like is the object goes beyond the colored part it would fall down or kind physics applied.....

It would really great of you if capx would possible!

thanks


IMAGE REFERENCE :
Image
B
12
S
3
Posts: 31
Reputation: 825

Post » Thu Dec 24, 2015 1:02 pm

I guess I would handle it something like this:

Inside Outside Bounce
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Dec 25, 2015 9:22 am

@LittleStain thanks man but need in same way as what i asked!

Anybody else
B
12
S
3
Posts: 31
Reputation: 825

Post » Fri Dec 25, 2015 9:32 am

Is it a problem if you do it with several parts? You could make a sprite of each part and put it together as a circle.
B
23
S
3
G
1
Posts: 412
Reputation: 2,062

Post » Fri Dec 25, 2015 9:49 am

But i need it to be rotate like wheel! like object need to enter into this circle by tapping but when they stop tap it would drop if the hollow stuff comes up!
B
12
S
3
Posts: 31
Reputation: 825

Post » Fri Dec 25, 2015 10:13 am

I tried something. You have to set the origin of the circle better than me, and the pieces are not really arranged like a circle.
https://drive.google.com/file/d/0B5FlDY ... sp=sharing

With a big help from R0J0hound.
rotating-a-sprite-by-its-middle-not-its-origin_t146141
B
23
S
3
G
1
Posts: 412
Reputation: 2,062

Post » Fri Dec 25, 2015 4:15 pm

thanks man it worked but i need in portrait view can you make it possible here is capx though when i applied same angle and xy part i getting this :lol: !


HERE IS CAPX : https://mega.nz/#!phgkTJoY!kMhsDwJ2pG6e ... B_5fFN-bvA

Image
B
12
S
3
Posts: 31
Reputation: 825

Post » Fri Dec 25, 2015 4:30 pm

You didn't understand that centerx should be x-coordinate of the center of your circle?
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Dec 25, 2015 4:36 pm

Well bro really noob to C2 just learning it thats why asked which part should need to be edit!
B
12
S
3
Posts: 31
Reputation: 825

Post » Fri Dec 25, 2015 4:46 pm

Well, like I said, the global variable centerX should be the x-coordinate of the center of your circle and the global variable centerY should be the y-coordinate of the center of your circle.

All should work perfectly if you change that..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Next

Return to How do I....?

Who is online

Users browsing this forum: Exabot [Bot], KailSaisei, Magistross and 10 guests