Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Under Cocos2D Tree @mdvecon 2013

394 views

Published on

  • Be the first to comment

  • Be the first to like this

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

×