cocos2dx 使用记录

cocos2dx 使用记录

CCLog 替换 cocos2d::log

CCCommon.cpp CCMessageBox 替换 MessageBox

在CCDeprecated.h 添加不到的 如CCCommon.cpp 没有结构方法 就在 cocos2d.h 引入头文件#include "platform\desktop\CCCommon.h"
 在脚本使用就 cocos2d::MessageBox


CCApplication 改为: Application

CCIMEDispatcher 改为:IMEDispatcher

CCDirector改为 Director

CCKeypadDispatcher.h
	kTypeBackClicked 是枚举1 
	kTypeMenuClicked 是枚举2

CCLOG替换为:cocos2d::log


CCPoint 叫 CCGeometry.h 实称Size

CCObject 替换为 Ref  ;C:\Work\SVN-MyPlaneWar\projects\14a-Fighter\cocos2d\cocos\2d\CCRef.h


CCEGLViewProtocol.h getDesignResolutionSize()替换为getFrameSize()

CCSet 替换为 __Set

glew_dynamic_binding() 增加为:CCGLView::glew_dynamic_binding()

CCTouchDelegateProtocol.h 位置在 C:\Work\SVN-MyPlaneWar\projects\14a-Fighter\cocos2d\cocos\2d

math.h 替换为 CCMath.h

CCArray替换为 __Array

无法解释的外部符号 错误	2940	error LNK2019: 无法解析的外部符号 "public: static void __cdecl SdkUtils::showAd(int)" (?showAd@SdkUtils@
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

AD_喵了个咪

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值