資源簡介
吃豆人c 代碼,vs2013編寫,可直接運行。文檔說明齊全。
代碼片段和文件信息
#include?“preStatement.h“
#include?“game.h“
/*?默認變量?*/
const?clock_t?g_nInitGhoSpead?=?350;
const?clock_t?g_nInitPlayerSpead?=?200;
const?int?g_nMapRow?=?31;
const?int?g_nMapCol?=?28;
const?int?g_nPlayer?=?1;
const?int?g_nGhost?=?4;
const?int?g_nPean?=?300;
int?g_nPlayerlife?=?3;
CGameMap*?g_gameMap?=?NULL;
const?int?g_nFirstGhoRow?=?14;
const?int?g_nFirstGhoCol?=?12;
const?int?g_nPlayerRow?=?23;
const?int?g_nPlayerCol?=?13;
//?玩家已得分數
int?g_nAddScore?=?0;
//?玩家吃鬼分數
int?g_nPlayerEatGhostScore?=?PlayerEATGHOSTSCORE;
int?g_nPlayerEatGhostScore_show?=?PlayerEATGHOSTSCORE;
//?玩家吃鬼加分倍率
const?float?g_fMagScore?=?1.5;
//?玩家被吃標志
int?g_isBeEat?=?0;
//?吃掉一只鬼
int?g_nGhostBeEat?=?0;
//?玩家吃掉豆子的數量(包括超級豆),最多300
int?g_nEatPeanNum?=?1;
//?超級豆被吃標志,吃一個加1
int?g_nSuperPea
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-08-22?08:47??pacman-master\
?????文件??????????50??2017-05-06?13:05??pacman-master\.gitignore
?????目錄???????????0??2018-08-22?08:44??pacman-master\Bin\
?????文件???????32256??2017-05-06?13:05??pacman-master\Bin\pacMan-吃豆人.exe
?????文件????????1178??2017-05-06?13:05??pacman-master\README.md
?????目錄???????????0??2018-08-22?08:44??pacman-master\Release\
?????文件???????32256??2018-08-22?08:44??pacman-master\Release\level_0x02.exe
?????文件??????437248??2018-08-22?08:44??pacman-master\Release\level_0x02.pdb
?????目錄???????????0??2018-08-22?08:44??pacman-master\level_0x02\
?????目錄???????????0??2018-08-22?08:44??pacman-master\level_0x02\Release\
?????文件???????11611??2018-08-22?08:44??pacman-master\level_0x02\Release\game.obj
?????文件??????112966??2018-08-22?08:44??pacman-master\level_0x02\Release\gameCtrl.obj
?????文件???????73743??2018-08-22?08:44??pacman-master\level_0x02\Release\gameElement.obj
?????文件???????74486??2018-08-22?08:44??pacman-master\level_0x02\Release\gameMap.obj
?????文件???????85684??2018-08-22?08:44??pacman-master\level_0x02\Release\gameUI.obj
?????文件???????65550??2018-08-22?08:44??pacman-master\level_0x02\Release\ghoHome.obj
?????文件???????69315??2018-08-22?08:44??pacman-master\level_0x02\Release\ghost.obj
?????文件???????61119??2018-08-22?08:44??pacman-master\level_0x02\Release\iGameElement.obj
?????文件????????2633??2018-08-22?08:44??pacman-master\level_0x02\Release\level_0x02.log
?????目錄???????????0??2018-08-22?08:44??pacman-master\level_0x02\Release\level_0x02.tlog\
?????文件??????254282??2018-08-22?08:44??pacman-master\level_0x02\Release\level_0x02.tlog\CL.read.1.tlog
?????文件????????7652??2018-08-22?08:44??pacman-master\level_0x02\Release\level_0x02.tlog\CL.write.1.tlog
?????文件???????11924??2018-08-22?08:44??pacman-master\level_0x02\Release\level_0x02.tlog\cl.command.1.tlog
?????文件?????????180??2018-08-22?08:44??pacman-master\level_0x02\Release\level_0x02.tlog\level_0x02.lastbuildstate
?????文件????????3708??2018-08-22?08:44??pacman-master\level_0x02\Release\level_0x02.tlog\li
?????文件????????6976??2018-08-22?08:44??pacman-master\level_0x02\Release\level_0x02.tlog\li
?????文件????????2214??2018-08-22?08:44??pacman-master\level_0x02\Release\level_0x02.tlog\li
?????文件???????69974??2018-08-22?08:44??pacman-master\level_0x02\Release\moveObj.obj
?????文件???????61760??2018-08-22?08:44??pacman-master\level_0x02\Release\pacMan.obj
?????文件???????66019??2018-08-22?08:44??pacman-master\level_0x02\Release\pean.obj
?????文件???????68807??2018-08-22?08:44??pacman-master\level_0x02\Release\pla
............此處省略56個文件信息
- 上一篇:c++ 貪吃蛇 小游戲源碼(支持難度級別)
- 下一篇:窗體版坦克大戰 游戲源碼
評論
共有 條評論