Loose Body Part (capx/html)

Get help using Construct 2

Post » Mon Feb 04, 2013 6:10 am

I have a simple model with the torso attached to the player box and the head/limbs attached to the torso. The limbs can then rotate around their origin points (as demonstrated by the characters left arm when jumping).

I was planning to do some more animation and make a simple game for the girl that drew the character

However, the character's right arm (left side of screen) seems slightly loose and it has lag when moving in any direction.
This is odd as it is connected in the same way as all of the other body parts and they are all firmly attached.

What is the cause of this?
Is it a bug?
How do I fix it?

Included the capx and also a shortcut to the game itself, hosted on Dropbox:
https://www.dropbox.com/s/mrs2pf09js89eha/LooseArm.capx
https://dl.dropbox.com/u/97071084/BrokenArm/index.html


Cheers,
SteveCereal Killa2013-02-04 20:43:54
B
11
S
2
G
3
Posts: 22
Reputation: 2,595

Post » Mon Feb 04, 2013 6:16 am

event 2 and 3 you have an action to set the angle of the left arm while jumping and falling but not one for the right arm.
B
14
S
6
G
2
Posts: 136
Reputation: 3,210

Post » Mon Feb 04, 2013 7:53 am

Yeah but even though there is no event, it still moves with a slight delay, compared to the body/torso/head/legs.
It doesn't rotate, but it seems to have a 1ms or so delay when the platform is moved horizontally/vertically.

It is a nice effect, but I'm not sure how it has come about, how I can avoid it, and also how I can repeat it..Cereal Killa2013-02-04 07:56:03
B
11
S
2
G
3
Posts: 22
Reputation: 2,595

Post » Mon Feb 04, 2013 8:23 pm

I was playing with rope pinning, but changed everything to pin at a fixed position, so I guess there could be some type of bug with leftover information in the change.

Curious if the same effect is evident on other people's computers or just mine?

https://dl.dropbox.com/u/97071084/BrokenArm/index.html

[EDIT: Updated Original post to include the uploaded 'game' and the same problem is still evident..
I have also turned off the left arm rotation so that one can better compare the two.
The only events that are running are a platform box with torso pinned to it, and head/arms/legs pinned to the torso, so the cause of the extra wobble to the right arm only, is beyond me..]Cereal Killa2013-02-04 20:48:46
B
11
S
2
G
3
Posts: 22
Reputation: 2,595

Post » Mon Feb 04, 2013 9:29 pm

pin the right arm to the player instead of the herobody (from original capx), appears to fix the problem
B
14
S
6
G
2
Posts: 136
Reputation: 3,210

Post » Tue Feb 05, 2013 5:30 am

I actually deleted the arm and added a brand new arm which I re-pinned again to the heroBody and this solved the problem, so I guess it was just a bug with that arm object.
B
11
S
2
G
3
Posts: 22
Reputation: 2,595


Return to How do I....?

Who is online

Users browsing this forum: mercuryus, mystazsea and 14 guests