资源简介
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
相关资源
- linux应用层的华容道游戏源代码
- 拼图游戏源代码 powerbuilder 9.0实例
- 超级玛丽scratch源代码.sb2
- scratch写的超级玛丽.sb2
- 祖玛游戏源代码快下吧快快
- Cocos Creator 实现的超级玛丽小游戏de
- 超级玛丽flash源文件 fla 格式
- Cocos2dx游戏源代码《萝莉快跑》
- flash祖玛游戏源代码244940
- 超级玛丽可执行程序
- cocos2dx 3.3 跑酷游戏源代码和资源
- win ce 5.0下推箱子游戏源代码
- 3D OPENGL 飞行游戏源代码
- flash打地鼠游戏源代码
- 超级玛丽源代码资源包
- Pygame游戏源代码:超级玛丽
- 抢车位游戏源代码
- STM32上实现的超级玛丽源码
- 趣味桌球小游戏源代码
- 游戏源代码RPG 游戏
- 各种游戏源代码
- Pygame游戏源代码:超级玛丽.rar
- Flash祖玛游戏源代码
- Win32 挖金矿游戏源代码
- 祖玛游戏源代码
- 微信跳一跳小游戏源代码
- Cocos2d-x《大抗战》塔防射击游戏源代
- cocos2dx 大鱼吃小鱼游戏源代码
- 数独游戏源代码
- 生命游戏源代码
评论
共有 条评论