2D Game Development - SkyGameEngine2d create a game project

Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/qq_33775402/article/details/90478172


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

SkyGameEngineToolPackage 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.exeto open the toolHere Insert Picture Description

Third, the use of tools

3.1 Tools Interface Introduction

Tool interface shown in FIG.
Here Insert Picture Description

3.2 setup engine path

Here Insert Picture Description
Select the download before 引擎项目的路径, under normal circumstances, the tool to get information about the current engine version, and the output log as shown.
Here Insert Picture Description

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.
Here Insert Picture Description
The project will create the kind of process outputs the following log.
Here Insert Picture Description
The new project will be created, the tool will automatically default Here Insert Picture Descriptionto 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.
Here Insert Picture Description

Fourth, the project catalog description

Created directory structure as shown in FIG.
Here Insert Picture Description

4.1 project folder Introduction
  1. build folder for files stored in the project directory of the game
  2. res folder for the directory resource files (pictures, sounds, etc.) stored in the game
  3. sky_game_engine2d file folder for the engine related (engineering documents, source code, etc.)
  4. 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.
Here Insert Picture Description
After opening, the solution to be compiled. Then set the game to start the construction project, as.
Here Insert Picture Description
After the setup is complete, you can run. It will appear as shown in the game interface. At this point, the game project created.
Here Insert Picture Description


This section End

Guess you like

Origin blog.csdn.net/qq_33775402/article/details/90478172