Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / [BUG] PlaySkeleton2DAnimation and SetSkeleton2DFlip[BUG]

Author
Message
Captain Ouais
20
Years of Service
User Offline
Joined: 12th Dec 2003
Location: France
Posted: 26th Nov 2017 18:26
Hello !
there is a problem with the animations when the skelete object is reversed

on the right, the animation goes well but on the left, we see that the character slides on the spot



Help Please !

I do what i do !!!
Xaby
FPSC Reloaded TGC Backer
17
Years of Service
User Offline
Joined: 17th Apr 2007
Location: Berlin
Posted: 26th Nov 2017 19:46
It looks like you are triggering the animation to soon. Maybe your bounding box has a collition and pushes your character away?
Captain Ouais
20
Years of Service
User Offline
Joined: 12th Dec 2003
Location: France
Posted: 26th Nov 2017 21:39 Edited at: 26th Nov 2017 21:45
no, there is absolutely nothing that pushes the skeleton, when the fall animation is played, there is no movement.

the third line is the x position of the skeleton.
I do what i do !!!
smallg
Valued Member
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location: steam
Posted: 26th Nov 2017 23:42 Edited at: 26th Nov 2017 23:46
looks like it's working as it should, his left foot is the one he's standing on when he "falls" but when walking left his feet are not in a nice place to sync up with the next animation making it look weird, though it does seem to slide a bit which is definitely weird... perhaps you can cycle from the current frame quickly to the start of the fall to make it look better?
otherwise it could be an offset issue if it's not the center of the sprite?
life's one big game
spec= 4ghz, 16gb ram, AMD R9 2700 gpu
Captain Ouais
20
Years of Service
User Offline
Joined: 12th Dec 2003
Location: France
Posted: 27th Nov 2017 07:29
no matter the animation before that of the "fall" what matters is how agk plays it !
I do what i do !!!
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 28th Nov 2017 14:55
Can you send me the animation file to test? I think it is the root bone having an offset applied to it, but I can't be sure.
Captain Ouais
20
Years of Service
User Offline
Joined: 12th Dec 2003
Location: France
Posted: 28th Nov 2017 18:53
it is done !! thank you !!
I do what i do !!!
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 28th Nov 2017 21:11
Thanks, fixed for the next version.
Captain Ouais
20
Years of Service
User Offline
Joined: 12th Dec 2003
Location: France
Posted: 29th Nov 2017 06:30 Edited at: 29th Nov 2017 06:34
Wonderful !!!

Thank you Paul
I do what i do !!!

Login to post a reply

Server time is: 2024-04-25 06:01:23
Your offset time is: 2024-04-25 06:01:23