Devblog: Click and Drag Again
By Rancy
Bon Appawtit! logo

Upgrades to the art for Bon Appawtit! have already been updated by Erika, and they look visually appealing! However for my blog posts regarding functionality of the game, older assets or basic shapes will be used to showcase functionality on my part.

In a previous iteration, dragging and dropping allowed the map to be moved independently from the furniture on the stage. Moving slightly forward, specifically moving around furniture, particular types of furniture behave as expected.

Looking at simple furniture such as tables, their expected behaviour is not to overlap each other. Imagine climbing up a Jenga tower of tables to reach your plate at the top without falling!

Determine valid location for blocking furniture

Placing furniture on top of each other will cause the furniture to correct itself by reverting the coordinate position to a more suitable place.

Valid locations for non-blocking furniture

Well what about tablecloths, plates, vases, and objects that actually do belong on top? ... Surely they won't be placed on the floor?

Indeed objects that belong on top other furniture act like they should. Of course, that means that anything placed on the table will not fall off the table when the table is moved around.

Valid locations for blocking furniture

We can also start introducing other furniture and objects that would add some depth in the z-axis. For example, chairs should appear on-top and below tables at the same time while also determining a valid location if it becomes a blocking furniture.

Feel free to check out Erika's beautiful assets in her posts!

Beyond the examples shown above, Erika has created many other cool assets to play around with in the future!


Brainstorming Notes

Z-Axis Object Layering

Overlapping and Autoclip Objects