The cocos2d Tips & Tricks

本书是一本问题/解决方案风格的书籍,包含了来自cocos2d社区的最佳实践、技巧和窍门。以易于使用且组织良好的格式呈现,帮助新老开发者解决常见问题,如避免启动时闪烁、使EAGLView透明以及处理触摸坐标等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

The cocos2d Tips & Tricks is a problem / solution style book of “recipes” that can help the new and experienced cocos2d developer. It is a collection of the best practices, tips and tricks from the cocos2d community presented in an easy to use, organized format.

If you want to add a recipe to the Tips & Tricks, read here and you'll find the template and some brief instructions.
Director

*
How to avoid the flicker at startup
*
Making the EAGLView transparent to render it as a UIImagePickerController's overlay (Augmented Reality)

Layers and Scenes

*
Getting correct touch coordinates when moving/scaling camera (Landscape)
*
Choosing between the two types of touch delegates

Tile Maps

*
Gaps and artifacts in Tile Maps

UIKit

*
Integrating cocos2d with UIKit objects

Accelerometer

*
Using Accelerometer for Sprite Movement

Widgets

*
Coding a slider-type control as menu item

Flash Developers

*
General Guidelines for Flash developers
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值