itch.io is community of indie game creators and players

Devlogs

House Builder Prototype

Builder Prototype
A browser game made in HTML5

Skills I learned through making this: 

Grid Placement: I learned how to implement grid-based placement for building components, ensuring that walls, floors, and other objects align correctly. This taught me the importance of precision and snapping to make object placement easy for players.

Modular Construction:  I gained experience in modular design, allowing players to customize layouts with minimal resource overhead. I also learned the efficiency and flexibility that modular prefabs provide in Unity.

Collision Avoidance: The tutorial introduced me to using colliders to prevent building overlap, making sure each piece fits into the layout. This involved configuring and testing colliders to validate placements dynamically.

Placement Validation: I implemented rules that ensure objects can only be placed in valid spots. Visual feedback (e.g., green or red indicators) shows players whether their placements are allowed, reinforcing a sense of control and clarity.

Cost and Resource Systems: Managing resources required for each building piece taught me the fundamentals of resource management and game economy

Inventory and Resource Display: I also worked on a UI that displays resources, helping players make informed decisions based on their available materials and budget

Building Menu and Selection UI: I created an menu where players can select from different building options. This menu allows for previewing components before placement, improving player experience.

Interactive Feedback: Adding visual feedback (like color changes and cost indicators) when placing objects

Scripting Building Logic: Writing scripts to handle object placement, rotation, and deletion

In Conclusion: I learned how to successfully use grid maps to set up a building system that can be applied to the game When The Sun Sets where players are able to customize the hotel lobby

Files

  • BuildingGamePrototype.zip 14 MB
    Aug 04, 2024
Leave a comment