A first-person security simulation game - Complete missions, escort VIPs, and protect the city!
๐ Play Demo
Guard Simulator is a first-person (FPS) security simulation game developed with the Unity game engine. Players take on the role of a security guard, completing various missions, engaging in dialogues with NPCs, and carrying out VIP escort tasks.
- ๐ฏ Quest System - Various missions with a dynamic quest system
- ๐ Vehicle Escort System - Safely transport VIPs to their destinations
- ๐ฌ Dialogue System - Interactive conversations with NPCs
- ๐ค Artificial Intelligence (AI) - Bot characters and enemy AI system
- ๐ฌ Cinematic Camera - Impressive visual transitions and scenes
- ๐ต Sound System - Dynamic music and sound effects management
- ๐ฎ Main Menu - Modern and animated user interface
| Component | Version |
|---|---|
| Unity | 6000.1.3f1 (Unity 6) |
| Render Pipeline | Universal Render Pipeline (URP) 17.2.0 |
| Package | Version | Description |
|---|---|---|
com.unity.inputsystem |
1.14.2 | New Input System |
com.unity.ai.navigation |
2.0.9 | NavMesh AI navigation |
com.unity.animation.rigging |
1.3.0 | Animation Rigging |
com.unity.postprocessing |
3.5.0 | Post-processing effects |
com.unity.shadergraph |
17.2.0 | Shader Graph |
com.unity.timeline |
1.8.9 | Timeline animations |
com.unity.visualscripting |
1.9.7 | Visual Scripting |
com.unity.nuget.newtonsoft-json |
3.2.1 | JSON serialization |
- Akila FPS Framework - First-person weapon and character system
- Various 3D models and environment assets
- Unity Hub (latest version recommended)
- Unity 6000.1.3f1 or higher
- Git (for version control)
- Visual Studio 2022 or JetBrains Rider (for C# development)
# Clone the repository
git clone https://github.com/YOUR_USERNAME/Guard-Simulator.git
# Navigate to the project directory
cd Guard-Simulator- Open Unity Hub
- Click Add โ Add project from disk
- Select the cloned project folder
- Make sure the correct Unity version is selected next to the project
- Click on the project to open it
- When the Unity project opens, the
Libraryfolder will be created automatically - Wait for all assets to be imported
- Open the main menu scene from
Assets/Scenes/MainMenu&Credits - Press the Play button to test the game
| Key | Action |
|---|---|
W A S D |
Movement |
Mouse |
Look/Aim |
Space |
Jump |
Shift |
Sprint |
E |
Interact |
Esc |
Menu |
| Scene | Description |
|---|---|
MainMenu&Credits |
Main menu and credits screen |
GameScene |
Main gameplay scene |
Sandbox |
Testing and development scene |
- Open the
FileโBuild Settingsmenu - Select the target platform (Windows, macOS, Linux)
- Add the required scenes to the scene list
- Click the
Buildbutton - Select the output folder
This project currently does not use any external APIs or services. All operations are performed locally.
If online features are added in the future, the following variables may be required:
// Example: Create a ScriptableObject in the Resources/Config folder
[CreateAssetMenu(fileName = "GameConfig", menuName = "Config/Game Configuration")]
public class GameConfig : ScriptableObject
{
public string apiEndpoint;
public string analyticsKey;
// Other configuration values
}| Issue | Status | Solution |
|---|---|---|
| Shader compilation time may be long | ๐ก Expected | Wait during first launch, then no issues |
| Post-processing may reduce performance on some devices | ๐ก Expected | Reduce effects in Quality Settings |
Solution: Right-click on the Assets folder โ Reimport All
Solution:
1. Edit โ Rendering โ Materials โ Convert All Built-in Materials to URP
2. Change shaders to URP compatible shaders
Solution:
1. Edit โ Project Settings โ Player
2. Set "Active Input Handling" โ "Both" or "Input System Package (New)"
3. Restart Unity
Solution:
1. Make sure there is a NavMesh Surface component in your scene
2. Bake the NavMesh from Window โ AI โ Navigation
Guard Simulator/
โโโ Assets/
โ โโโ Data/ # Data files
โ โโโ GV & URP/ # URP settings
โ โโโ Imported Assets/ # Externally imported assets
โ โโโ Materias/ # Materials
โ โโโ Music/ # Music files
โ โโโ Prefabs/ # Prefab objects
โ โโโ Scenes/ # Game scenes
โ โ โโโ GameScene/ # Main game scene
โ โ โโโ MainMenu&Credits/ # Main menu
โ โ โโโ Sandbox/ # Test scene
โ โโโ Scripts/ # C# source code
โ โโโ Character/ # Character and NPC scripts
โ โโโ Editor/ # Editor tools
โ โโโ Gameplay/ # Game mechanics
โ โโโ Sound/ # Sound system
โ โโโ UI/ # User interface
โโโ Packages/ # Unity package dependencies
โโโ ProjectSettings/ # Project settings
โโโ README.md # This file
- Fork this repository
- Create a feature branch (
git checkout -b feature/NewFeature) - Commit your changes (
git commit -m 'Add new feature') - Push your branch (
git push origin feature/NewFeature) - Open a Pull Request
This project is licensed under the MIT License. See the LICENSE file for details.
MIT License
Copyright (c) 2025 Guard Simulator
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
- Unity Documentation - Official Unity documentation
- Universal Render Pipeline - URP documentation
- Akila FPS Framework - Base framework for FPS mechanics
- Unity Input System - New input system
- Unity Technologies - For the amazing game engine
- Asset Store community - For quality assets
- Open source community - For inspiring projects
Experience the thrill of being a security guard with Guard Simulator! ๐ก๏ธ
Made with โค๏ธ and Unity