2D Game Development - SkyGameEngine2d create a game project
SkyGameEngine2d - explore simple to use, suitable for entry of a learning game 2d game engine
project addresses https://gitee.com/xfcode/SkyGameEngine2d
QQ group number: 498 358 732
plus group link: https://jq.qq.com/?_wv=1027&k=5odSA9K
First, preparation
At the beginning of creating a project, you need to prepare the necessary development environment, the reference to a blog post 2D Game Development - Environment Configuration SkyGameEngine2d
Second, get engine tool
To help developers quickly create a project, the engine provides SKyGameEngine2dTool . Integrated tool to create game projects, management, documentation, help, design guidelines and other functions.
This section focuses on how to use the tool.
If you are interested in tools development, please move the project home page: https://gitee.com/xfcode/SkyGameEngine2dTool
2.1 download tools
SkyGameEngineTool
Package Download: https://dwz.cn/aWH5hM51
can choose to download the latest version of the list of species use to download
2.2 unzip and open tool
The use of compression software download archive decompression, run SkyGameEngine2dTool.exe
to open the tool
Third, the use of tools
3.1 Tools Interface Introduction
Tool interface shown in FIG.
3.2 setup engine path
Select the download before 引擎项目的路径
, under normal circumstances, the tool to get information about the current engine version, and the output log as shown.
3.3 Creating a new project
Enter a name for the project, as shown in the path of the project, and then click Create project.
The project will create the kind of process outputs the following log.
The new project will be created, the tool will automatically default to open the path of the project, as shown.
3.4 Management Project created
Click 游戏项目管理
, project lists created by the engine, as shown. Select the item, you can right-click menu related operations.
Fourth, the project catalog description
Created directory structure as shown in FIG.
4.1 project folder Introduction
- build folder for files stored in the project directory of the game
- res folder for the directory resource files (pictures, sounds, etc.) stored in the game
- sky_game_engine2d file folder for the engine related (engineering documents, source code, etc.)
- src folder for the game source code stored in the directory
4.2 Build projects
Open build folder used vs2015及以上版本
to open XXX.sln
, as shown in FIG.
After opening, the solution to be compiled. Then set the game to start the construction project, as.
After the setup is complete, you can run. It will appear as shown in the game interface. At this point, the game project created.
This section End