AniGami [2016-09-12 01:18:44 +0000 UTC]
Wow nice as always. I know you have been doing these animation heavy games for a while know. And i just started doing one myself and its getting to be a real pain with implantation of multiple ways to getting to the same state like ledge grabbing as you have here. So I was just wondering if you have any tips?
👍: 0 ⏩: 1
JoeGPcom In reply to AniGami [2016-09-12 03:26:08 +0000 UTC]
Thanks! I'm not sure if I have any tips, except keeping everything very, very organized and tidy in the code. I've gone through a couple times and resorted everything to create clearer hierarchies. It becomes far less confusing when you have a clear system to find whatever it is you're looking for.
For example, ANIMATIONS section of code versus MOVEMENT. Inside ANIMATIONS section is a JUMPING section, FALLING section, LANDING section, etc. Inside JUMPING section is STATIONARY JUMP, RUNNING JUMP, FLIP, SIDE FLIP, etc. Very clear hierarchy.
Then, for example, for jumping animation variations, I'll label them Stationary Jump = 1, Running Jump = 2, Flip = 3, Side Flip = 4, etc. If character is jumping, and not moving, Jumping Variable = 1. If character is jumping and moving, Jumping Variable = 2, etc. So if that variable is more than 0, I know the character's jumping, and then the specific number tells me which type of jump he's performing.
Not sure if that's what you were really asking about, but hope that helps in some way.
👍: 0 ⏩: 0