Press "N" to lock/unlock the mouse cursor to be able to move around or build.

You can also click on the blue button on bottom right corner to enable fullscreen.

Asset store link page

The new input system package is necessary for this package to work.

This packages is suitable for any genre of game.

Pressing 1 to 8 selects a construction, the xrayconstruction will follow the mouse position.
"MouseScrollWheel" rotate the xrayconstruction clockwise and counter clockwise.
Pressing left click spawns the construction with the selected rotation and position.

You can deselect the construction by right clicking or by pressing the same actual selected construction.

There is a ShowRoom to display how a finished home would look like. And also to display how and where all the constructions should be placed. You can add constructions to the ShowRoom or make a completely new structure nearby.

You can only place floor first to create a new structure. So you have to place a floor first, then a wall on the floor, then a roof on the wall. You can only place floor on floor, wall on floor, doorway on floor, pillar on floor and corner on floor. You can only place door on doorway. You can only place roof on wall and roof on roof. You can only place stairs on floor and stairs on stairs. This way if a construction does not snap, it won't be able to be instantiated.

The doors are working with Hinge joints.

It's a simple system that almost all game I played possessed.

Asset Store publisher

Documentation

https://linktr.ee/electorch




Helpful links: 

(—Jasper Flick——catlikecoding.com—)

StatusIn development
PlatformsHTML5, Windows
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
AuthorElectorch Strauss
GenreSurvival, Adventure, Role Playing
Made withUnity
Tags3D, Brain Training, City Builder, GameMaker, Indie, Modular, Singleplayer, Unity
Average sessionA few minutes
InputsKeyboard, Mouse
LinksBlog

Download

Download
BuildingSystem.zip 48 MB

Comments

Log in with itch.io to leave a comment.

You can now save your buildings and also jump and climb ladders!

The link to the asset store package 

https://assetstore.unity.com/packages/tools/level-design/building-system-224991