Wednesday, 2 November 2016

Gamemaker day 22


Today in Gamemaker I was faced with a problem. The problem was my enemy A.I. would not fall and wouldn't chase the player like it was suppose to when near them. They were able to move left and right without falling off the ledges, but I wanted some to fall off but it did not work. So what I did was completely rewrite the code for the enemy A.I. Now I had two of the same enemy, one that wouldn't fall of the edges and ones that would. I make it so the enemy that would fall off the ledges would chase the player so I wouldn't have to apply the same code to both enemies. The next day I will be working on what I was suppose to; making more levels.

No comments:

Post a Comment