Room generation in Hostage Hero
A downloadable game
This is our entry to PROCJAM 2016, it is simply some screenshots of our newly improved and optimised room generation from our upcoming game Hostage Hero!
As Hostage Hero is still in development we can't post much more than these screenshots, I can however give a rough outline of what the code behind it does!
It starts by randomly picking objects to spawn in the room. Then it decides if any of the objects should be coupled up to make it look more realistic, e.g. bed and bedside cabinet, coffee table and sofa etc. Once it has done this the coupled objects positions are set and then everything else is placed in the free space around it.