Tuesday, February 13, 2018

Day 9

Today I attempted most of the day to try to fix the problem with my sprite animation but i couldn't get it done.

The problem that I suspect is happening is that since my main sword sprite is angled a bit, I added 45 degrees on top of the mouses point direction so that the point would face the mouse even though it is angled regularly. But since my attack animation faces upwards and not angled, it applies the previous angle from the sword onto the animation. So to fix this I have to reset the angle back when I attack.

I tried adding a point_direction inside of the attack animation but it still did the same thing.



I couldn't figure it out today but I am learning how to deal with bugs like this more. Even though its frustrating I have to focus and try to find the problem.

So tomorrow I will try to fix this problem.

1 comment:

Animate Lines and Ripple effect

Screenshot from Animate CC Animated GIF (Button does not work) Adobe Flash Player Version