I finally took an honest crack at the robot sentry mini-boss today, and got it mostly done. The art is terrible, but I’m hopeful a donor will fix that. I thought it might be interesting to detail how the enemy evolved throughout the day.
I started just by getting all their parts drawn on the screen in roughly the correct place, as well as a physics model for their body:
Next I added some basic player-tracking, so that each turret is always aimed exactly at the player (as much as possible):
Instantaneous tracking looks neat, but it’s not super fun to play, since humans are no match for machine reflexes. To make it a fairer fight, I had to add in a maximum turning speed for each turret:
I got it mostly working right away, but then spent way longer than I would have liked working out the kinks. Here it is fully working in another test area:
The guns aren’t quite done: they need to actually shoot, of course, and to cause damage when you touch them and their projectiles. They’ll also be impervious to attack at times, then open a hatch and expose their giant glowing weak point. People seem to like it when video game enemies do that. Hopefully most of the brain-heating trigonometry is out of the way, though. I had to lay on my carpet, moaning softly, at one point.