This page has been translated automatically.
Unigine Basics
1. Introduction
2. Managing Virtual Worlds
3. Preparing 3D Models
4. Materials
5. Cameras and Lighting
6. Implementing Application Logic
7. Making Cutscenes and Recording Videos
8. Preparing Your Project for Release
9. Physics
10. Optimization Basics
12. PROJECT3: Third-Person Cross-Country Arcade Racing Game
13. PROJECT4: VR Application With Simple Interaction

PROJECT2: First-Person Shooter. Introduction.

This project will let you learn how to create a simple FPS (First-Person Shooter) game.

Using the C++ Component System and the first-person controller template we will create an animated character armed with a gun and controlled by the player. The aim of the character is to survive and kill all enemy robots spawned at the level. We will also learn how to use Particle Systems to create visual effects and manage animations via code.

Creating a New Project Using a Template World#

While working on this project, we will use a set of ready-made assets included in the add-on, which we downloaded in Section 6.2.

  1. Create a new empty C++ project. Open the SDK Browser, go to the My Projects tab, and click Create New.
  2. In the window that opens, be sure to select C++ (Visual Studio 2015+) from the API + IDE list and click Create New Project.
  3. Once the new project is created, it will appear on the My Projects tab. Click Open Editor under the created project to open it in UnigineEditor.
  4. Once UnigineEditor is launched, a template world will open where we will start working.

    Select and delete the material_ball node as we won't need it.

  5. Open the folder with the downloaded UNIGINE Course Projects add-on (we did it in Section 6.2).
  6. Drag the UPACKAGE file of the add-on to the data/ folder in the Asset Browser window.
  7. In the Package Manager window, select the data/fps folder, click Import Package and wait for the import process to complete.

Articles in This Section

Last update: 2024-12-13
Build: ()