Today I got random loot drops, random map generation, and random player start position working. I added a circle – line segment collision test to prevent the player and mobs from getting right next to walls and penetrating geometry. This introduced a problem where a mob might see the player but get caught on a wall corner. I added an unstuck flag so that if a mob sees the player but has been colliding for more than 1/3 of a second the mob will try to move a random direction to “unstuck” himself. I added in 2 different radii – one for moving collision tests and one for weapon hit tests. That way mobs can collide with walls and each other realistically, while giving the player a larger target to hit.
I added an arrow to doorways that lead to the boss fight – that way the player knows before going in that they better have geared up. Overall the game feels pretty fun, but just too easy. I need to add more mobs and the boss fight is easy to cheese past if the player hangs out behind a barrier – so I need to address that. Overall pretty decent progress. I need to add more room types – just having 3 that the player sees over and over is boring.