Pin bug

Bugs will be moved here once resolved.

Post » Tue Jul 17, 2012 10:51 pm

No idea of why it's happening, but after many tries, nothing, it keep happening.

Example: https://dl.dropbox.com/u/47035927/temp/BUG/index.html

CAPX: https://dl.dropbox.com/u/47035927/temp/BUG/bug.capx
ImageImageImageImageImageImage
B
92
S
19
G
12
Posts: 1,192
Reputation: 18,276

Post » Tue Jul 17, 2012 11:12 pm

Because the origin of your "walk" animation is set to the feet of the character.

Player gets pinned by imagepoint 0, and in "walk" animation, this point just moves the rest of the character "up".

You can either put the origin point at the same position in each animations, either create another imagepoint on purpose.
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 » Tue Jul 17, 2012 11:50 pm

Even I thought it to setup to that point only when the canvas start?

O man, this is making me crazy... I isolated that sample from this sample:
https://dl.dropbox.com/u/47035927/04%20-%20Survive/index.html

And here the grey box is the real player, but it's floating over the scenario, so, I was thinking that was the cause.
CAPX: https://dl.dropbox.com/u/47035927/temp/00-CURRENT.capx
ImageImageImageImageImageImage
B
92
S
19
G
12
Posts: 1,192
Reputation: 18,276

Post » Wed Jul 18, 2012 1:29 am

Open the collision polygon editor - right click and 'set to bounding box'. That will fix it.

The collision sprite's bounding box is bigger than the sprite but r99 limits the bounding box size to the size of the sprite in the editor.

same sprite:


B
54
S
28
G
18
Posts: 1,520
Reputation: 24,990


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest