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.
- Create a new empty C++ project. Open the SDK Browser, go to the My Projects tab, and click Create New.
- In the window that opens, be sure to select C++ (Visual Studio 2015+) from the API + IDE list and click Create New Project.
- 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.
-
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.
- Open the folder with the downloaded UNIGINE Course Projects add-on (we did it in Section 6.2).
- Drag the UPACKAGE file of the add-on to the data/ folder in the Asset Browser window.
- In the Package Manager window, select the data/fps folder, click Import Package and wait for the import process to complete.
Last update:
2024-11-06
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)