Playable Demo: https://andreypopov.itch.io/stylized-survival-game-template-demo
Online Documentation: https://docs.google.com/document/d/1f2FkAOx5UqWkz4Dxh7Cnp12iheWNieBHKX__xjGzRgg/edit?usp=sharing
Third Party Notices: This package includes third-party content licensed under SIL Open Font License 1.1 and CC0 1.0. See Third-Party Notices.txt included in the package for details.
Sidenote:
This template contains a wide range of systems and features, and while it has been carefully developed and tested, it is still possible to encounter bugs or unexpected behavior.
If you run into any issues, please don’t hesitate to reach out. You can contact me at andreypopu@gmail.com with the following information:
· A clear description of the bug
· How you discovered it
· Steps to reproduce the issue
· Any error messages or screenshots (if available)
This information helps me quickly identify and fix the problem. I will do my best to resolve any reported issues as soon as possible and include fixes in future updates of the template.
This project has a dependency on the Quick Outline unity package by Chris Nolet.
https://assetstore.unity.com/packages/tools/particles-effects/quick-outline-115488
Overview
The Survival Game Template offers everything you need to build a survival game from the ground up. Instead of spending months developing core systems, you can start with a fully working foundation and focus on creating unique content and gameplay. It's built with efficient systems and clean architecture. It allows you to quickly prototype, expand, and polish your own game without starting from scratch.
Game Managers
At the core of the template lies a collection of various manager systems that control the game’s overall behavior. From handling input and audio to managing building, crafting, time, and player stats. The day and night cycle dynamically affects lighting, atmosphere, and gameplay, while the building and crafting managers allow players to create and place objects in the world with ease.
First Person Player
The template features a smooth first-person controller that can move, sprint, jump, and interact with the world while the camera takes care of head bob and shake effects. The template also includes player death, respawn mechanics and inventory items recovery.
Interaction System
A smart interaction system allows players to detect nearby objects such as items, stations, and loot, and provide different interactions based on what the closest interactable object is.
Inventory System
The template includes a fully featured inventory system designed for flexibility and ease of use. Players can drag and drop items, split stacks, quick-stack between containers, and manage resources efficiently.
The hotbar system allows real-time item usage, allowing players to equip tools, weapons, and consumables instantly.
Crafting Stations
A variety of interactive crafting stations bring the world to life. Players can use furnaces to cook and smelt, chests to store items, anvils to craft advanced gear, and natural stations like bushes and tall grass to gather resources.
Crafting and Building
The crafting system allows players to create items using crafting recipes, while the building system allows placement of structures like crafting stations directly in the world. This system forms a key part of the survival loop, allowing players to shape their environment.
Resource System
The world is filled with interactive resources such as trees, rocks, and ores that players can gather using the appropriate tools. Each resource provides satisfying feedback through sound effects, particles, and damage indicators. Trees fall and drop materials, rocks and ores shatter into pieces, and every resource provides clear player feedback.
Combat and Feedback
The template includes a responsive combat/gather system with swing-based attacks, hit detection, and damage calculation based on equipped items. Visual and audio feedback systems enhance every interaction, including floating damage numbers, hit effects, and immersive sounds.
Additional Systems
Beyond the core gameplay, the template includes a wide range of supporting systems such as settings menus, save/load functionality, occlusion culling, object pooling, and UI elements.