- Building an RPG with Unreal
- Steve Santello Alan R. Stagner
- 324字
- 2021-07-23 14:35:39
Setting up a new Unreal project
Now that you have both Unreal and Visual Studio downloaded and installed, we're going to create a project for our game.
Unreal comes with a variety of starter kits that you can use, but for our game, we'll be scripting everything from scratch.
After signing into Epic Games Launcher, you'll first want to download the Unreal Engine. This book uses version 4.7.6. You may use a later version, but depending on the version, some code and the navigation of the engine may slightly differ. The steps for creating a new project are as follows:
- Firstly, in the Unreal Engine tab, select Library. Then, under Engine Versions, click on Add Versions and select the version you'd like to download.
- After the engine has downloaded, click on the Launch button.
- Once the Unreal Engine has launched, click on the New Project tab. Then, click on the C++ tab and select Basic Code.
- Finally, choose a location for your project and give it a name (in my case, I named the project
RPG
).
In my case, after the project was created, it automatically closed the engine and opened Visual Studio. At this point, I've found it best to close Visual Studio, go back to Epic Games Launcher, and relaunch the engine. Then, open your new project from here. Finally, after the editor has launched, go to File | Open Visual Studio.
The reason for this is because, while you can launch the editor by compiling your Visual Studio project, in some rare cases you may have to close the editor any time you want to compile a new change. If, on the other hand, you launch Visual Studio from the editor (rather than the other way around), you can make a change in Visual Studio and then compile the code from within the editor.
At this point, you have an empty Unreal project and Visual Studio that are ready to go.
- 從零開始構建企業級RAG系統
- SpringMVC+MyBatis快速開發與項目實戰
- Python數據分析基礎
- Mastering OpenCV Android Application Programming
- 三維圖形化C++趣味編程
- MySQL數據庫管理與開發(慕課版)
- 精通Python自然語言處理
- HTML5入門經典
- Test-Driven Development with Django
- HTML5權威指南
- Programming Microsoft Dynamics? NAV 2015
- Python+Office:輕松實現Python辦公自動化
- 從零開始學Python大數據與量化交易
- Drupal 8 Development Cookbook(Second Edition)
- Java并發實現原理:JDK源碼剖析