Some early stages of placing furnitures in rooms! Some additions to the inventory, a room icon appears on the furniture render if it's in a room. Button to enter the room only appears if you're not in the room it is placed in. The button to place furnitures in the room only appears if you're either the owner or have rights in the room. Placing a furniture makes the room render a furniture for your client only, putting it at half alpha and following the cursor, however, it stacks onto already existing furnitures on that tile. Cursor remains at the lowest depth. When not hovering over a tile, the furniture is not rendered and instead, the icon is rendered as a DOM element (canvas with the icon sprite drawn on it) and follows your cursor, only within the room element though. It does not follow into other stuff such as dialogs etc.
You can now place a furniture in a room from your inventory. You can also stack them. I had to rewrite some parts of the room rendering to adjust for proper furniture stacking and I'm quite happy with the results! To rotate an object while placing it, you just press SHIFT once per rotation. This is not a thing in Habbo but my god the amount of times I wish Habbo would've had something like this!














