Open scytail opened 2 years ago
Maybe add in a check for "clearing" a room (killing all the enemies in a room, getting all collectables, etc.) that would add to the total score. Could even factor into a "cleared floor" check if all rooms have been totally explored and purged of monsters. It would certainly give more incentive to explore every single room.
i like the idea of a "clearing" bonus that gives you "points" for emptying the entire level. The challenge with this is that level generation right now is fairly "dumb." It doesn't know anything about what rooms are reachable or unreachable because all the doors generated are purely randomized. The only "path" it truly knows about is the path from the starting room to the descent room (to ensure we guarantee progression). Adding in a "clearing" bonus would force the world gen to keep track of which rooms are unreachable. I'd likely need to perform a search tree process to sweep all possible paths from the origin and see what rooms are not included after the generation is complete, which could be slow.
I suppose the other option is to redo the level gen algorithm to be smarter by building a process like the following:
As I enumerate this second option, I'm beginning to like this more and more.
maybe something to do with level progression, upgrades collected, or enemies defeated?