Help: Sprite wont stand on top of platform.

Discussion and feedback on Construct 2

Post » Sat Dec 17, 2011 11:13 am

I made a sprite for the player-controlled hero with very thin 1-pixel wide legs.
This sprite just goes through the top of the platform under him and down maybe 3 pixel, before he stops.

I have included a box that has the same settings as the player-controlled hero, but with a better base to stand on, this dosent fall through the solid ground.

Is there a way to make the character not fall 3 pixels into the platform?
even though its so thin.

Example
B
11
S
2
G
2
Posts: 18
Reputation: 1,913

Post » Sat Dec 17, 2011 12:37 pm

Make legs bigger
B
36
S
16
G
16
Posts: 2,223
Reputation: 16,646

Post » Sat Dec 17, 2011 1:26 pm

I kind of already thought of that, I was looking for an alternative solution.
Keeping my sprite intact.
B
11
S
2
G
2
Posts: 18
Reputation: 1,913

Post » Sat Dec 17, 2011 1:31 pm

Go in the image editor, and click on the collision polygon button.
Right click, set to bounding box. Problem is solved.

Check the manual "Set collision polygon".
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
263
S
93
G
56
Posts: 7,183
Reputation: 67,660

Post » Sat Dec 17, 2011 1:35 pm

Many thanks as usual :)
B
11
S
2
G
2
Posts: 18
Reputation: 1,913


Return to Construct 2 General

Who is online

Users browsing this forum: frayt and 5 guests