Under Cocos2D Tree @mdvecon 2013

370 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
370
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
15
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Under Cocos2D Tree @mdvecon 2013

  1. 1. Under Cocos2D Tree Maxim Zaks, Wooga @iceX33
  2. 2. Agenda• Understanding the concepts behind Cocos2D• Running through implementation of a very unpolished Memory Game
  3. 3. Implementation of Memory Game1. Embedding Cocos2D2. Scenes, Transitions and Menu3. Layers and Actions4. Game Logic, Simulation & Interaction
  4. 4. Implementation of Memory Game5. Sprites and Textures6. Frame by Frame Animation7. Drawing primitives8. Particles
  5. 5. 1. Embedding Cocos2D
  6. 6. Cocoa Pods is your friend
  7. 7. Setting up window and root view controller
  8. 8. CCDirector Singleton with a lot of responsibilities• UIViewController (handles CCGLView)• Scene Manager• RunLoop Manager (Draw, Animation, Scheduler)• Interaction Manager (touchDispatcher)
  9. 9. 2. Scenes, Transitions and Menu
  10. 10. http://www.cocos2d-iphone.org/api-ref/latest-stable/interface_c_c_node.html
  11. 11. 3. Layers and Actions
  12. 12. http://blog.evergizmo.com/wp-content/uploads/2011/11/CCActions.png
  13. 13. Leaking Scenes!
  14. 14. 4. Game Logic,Simulation and Interaction
  15. 15. 5. Sprites and Textures
  16. 16. Demo TexturePacker
  17. 17. 6. Frame by Frame Animation
  18. 18. 7. Drawing Primitives
  19. 19. 8. Particles
  20. 20. DemoParticle Designer
  21. 21. Questions?
  22. 22. Thank you! Maxim Zaks @iceX33

×