Day 62

Today I worked on the character attack animation for my player. I took it from the RPG set that I got online.

I put it in my game by adding a new variable called "attacking" that comes up either true or false depending on whether you're attacking or not. Then in my obj_player's step event I made a new script and called it "attacking" and inside i made it so that if i'm currently attacking to set it to "true".

It took a while to write all the code (most of the class)

When i finally finished i tried it out, it attacked in the right direction, BUT it would keep glitching out and not doing the complete animation for the attack.

Sorry I don't have any images or pictures because I ran out of time during class (i'm writing this from home)

Tomorrow I will try to fix the attack.

No comments:

Post a Comment