Hi,
I am new to cocos creator. I wanted to know how to integrate Ads in cocos creator for Facebook instant store. I mean do i need to add some javascript ads sdk? Please help.
Facebook Instant Games is running in a normal webpage. So you can modify the html file generated by Creator to inject any SDK script as needed. You can search the Facebook Ads for web and follow the standard steps to integrate.
看到了就赶紧抓住问个问题
creator的渲染节点遍历,是深度优先还是广度优先。测了几个demo,数据有点怪怪的,不符合理论。不太明白复杂结构 prefab 的drawcall合并。
另外creator能否提供flash,白鹭类似的 cacheAsBitmap 来自动管理drawcall合并,特别是文本
我们也经常觉得测试出来的数据不准确,2.0 的 drawcall 合并不是最优版本,我们还会持续优化。你可以参考 render-flow.js 中的 _children 函数,现在是深度优先。之后我们会类似 bake 的功能来优化 2D 游戏的。