- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
iOS DevCamp
Produced by CSDN
Thursday, August 2, 12
怎样灵活使用Cocos2D
秦春林
Thursday, August 2, 12
Don’t reinvent the wheel
Thursday, August 2, 12
“In the summer of 2008, several pythoneros went to a camp
program called PyCamp: Python outdoors. This camp
held in Cordoba, in the town of Los Cocos. We were about
50 people. It covered different topics, one of which was seeking
way of not having to reinvent the wheel in each jurisdiction
Pyweek.
In this way a group of friends and I decided to put together a
framework to make games. We call cocos2d, since the framework
is designed to make 2D games, and the word coconut emulates
the place where the camp took place.”
Ricardo Quesada
Thursday, August 2, 12
4,000 + games
Thursday, August 2, 12
It is free!
Without having to learn OpenGL ES to get
started
Active community tests
Lots of tools
It is Simple
Why Cocos2d?
Thursday, August 2, 12
How simple?
Thursday, August 2, 12
sprite: player
Action: CCMoveTo
layer: GameLayer
scene: GameScene
UIView:EAGLView
Thursday, August 2, 12
Game has Scenes
Each Scene has some number of Layers
Layers capture user interaction and contain
sprites
Director manages the scenes
Cocos2d Basics
Thursday, August 2, 12
Anything thats gets drawn
or contains things that get
drawn is a CCNode
Thursday, August 2, 12
CCLayer CCMenu
您可能关注的文档
最近下载
- 2025年海洋石油开采智能可穿戴设备柔性传感技术创新报告.docx
- 2025年湛江市中心人民医院医护人员招聘参考题库附答案解析.docx VIP
- S6520X-EI系列万兆交换机彩页.pdf VIP
- 新人教版高中数学选择性必修第一册全套PPT课件及配套讲义.pptx VIP
- 3.1 电离平衡 课件【新教材】人教版高中化学选择性必修一(共42张PPT).pptx VIP
- 2024年人教版必修一第二章氧化还原反应第一课时 课件 29PPT.ppt VIP
- 平面向量测试题高考经典试题附详细答案解析.doc VIP
- (高清版)T 30366-2024 生物质术语.pdf VIP
- 汽车消费复杂行为分析报告.pptx VIP
- 交通事故和解赔偿协议书范本.docx VIP
文档评论(0)