Monday, 6 June 2016

Class 70 - More Dodge Stuff

Post 151

More Dodge Stuff

The last two posts are currently empty, this is because of Grad events such as, Dry Grad, Prom, and my actual graduation. So sorry for not having them filled out, I hope to post something there eventually in the future, whether i'm still in the class or not.

So today I will attempt to fix last weeks problems with the dodge roll, the main problem being the blood effect when you are hit, even though the damage isn't being applied.


So my first course of action was to add "(dodging = false)" to the end of everything, but that made the game implode. And as far as I can tell its due to the fact I didn't specify where there variable is coming from. When this happens the game has a melt down and just dies.

Sure enough that was the problem, the code now works perfectly. Just ignore the blood in the beginning of the GIF, I got hit because I couldn't tab into the game fast enough.
Next Class I will work on having a cool down, and possibly making the dodge roll in other directions so its more useful.

No comments:

Post a Comment