Character sometimes floats away

Discussion and feedback on Construct 2

Post » Mon Nov 07, 2011 9:23 am

Thanks alot! I've got my event editor back now.

I only have a problem with my character behaving like it's in quicksand now, when I stand still he somehow sinks in the ground a little. I tried changing the origin point but with no success.
B
8
S
2
G
4
Posts: 16
Reputation: 2,453

Post » Mon Nov 07, 2011 9:26 am

This is due to Origin points not correctly set for all your animations. For instance, the Idle anim has Origin set to bottom center, but the run right is set to center.

Also, some of the collision masks are a bit off :) Just use bounding box for now.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
120
S
28
G
68
Posts: 4,840
Reputation: 48,281

Post » Mon Nov 07, 2011 2:20 pm

[QUOTE=zenox98] This is due to Origin points not correctly set for all your animations. For instance, the Idle anim has Origin set to bottom center, but the run right is set to center.

Also, some of the collision masks are a bit off :) Just use bounding box for now.[/QUOTE]
yeah I changed them to see if it would have any effect but unfortunately this isn't the case. It doesn't seem to mind where I put the origin even if I put it in the same place as the running animation (in which my character doesn't sink in the ground). Is this because of the collision masks (don't even know what they are, same goes for bounding box )?

I wish there was a help document

EDIT: ah, I found the collision polygon. this fixes the problem!jimjim19832011-11-07 14:42:54
B
8
S
2
G
4
Posts: 16
Reputation: 2,453

Post » Mon Nov 07, 2011 2:42 pm

In the image editor, click the shape button (under the origin button on the left, tooltip "Set collision mask") and right click "Set to bounding box".
You should see a blue square covering your image.
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,998
Reputation: 57,791

Post » Mon Nov 07, 2011 2:43 pm

[QUOTE=Kyatric] In the image editor, click the shape button (under the origin button on the left, tooltip "Set collision mask") and right click "Set to bounding box".
You should see a blue square covering your image.[/QUOTE]
hehe, I just edited my post because I found it thanks for your help.
B
8
S
2
G
4
Posts: 16
Reputation: 2,453

Post » Mon Nov 07, 2011 2:53 pm

Thanks Kyatric, I never knew about that!
B
72
S
25
G
9
Posts: 382
Reputation: 10,649

Post » Mon Nov 07, 2011 2:53 pm

still have one quick question though, In some of my animations the sprite has 8 collision points and in others only 4. How can I add more?
EDIT: found it select one of the dots and click add point.jimjim19832011-11-07 15:06:19
B
8
S
2
G
4
Posts: 16
Reputation: 2,453

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: NetOne and 2 guests