NEW UPDATE: Fixed the problems below, but to have multiple bad guys on the screen at once will require quite an overhaul. Also fixed the lag involved with giving the bad guy proper collision. OLD PESSIMISM: I don't think I'm going to get much farther on this. Problem was, as I have made visible, the bad guy's sight objects wouldn't move with him. Couldn't fix it as much as I tried. If you think I'm a pleb for not fixing it, you try. Go look in the code. You'll understand it for sure. On top of that, my pen function for drawing out the walls (I wanted to shorten the level creation, maybe make it possible to make a level creator, and sadly pen draws with curved edges. This means that bullets will not deflect as simply and will sometimes go inside the walls.
Programming by Bold Potato Art by Bold Potato