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
35
S
16
G
16
Posts: 2,222
Reputation: 16,589

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
247
S
85
G
40
Posts: 6,999
Reputation: 57,793

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: BackendFreak, ijust8, tayxd and 12 guests