资源简介
c++语言六角消除游戏源码,自己写的六角消除游戏,地图生成,投影,消行策略可提供参考!!!!!!!!!
代码片段和文件信息
#include “AppDelegate.h“
#include “GameScene.h“
USING_NS_CC;
AppDelegate::AppDelegate() {
}
AppDelegate::~AppDelegate()
{
Configuration::getInstance()->destroyInstance();
scriptEngineManager::getInstance()->destroyInstance();
PoolManager::getInstance()->destroyInstance();
}
bool AppDelegate::applicationDidFinishLaunching() {
// initialize director
auto director = Director::getInstance();
auto glview = director->getOpenGLView();
if(!glview) {
glview = GLView::create(“My Game“);
glview->setframeSize(960 640);
director->setOpenGLView(glview);
}
// turn on display FPS
director->setDisplayStats(true);
// set FPS. the default value is 1.0/60 if you don‘t call this
director->setAnimationInterval(1.0 / 60);
// create a scene. it‘s an autorelease object
auto scene = GameScene::createScene();
// run
director->runWithScene(scene);
return true;
}
// This function will be called when the app is inactive. When comes a phone callit‘s be invoked too
void AppDelegate::applicationDidEnterBackground() {
Director::getInstance()->stopAnimation();
// if you use SimpleAudioEngine it must be pause
// SimpleAudioEngine::getInstance()->pauseBackgroundMusic();
}
// this function will be called when the app is active again
void AppDelegate::applicationWillEnterForeground() {
Director::getInstance()->startAnimation();
// if you use SimpleAudioEngine it must resume here
// SimpleAudioEngine::getInstance()->resumeBackgroundMusic();
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-04-23 04:58 HexFrvr-cosX-master\
目录 0 2017-04-23 04:58 HexFrvr-cosX-master\Classes\
文件 1547 2017-04-23 04:58 HexFrvr-cosX-master\Classes\AppDelegate.cpp
文件 947 2017-04-23 04:58 HexFrvr-cosX-master\Classes\AppDelegate.h
文件 1277 2017-04-23 04:58 HexFrvr-cosX-master\Classes\Block.cpp
文件 584 2017-04-23 04:58 HexFrvr-cosX-master\Classes\Block.h
文件 16758 2017-04-23 04:58 HexFrvr-cosX-master\Classes\BlockShape.cpp
文件 861 2017-04-23 04:58 HexFrvr-cosX-master\Classes\BlockShape.h
文件 1637 2017-04-23 04:58 HexFrvr-cosX-master\Classes\GameOverla
文件 328 2017-04-23 04:58 HexFrvr-cosX-master\Classes\GameOverla
文件 14520 2017-04-23 04:58 HexFrvr-cosX-master\Classes\GameScene.cpp
文件 1027 2017-04-23 04:58 HexFrvr-cosX-master\Classes\GameScene.h
文件 1015 2017-04-23 04:58 HexFrvr-cosX-master\Classes\Global.h
文件 3781 2017-04-23 04:58 HexFrvr-cosX-master\Classes\Mapla
文件 591 2017-04-23 04:58 HexFrvr-cosX-master\Classes\Mapla
文件 122 2017-04-23 04:58 HexFrvr-cosX-master\Classes\ScoreInfo.h
文件 5212 2017-04-23 04:58 HexFrvr-cosX-master\Classes\Shapela
文件 509 2017-04-23 04:58 HexFrvr-cosX-master\Classes\Shapela
文件 5085 2017-04-23 04:58 HexFrvr-cosX-master\Classes\Statusla
文件 517 2017-04-23 04:58 HexFrvr-cosX-master\Classes\Statusla
文件 139 2017-04-23 04:58 HexFrvr-cosX-master\README.md
目录 0 2017-04-23 04:58 HexFrvr-cosX-master\Resources\
文件 49510 2017-04-23 04:58 HexFrvr-cosX-master\Resources\QQ截图20170416185300.png
文件 1147 2017-04-23 04:58 HexFrvr-cosX-master\Resources\block.png
文件 5853 2017-04-23 04:58 HexFrvr-cosX-master\Resources\dialog.png
文件 1029 2017-04-23 04:58 HexFrvr-cosX-master\Resources\favicon.ico
目录 0 2017-04-23 04:58 HexFrvr-cosX-master\Resources\fonts\
文件 25776 2017-04-23 04:58 HexFrvr-cosX-master\Resources\fonts\Marker Felt.ttf
文件 9751960 2017-04-23 04:58 HexFrvr-cosX-master\Resources\fonts\simhei.ttf
文件 12531 2017-04-23 04:58 HexFrvr-cosX-master\Resources\jixunvli.png
文件 12406 2017-04-23 04:58 HexFrvr-cosX-master\Resources\ku.png
............此处省略49个文件信息
相关资源
- c++程序设计第四版课件郑莉等著[含
- windows下原生c++语言实现的FTP客户端
- C++中文离线手册修正版
- Lotus C++ API Toolkit for Notes/Domino 8.0 for
- modbus 客户端主站C++源代码
- C++ Prime Plus第6版
- 编译原理词法分析器C++版源代码
- C++实现五子棋项目.zip
- loadConfig.zip
- VC++视频采集资料
- Effective C++中文版第三版带书签
- 基于SVM与人工神经网络的车牌识别O
- 数据结构、算法与应用——C++语言描
- C++17 标准 ISOIEC 14882 2017 官方pdf文档
- 人脸识别C++源码
- Visual C++ MFC 源代码大全
- C++程序设计第二版钱能.rar
- Visual C++ Redistributable for Visual Studio 2
- 车牌识别系统C++实现
- 数据结构与算法分析C++描述第三版及
- 顾卫刚手把手教你学DSP基于2812
- WAV转换成MP3音频文件 C++ vc MFC
- Learning C++ by Creating Games with UE4 无水印
- 《C++游戏开发》笔记十二 战争迷雾的
- 《MFC游戏开发》笔记九 碰撞检测 怪物
- C++ GUI Qt 4编程第二版 经典教材适合
- 图书管理系统c++与SQL数据库+课程设计
- Scientific and Engineering C++
- VC++游戏编程基础有书签
- 钱能C++程序设计教程第二版pdf高清带
评论
共有 条评论