升级引擎CocosUpgrade

From 3.0 To 3.5 testcase  MAC

1 删除 CCNodeRGBA

2 replace 'draw(Renderer *renderer, const kmMat4 &transform, bool transformUpdated)'

with

'draw(Renderer *renderer, const Mat4 &transform, uint32_t transformUpdated)'

3 replace 'ANIMATION_COMPLETE' with 'SP_ANIMATION_COMPLETE'

4 spine里面改了很多,导致原有逻辑要变,暂时屏蔽出错代码。

5 cocos2d::ParticleSystem需要重新确定命名空间,增加

#include"2d/CCParticleSystem.h"

#include"2d/CCParticleSystemQuad.h"

6 replace  diff = diff.normalize(); 

with

    diff = diff.getNormalized();

7  replace glview =GLView::create("Cpp Tests");

with

glview =GLViewImpl::create("Cpp Tests");

8 工程配置文件 删除libcurl.dylib, libcocos2dx-extensions MAC.a, libCocosDenshion Mac.a, libbox2d Mac.a, libchipmunk Mac.a

增加security.framework

-----------------------

IOS

1 工程配置Search Paths增加

$(SRCROOT)/../cocos2d/external/curl/include/ios

2 replace #import"CCEAGLView.h"

with

#import"platform/ios/CCEAGLView-ios.h"

3 replace

cocos2d::GLView*glview =cocos2d::GLView::createWithEAGLView(eaglView);

with

cocos2d::GLView*glview = cocos2d::GLViewImpl::createWithEAGLView(eaglView);

4 工程配置增加security.framework

-----------------------

Android

1 大量修改Android.mk文件

LOCAL_SRC_FILES内容修改

C_INCLUDE路径修改

动态库合并为一个

2 修改Application.mk文件,一些参数修改

3 修改build-cfg.json

你可能感兴趣的:(升级引擎CocosUpgrade)