资源简介
cocos2dx v2.2.6 超级玛丽源代码,放置到cocos2dx v2.2.6 sample文件夹中即可编译。
代码片段和文件信息
/****************************************************************************
Copyright (c) 2010-2013 cocos2d-x.org
Copyright (c) Microsoft Open Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted free of charge to any person obtaining a copy
of this software and associated documentation files (the “Software“) to deal
in the Software without restriction including without limitation the rights
to use copy modify merge publish distribute sublicense and/or sell
copies of the Software and to permit persons to whom the Software is
furnished to do so subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS“ WITHOUT WARRANTY OF ANY KIND EXPRESS OR
IMPLIED INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM DAMAGES OR OTHER
LIABILITY WHETHER IN AN ACTION OF CONTRACT TORT OR OTHERWISE ARISING FROM
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
****************************************************************************/
#include “AppDelegate.h“
#include “scriptingCore.h“
#include “generated/jsb_cocos2dx_auto.hpp“
#include “generated/jsb_cocos2dx_extension_auto.hpp“
#include “cocos2d_specifics.hpp“
#include “jsb_cocos2dx_extension_manual.h“
#include “js_bindings_chipmunk_registration.h“
#include “jsb_opengl_registration.h“
#include
#include
#include “GameRunningScene.h“
#include “AppMacros.h“
#include “GameLoadingScene.h“
#include “GameMissionInfoScene.h“
#include “GameHomePageScene.h“
#include “GameAboutScene.h“
#include “GameDataDb.h“
#include “GameDefines.h“
#include “EasyJs.h“
#include “generated/jsb_cocos2dx_studio_auto.hpp“
#include “jsb_cocos2dx_studio_manual.h“
#include “js_bindings_system_registration.h“
USING_NS_CC;
using namespace std;
using namespace CocosDenshion;
namespace
{
JSBool cpp_NotifyLoadResFinish(JSContext *cx uint32_t argc jsval *vp)
{
AppDelegate *pApp = NULL;
jsval *argv = JS_ARGV(cx vp);
JSBool ok = JS_TRUE;
if (argc == 1)
{
cocos2d::CCNode* arg0;
do
{
if (!argv[0].isPrimitive())
{
ok = JS_FALSE;
break;
}
pApp = (AppDelegate *)(void *)JS::CREADJSVAL(JS::CEasyJs::shareEasyJs()->getJsContext() argv[0]);
} while (false);
}
if (NULL != pApp)
{
IGameAppScene *pIAppScane = (IGameAppScene *)pApp;
pIAppScane->onResLoadFinish();
}
//F();
return JS_TRUE;
}
JSBool cpp_TestFunction(JSContext *cx uint32_t argc jsval *vp)
{
int a = 0;
++a;
return JS_TRUE;
}
}
AppDelegate::AppDelegate()
{
}
AppDelegate::~AppDelegate()
{
}
bool AppDelegate::applicationDidFinishLaunching() {
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 4608 2017-12-07 13:48 SuperMario\.vs\SuperMario\v15\.suo
文件 262144 2017-12-07 13:48 SuperMario\.vs\SuperMario\v15\Browse.VC.db
文件 13668 2017-04-09 01:27 SuperMario\Classes\AppDelegate.cpp
文件 2072 2017-04-09 01:28 SuperMario\Classes\AppDelegate.h
文件 2944 2016-03-01 11:56 SuperMario\Classes\AppMacros.h
文件 4845 2016-01-10 00:09 SuperMario\Classes\Array.h
文件 2174 2016-02-28 19:44 SuperMario\Classes\Calculate.h
文件 26217 2014-12-11 11:53 SuperMario\Classes\CCScale9Sprite.cpp
文件 12412 2016-04-01 19:33 SuperMario\Classes\CCScale9Sprite.h
文件 2346 2016-05-20 13:58 SuperMario\Classes\EasyJs.cpp
文件 1033 2016-08-05 13:46 SuperMario\Classes\EasyJs.h
文件 460 2016-04-14 13:22 SuperMario\Classes\EventConnect.cpp
文件 263 2016-04-14 13:19 SuperMario\Classes\EventConnect.h
文件 2122 2016-08-08 21:50 SuperMario\Classes\GameAboutScene.cpp
文件 555 2016-04-04 23:01 SuperMario\Classes\GameAboutScene.h
文件 5722 2016-02-28 19:45 SuperMario\Classes\GameAutoLadder.cpp
文件 1013 2016-02-21 15:19 SuperMario\Classes\GameAutoLadder.h
文件 3402 2016-05-05 21:04 SuperMario\Classes\GameBadMonster.cpp
文件 729 2016-02-21 19:00 SuperMario\Classes\GameBadMonster.h
文件 12517 2016-04-18 14:05 SuperMario\Classes\Gameba
文件 3751 2016-04-04 12:32 SuperMario\Classes\Gameba
文件 836 2016-02-28 14:56 SuperMario\Classes\GameBreakBlock.cpp
文件 472 2015-12-28 21:22 SuperMario\Classes\GameBreakBlock.h
文件 2436 2016-04-07 13:56 SuperMario\Classes\GameDataDb.cpp
文件 369 2016-04-07 13:03 SuperMario\Classes\GameDataDb.h
文件 2517 2016-04-06 09:03 SuperMario\Classes\GameDefines.h
文件 3768 2016-04-18 12:48 SuperMario\Classes\GameDeviceModel.cpp
文件 962 2016-01-07 00:22 SuperMario\Classes\GameDeviceModel.h
文件 2846 2016-04-13 13:13 SuperMario\Classes\GameEnums.h
文件 436 2016-02-28 14:56 SuperMario\Classes\GameFoodSprite.cpp
............此处省略143个文件信息
- 上一篇:基于STM32的GPS定位接收显示
- 下一篇:tcpip筛选添加端口批处理.rar
相关资源
- 超级玛丽游戏C源码 完整源程序
- as3.0超级玛丽源码
- 完整的RPG游戏源代码
- cocos2d-x完整RPG游戏源代码
- 安卓数独游戏源代码直接用
- Pygame游戏源代码:坦克大战
- 数字魔板游戏源代码
- 坦克大战游戏源代码
- QT-玛丽奥医生的源代码
- 开源的超级玛丽源代码
- j2me挖金矿游戏源代码
- Qt写的网络版五子棋游戏源代码
- Qt写的单机版的五子棋游戏源代码
- marionettejs实现todoMVC
- Flash拼图游戏源代码
- 易语言战斗回合制游戏源代码
- 小游戏-接苹果游戏源代码
- Kinect for windows 破解 一,简单的体感超
- Web实现随机打猎小游戏源代码
- 人工智能之五子棋小游戏
- 幸运转盘微信小游戏源代码
- 联机版井字棋游戏源代码
- 超级玛丽素材
- 贪吃蛇游戏源代码netbeans5.5.1
- 纵横四海文字游戏源代码
- Pygame游戏源代码:网络版双人对战贪
- 超级玛丽源代码
- 超级玛丽源码
- 超级玛丽完整素材
- 游戏编程笔记-起步3-贪吃蛇游戏源代
评论
共有 条评论