-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HomeScene.cpp中为测试
- Loading branch information
Showing
4 changed files
with
35 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,3 +38,4 @@ proj.android | |
|
||
# Build files | ||
win32-build | ||
cocos2d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,22 @@ | ||
# fate-grand-rider | ||
2020 oop assignment | ||
|
||
## 编译 | ||
* 下载本项目repo: | ||
```shell | ||
git clone https://github.com/melonedo/fate-grand-rider.git | ||
cd fate-grand-rider | ||
``` | ||
* 下载cocos2d-x-4.0,把cocos2d-x-4.0的文件解压并放到`cocos2d`文件夹中(coco2d中应有`cmake`, `cocos`, `external`等文件夹); | ||
* 进入`fate-grand-rider`后使用下列指令编译(需要vs2019和cmake): | ||
```shell | ||
mkdir win32-build | ||
cd win32-build | ||
cmake .. -G "Visual Studio 16 2019" -A win32 | ||
cmake --build . --config Release | ||
cd .. | ||
``` | ||
* 运行,程序位于`win32-build/bin/fate-grand-rider/Release`,可进入文件夹后手动打开`fate-grand-rider.exe`,也可继续在命令行中使用指令: | ||
```shell | ||
win32-build/bin/fate-grand-rider/Release/fate-grand-rider.exe | ||
``` |