Soumettre la recherche
Mettre en ligne
iOS Gaming with Cocos2d
•
Télécharger en tant que PPTX, PDF
•
4 j'aime
•
1,660 vues
Nguyen Duc Phu
Suivre
Technologie
Design
Signaler
Partager
Signaler
Partager
1 sur 49
Télécharger maintenant
Recommandé
Cocos2d実践編 1.0.0rc
Cocos2d実践編 1.0.0rc
Yuichi Higuchi
Est 8 2 nd
Est 8 2 nd
Akshay Sharma
Better performance through Superscalarity
Better performance through Superscalarity
Mårten Rånge
Layer 2221 1 Subidazbuka
Layer 2221 1 Subidazbuka
wnal
Hanoi php day 2008 - 02. phan thai trung - drupal
Hanoi php day 2008 - 02. phan thai trung - drupal
Nguyen Duc Phu
05 - Phan Thai Trung - Tu dong dat hang tu he thong ban le lon nhat Trung Quoc
05 - Phan Thai Trung - Tu dong dat hang tu he thong ban le lon nhat Trung Quoc
Nguyen Duc Phu
8 - Javascript unit testing framework
8 - Javascript unit testing framework
Nguyen Duc Phu
Hanoi php day 2008 - 03. dang minh tuan - html, css, javascript
Hanoi php day 2008 - 03. dang minh tuan - html, css, javascript
Nguyen Duc Phu
Recommandé
Cocos2d実践編 1.0.0rc
Cocos2d実践編 1.0.0rc
Yuichi Higuchi
Est 8 2 nd
Est 8 2 nd
Akshay Sharma
Better performance through Superscalarity
Better performance through Superscalarity
Mårten Rånge
Layer 2221 1 Subidazbuka
Layer 2221 1 Subidazbuka
wnal
Hanoi php day 2008 - 02. phan thai trung - drupal
Hanoi php day 2008 - 02. phan thai trung - drupal
Nguyen Duc Phu
05 - Phan Thai Trung - Tu dong dat hang tu he thong ban le lon nhat Trung Quoc
05 - Phan Thai Trung - Tu dong dat hang tu he thong ban le lon nhat Trung Quoc
Nguyen Duc Phu
8 - Javascript unit testing framework
8 - Javascript unit testing framework
Nguyen Duc Phu
Hanoi php day 2008 - 03. dang minh tuan - html, css, javascript
Hanoi php day 2008 - 03. dang minh tuan - html, css, javascript
Nguyen Duc Phu
JVM code reading -- C2
JVM code reading -- C2
ytoshima
More than po: Debugging in LLDB
More than po: Debugging in LLDB
Michele Titolo
Cocos2d for beginners
Cocos2d for beginners
Azukisoft Pte Ltd
Box2D with SIMD in JavaScript
Box2D with SIMD in JavaScript
Intel® Software
The bytecode gobbledygook
The bytecode gobbledygook
Raimon Ràfols
Android Developer Days: Increasing performance of big arrays processing on An...
Android Developer Days: Increasing performance of big arrays processing on An...
Stanfy
飛び道具ではないMetal #iOSDC
飛び道具ではないMetal #iOSDC
Shuichi Tsutsumi
Parallel Futures of a Game Engine
Parallel Futures of a Game Engine
Johan Andersson
Hot Code is Faster Code - Addressing JVM Warm-up
Hot Code is Faster Code - Addressing JVM Warm-up
Mark Price
Basics cocos2d
Basics cocos2d
sagaroceanic11
cocos2d for i Phoneの紹介
cocos2d for i Phoneの紹介
Jun-ichi Shinde
Unity workshop
Unity workshop
fsxflyer789Productio
More than `po`: Debugging in lldb
More than `po`: Debugging in lldb
Michele Titolo
C language in our world 2017
C language in our world 2017
Juraj Michálek
Android game engine
Android game engine
Julian Chu
Cocos2d 소개 - Korea Linux Forum 2014
Cocos2d 소개 - Korea Linux Forum 2014
Changwon National University
Android location services from social networks to games
Android location services from social networks to games
Don Park
Objective-Cひとめぐり
Objective-Cひとめぐり
Kenji Kinukawa
Game development with Cocos2d
Game development with Cocos2d
Vinsol
Android Things
Android Things
Egor Andreevich
Hanoi php day 2008 - 05. nguyen hai nhat huy - building-restful-web-service-w...
Hanoi php day 2008 - 05. nguyen hai nhat huy - building-restful-web-service-w...
Nguyen Duc Phu
Hanoi php day 2008 - 01.pham cong dinh - how.to.build.your.own.framework
Hanoi php day 2008 - 01.pham cong dinh - how.to.build.your.own.framework
Nguyen Duc Phu
Contenu connexe
Similaire à iOS Gaming with Cocos2d
JVM code reading -- C2
JVM code reading -- C2
ytoshima
More than po: Debugging in LLDB
More than po: Debugging in LLDB
Michele Titolo
Cocos2d for beginners
Cocos2d for beginners
Azukisoft Pte Ltd
Box2D with SIMD in JavaScript
Box2D with SIMD in JavaScript
Intel® Software
The bytecode gobbledygook
The bytecode gobbledygook
Raimon Ràfols
Android Developer Days: Increasing performance of big arrays processing on An...
Android Developer Days: Increasing performance of big arrays processing on An...
Stanfy
飛び道具ではないMetal #iOSDC
飛び道具ではないMetal #iOSDC
Shuichi Tsutsumi
Parallel Futures of a Game Engine
Parallel Futures of a Game Engine
Johan Andersson
Hot Code is Faster Code - Addressing JVM Warm-up
Hot Code is Faster Code - Addressing JVM Warm-up
Mark Price
Basics cocos2d
Basics cocos2d
sagaroceanic11
cocos2d for i Phoneの紹介
cocos2d for i Phoneの紹介
Jun-ichi Shinde
Unity workshop
Unity workshop
fsxflyer789Productio
More than `po`: Debugging in lldb
More than `po`: Debugging in lldb
Michele Titolo
C language in our world 2017
C language in our world 2017
Juraj Michálek
Android game engine
Android game engine
Julian Chu
Cocos2d 소개 - Korea Linux Forum 2014
Cocos2d 소개 - Korea Linux Forum 2014
Changwon National University
Android location services from social networks to games
Android location services from social networks to games
Don Park
Objective-Cひとめぐり
Objective-Cひとめぐり
Kenji Kinukawa
Game development with Cocos2d
Game development with Cocos2d
Vinsol
Android Things
Android Things
Egor Andreevich
Similaire à iOS Gaming with Cocos2d
(20)
JVM code reading -- C2
JVM code reading -- C2
More than po: Debugging in LLDB
More than po: Debugging in LLDB
Cocos2d for beginners
Cocos2d for beginners
Box2D with SIMD in JavaScript
Box2D with SIMD in JavaScript
The bytecode gobbledygook
The bytecode gobbledygook
Android Developer Days: Increasing performance of big arrays processing on An...
Android Developer Days: Increasing performance of big arrays processing on An...
飛び道具ではないMetal #iOSDC
飛び道具ではないMetal #iOSDC
Parallel Futures of a Game Engine
Parallel Futures of a Game Engine
Hot Code is Faster Code - Addressing JVM Warm-up
Hot Code is Faster Code - Addressing JVM Warm-up
Basics cocos2d
Basics cocos2d
cocos2d for i Phoneの紹介
cocos2d for i Phoneの紹介
Unity workshop
Unity workshop
More than `po`: Debugging in lldb
More than `po`: Debugging in lldb
C language in our world 2017
C language in our world 2017
Android game engine
Android game engine
Cocos2d 소개 - Korea Linux Forum 2014
Cocos2d 소개 - Korea Linux Forum 2014
Android location services from social networks to games
Android location services from social networks to games
Objective-Cひとめぐり
Objective-Cひとめぐり
Game development with Cocos2d
Game development with Cocos2d
Android Things
Android Things
Plus de Nguyen Duc Phu
Hanoi php day 2008 - 05. nguyen hai nhat huy - building-restful-web-service-w...
Hanoi php day 2008 - 05. nguyen hai nhat huy - building-restful-web-service-w...
Nguyen Duc Phu
Hanoi php day 2008 - 01.pham cong dinh - how.to.build.your.own.framework
Hanoi php day 2008 - 01.pham cong dinh - how.to.build.your.own.framework
Nguyen Duc Phu
13 social network game
13 social network game
Nguyen Duc Phu
12 trung-oss-magento-overview
12 trung-oss-magento-overview
Nguyen Duc Phu
11 building joomla! extensions with flex integration
11 building joomla! extensions with flex integration
Nguyen Duc Phu
10 su dung drupal xay dung mang xa hoi
10 su dung drupal xay dung mang xa hoi
Nguyen Duc Phu
09 html5 css3-the_future_of_web_technology
09 html5 css3-the_future_of_web_technology
Nguyen Duc Phu
07 build your-own_php_extension
07 build your-own_php_extension
Nguyen Duc Phu
04 web optimization
04 web optimization
Nguyen Duc Phu
02 vng thanhnt-speedup_ntvv2_by_ph_pextmodule_
02 vng thanhnt-speedup_ntvv2_by_ph_pextmodule_
Nguyen Duc Phu
01 zingme practice for building scalable website with php
01 zingme practice for building scalable website with php
Nguyen Duc Phu
14 how startups can benefit from launch community
14 how startups can benefit from launch community
Nguyen Duc Phu
Hanoi PHP Day 2008 - 04 - Nguyen Duc Phu - Search Engine: New Collection S...
Hanoi PHP Day 2008 - 04 - Nguyen Duc Phu - Search Engine: New Collection S...
Nguyen Duc Phu
Plus de Nguyen Duc Phu
(13)
Hanoi php day 2008 - 05. nguyen hai nhat huy - building-restful-web-service-w...
Hanoi php day 2008 - 05. nguyen hai nhat huy - building-restful-web-service-w...
Hanoi php day 2008 - 01.pham cong dinh - how.to.build.your.own.framework
Hanoi php day 2008 - 01.pham cong dinh - how.to.build.your.own.framework
13 social network game
13 social network game
12 trung-oss-magento-overview
12 trung-oss-magento-overview
11 building joomla! extensions with flex integration
11 building joomla! extensions with flex integration
10 su dung drupal xay dung mang xa hoi
10 su dung drupal xay dung mang xa hoi
09 html5 css3-the_future_of_web_technology
09 html5 css3-the_future_of_web_technology
07 build your-own_php_extension
07 build your-own_php_extension
04 web optimization
04 web optimization
02 vng thanhnt-speedup_ntvv2_by_ph_pextmodule_
02 vng thanhnt-speedup_ntvv2_by_ph_pextmodule_
01 zingme practice for building scalable website with php
01 zingme practice for building scalable website with php
14 how startups can benefit from launch community
14 how startups can benefit from launch community
Hanoi PHP Day 2008 - 04 - Nguyen Duc Phu - Search Engine: New Collection S...
Hanoi PHP Day 2008 - 04 - Nguyen Duc Phu - Search Engine: New Collection S...
Dernier
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
Neo4j
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
Ingrid Airi González
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
BookNet Canada
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architectures
Bernd Ruecker
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024
TopCSSGallery
How to write a Business Continuity Plan
How to write a Business Continuity Plan
Databarracks
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
LoriGlavin3
A Framework for Development in the AI Age
A Framework for Development in the AI Age
Cprime
2024 April Patch Tuesday
2024 April Patch Tuesday
Ivanti
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
UiPathCommunity
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
Kaya Weers
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
itnewsafrica
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
Inflectra
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
LoriGlavin3
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
marketing932765
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
Mydbops
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
LoriGlavin3
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
LoriGlavin3
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
fnnc6jmgwh
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
LoriGlavin3
Dernier
(20)
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architectures
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024
How to write a Business Continuity Plan
How to write a Business Continuity Plan
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
A Framework for Development in the AI Age
A Framework for Development in the AI Age
2024 April Patch Tuesday
2024 April Patch Tuesday
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
iOS Gaming with Cocos2d
1.
iOS gaming with
cocos2d Prepared by Ngo Duc Hiep Copyright 2011 PTT Solution ., JSC. All rights reserved. Hanoi, May 2011
2.
iOS game engines
cocos2d Sparrow Galaxy oolong
3.
iOS game engines
Game salad Corona Unity iTorque
4.
iOS game engines
http://maniacdev.com/2011/01/open-source-and-commercial-ios-game-engine-listings-updated/ http://maniacdev.com/2009/09/the-commercial-iphone-game-engine-comparison-3d-and-2d/
5.
cocos2d games Tap
Pet Hotel: #1 Free Zombie Farm: #6 Free Tap Zoo: #2 Free iStunt 2: #6 Free
6.
cocos2d games ZombieSmash:
#1 Paid Air Penguin: #1 Paid Trainyard: #2 Paid Fishing Frenzy: #7 Paid
7.
cocos2d
8.
App workflow Settings
Loading Home Game Play Leaderboard
9.
10.
[[CCDirectorsharedDirector] replaceScene:home];
11.
12.
13.
isAccelerometerEnabled_Game controller Mange
game entities - CCNode
14.
15.
Schedule timer
16.
Play actions
17.
18.
CCNode: Coordinate contentSize.width
contentSize.height
19.
CCNode: Coordinate anchorPoint
rotation position
20.
CCNode: Coordinate
21.
CCNode: Transformation -
(CGAffineTransform)nodeToParentTransform; - (CGAffineTransform)parentToNodeTransform; - (CGAffineTransform)nodeToWorldTransform; - (CGAffineTransform)worldToNodeTransform; - (CGPoint)convertToNodeSpace:(CGPoint)worldPoint; - (CGPoint)convertToWorldSpace:(CGPoint)nodePoint;
22.
CCNode: Actions Modify
node’s attributes by time position/rotation/scale/opacity/grid Interval actions and Instant actions
23.
CCNode: Actions CCMove_
CCJump_ CCBezier_ CCScale_ CCRotate_ CCFade_
24.
25.
CCEaseExponential_
26.
CCEaseSine_
27.
CCEaseElastic_
28.
29.
CCNode: 3D Effects
CCFlipX3D/CCFlipY3D CCWaves3D CCRipple3D CCSplitRows …
30.
CCSprite: Animation
31.
CCSprite: Animation
32.
CCNode: Scheduler -(void)
schedule: (SEL) s interval:(ccTime)seconds; -(void) unschedule: (SEL) s; -(void) pauseSchedulerAndActions; -(void) resumeSchedulerAndActions;
33.
Touch Dispathcher CCTouchDispathcher
-(void) addStandardDelegate:(id) delegate priority:(int)priority; -(void) addTargetedDelegate:(id) delegate priority:(int)priority swallowsTouches:(BOOL)swallowsTouches; -(void) removeDelegate:(id) delegate;
34.
Box2D
35.
36.
cocos2d Box2D
Body, joint, fixture user data for (b2Body* b = world->GetBodyList(); b; b = b->GetNext()) { if (b->GetUserData() != NULL) { CCSprite *actor = (CCSprite*)b->GetUserData(); actor.position = CGPointMake( b->GetPosition().x , b->GetPosition().y); actor.rotation = -b->GetAngle() * 180 / M_PI; } }
37.
38.
b2CarWheel1
39.
b2CarWhell2
40.
b2CarJoint1
41.
42.
43.
44.
45.
46.
CCComponent Independent, portable
States control Data driven Callbacks Physics support Composition
47.
CCComponent Data Texture
file Texture def file Component def file States Childs
48.
CCComponent States Animate
frames Rotate Scale Fade
49.
CCComponent Lion_jump_1.png Lion_jump_2.png
Lion_jump_4.png Lion_jump_3.png
50.
CCComponent Lion “jump”
state: key=Lion_jump_ type=frame startframe=1 endframe=4 duration=0.1 forever=NO lion.state = @”jump”;
51.
CCComponent - (void)
setState:(NSString *) state; - (void) setState:(NSString *) state target:(NSString *) target selector:(SEL) selector; - (void) spawnStates:(NSString *) state1,…; - (void)setStateSequence:(NSString *) state1, …;
52.
53.
54.
55.
- (CGPoint) pointForTouch:(UITouch
*) touch;
56.
- (CCNode *)
getActorAtPoint:(CGPoint) pos;
57.
58.
Texture: texturetool, TexturePacker,
Zwoptex Tile map editor: Tiled SVG editor: Inkscape, svg-edit Level design Particle: Particle Designer Font editor: Hiero Audio: Audacity 3D: Blender
59.
Learning resources
60.
http://cs193p.stanford.edu https://developer.apple.com/itunes/?destination=adc.apple.com.4092414566 http://www.71squared.com/
http://www.raywenderlich.com/ http://iphonedevelopment.blogspot.com/ http://maniacdev.com http://iphonedev.net/ http://www.learn-cocos2d.com/ http://cocoawithlove.com/ https://github.com/hiepnd
61.
Demo & QA
Télécharger maintenant