最近看到个游戏挺不错的, 想移植到 cocos2dx 上
原游戏 是opengl 编写 直接调用了 gl 底层api
我research 了下 , 除了 几个draw quad api 其他都跟 opengl es 兼容。
我想 直接创建个layer 然后重写 draw 函数 自己gl画
这样行不行?
http://www.cocoachina.com/bbs/read.php?tid-84802-keyword-opengl.html
网上有篇帖子 讲了这个 但是其还是依赖了 cocos2dx 提供的一些gl 相关api
我想问的是
我在draw 里面 完全使用 gl es 原生api 是否可以完成draw 操作。
这样做会有什么问题