Day 65

Today I didn't do much because I helped out Zack for most of the class inside of scratch (because scratch is like the basics of progamming). But what I did today was that I fixed some parts of the enemy AI.

I edited his code because he would keep running into a wall sometimes until it was his turn to turn into the other side. So I added a code that made it so that when he is 5 pixels away from the wall and he's walking in that direction, that he would automatically do a 180 degree turn and walk that way until the direction changes again.

(I can't really add a GIF because it's a random chance that this happens)

Tomorrow I will work on some other things inside of my game.

No comments:

Post a Comment