iOS Game Development with Cocos2d

5,820 views

Published on

Published in: Technology
0 Comments
7 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
5,820
On SlideShare
0
From Embeds
0
Number of Embeds
1,989
Actions
Shares
0
Downloads
0
Comments
0
Likes
7
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • iOS Game Development with Cocos2d

    1. 1. iOS Game Development
    2. 2. iOS Game Development with Cocos2d
    3. 3. http://www.eddie.com.twaquarianboy@ptteddie@digik.com.twaquarianboy@plurkeddiekao@facebook
    4. 4. Pray for the victims of the Japan Earthquake.http://www.itplanning.co.jp/
    5. 5. "It feels like we’re back in the dotcom era. Everyone wants an iPhoneapplication." Siddhart Agarwal, CEO, Mobicule
    6. 6. Today, We’ll learn...
    7. 7. Today, We’ll learn...1. setup the working environment
    8. 8. Today, We’ll learn...1. setup the working environment2. say hello to the world again.
    9. 9. Today, We’ll learn...1. setup the working environment2. say hello to the world again.3. play with sprite.(not kind of drink!)
    10. 10. Today, We’ll learn...1. setup the working environment2. say hello to the world again.3. play with sprite.(not kind of drink!)4. menu and scene
    11. 11. Before We Start..
    12. 12. Do you really need an i-devicefor developing iOS apps?
    13. 13. iPhone or iPad?
    14. 14. What’s Cocos2d?
    15. 15. Why Cocos2d?- Open source!- Language: Objective-C.- Active community and forum- Work on all Apple devices, including the mobile devices, desktop and laptop.- Awesome features: Transitions Integrated Box2d and Chipmunk 2d physics engine. Particle system. Tile Map support. Touch/Accelerometer support. ...
    16. 16. MIT License
    17. 17. 3.3.1?
    18. 18. Who uses Cocos2d?More than 1500 AppStore games already use it, including many best seller games. http://www.cocos2d-iphone.org/games/
    19. 19. Something you should know...Even Cocos2d for iPhone is a great and powerful game engine,I don’t think you’re be able to create good apps withoutlearning any knowledge of Objective-C or Cocoa Framework.
    20. 20. Download & Installhttps://github.com/cocos2d/cocos2d-iphone1. download the source code.2. unpack and enter that directory with terminal.3. ./install_template.sh -u, and...done!4. open your Xcode, you should see several cocos2d project templates.
    21. 21. Documents and References1. official website & blog2. sample code3. community and forum4. books5. read the source, luke!
    22. 22. Say hello to the world!
    23. 23. Base SDK Missing Problem?
    24. 24. Game flow new gameintro menu Level 1 Level 2 Level 3 End load game Game over options Settings
    25. 25. ArchitectureDirector Something you should know: 1. One scene can contain several Scene layer, and one layer can contain several sprites. 2. Just like the layer in Adobe Photoshop, upper layer might Layer block the lower layer. And upper layer have higher z value, you Sprite Sprite Sprite can rearrange them by changing the z value. 3. You can have more than one scene, but only one will be activated at a given time. Layer 4. There is only one director(singleton), and it takes care of going back and Layer forth between scenes. 5. They all inherited from the same boss, the CCNode.
    26. 26. CCNode
    27. 27. Live demo!
    28. 28. Looking forAS3/Ruby/Rails/iOS Developers
    29. 29. WorkingWithEddie@gmail.com
    30. 30. Thank You! 2011/3/16 Kaos’ Digital Network, Ltd. TEL +886-2-2682-4700No.26, Ln. 248, Junying St., Shulin Dist., New Taipei City 238, Taiwan (R.O.C.) Welcome to visit http://digik.tw for more information!

    ×