1 / 24

iPhone Game Development

iPhone Game Development. By Andres Acevedo Undergrad Student, College of Arts and Sciences University of Miami. Introduction Previous knowledge in Java Idea of creating a game What type of game? What do I need to do that?. Introduction (cont) iPhone Game Development To overcome:

gwylan
Download Presentation

iPhone Game Development

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. iPhone Game Development By Andres Acevedo Undergrad Student, College of Arts and Sciences University of Miami

  2. Introduction • Previous knowledge in Java • Idea of creating a game • What type of game? • What do I need to do that?

  3. Introduction (cont) • iPhone Game Development • To overcome: • No Macintosh • No previous knowledge in iPhone development • No knowledge in objective-C programming

  4. Structure of Presentation • Part I: Hardware requirements and possible solutions • Part II: Setting up projects using Xcode SDK and Interface Builder • Part III: Cocos2D Framework for developing iPhone games

  5. Part I Hardware requirement (and Possible solutions) • Development must be done in a Macintosh machine • Intel based Processor • Updated version of OS X • Leopard (10.5.7) or later to install SDK

  6. Web based application frameworks • Phonegap & Appcelerator • HTML, Javascript, CSS, etc. • Install Mac OS X on my PC • OSX86 project • Multiple methods of installation Hardware requirement (and Possible solutions)

  7. Hacking Methods • Kernel Hacks • Boot loader and Emulators • Live DVD • (www.insanelymac.com) Hardware requirement (and Possible solutions)

  8. Part II Setting up projects using Xcode SDK and Interface Builder

  9. Xcode tools package • Xcode IDE • Interface Builder (IB) • iPhone Simulator Setting up projects using Xcode SDK and Interface Builder

  10. Xcode IDE • Source code supported natively: • C, C++, Fortran, objective-C, Java, AppleScript, Python and Ruby • iPhone apps: cocoa touch (objective-C language) Setting up projects using Xcode SDK and Interface Builder

  11. Cocoa touch Classes • Implementation Files • Header Files Setting up projects using Xcode SDK and Interface Builder

  12. Interface Builder • Buttons, sliders, menus, etc Setting up projects using Xcode SDK and Interface Builder

  13. iPhone Simulator • Virtual phone • No accelerometer • No camera • Note: While testing in the simulator execution time might not be the same! Setting up projects using Xcode SDK and Interface Builder

  14. When to execute actions? • Different types of touches! • Touch up inside • Touch drag outside • Touch drag exit Setting up projects using Xcode SDK and Interface Builder

  15. To consider when Writing iPhone apps • One application at a time (besides OS) • One window • Limited response time • Limited screen size and resources • Screen : 480 x 320 • Processor: 600 mhz • Memory 256 MB • Storage 32 GB Setting up projects using Xcode SDK and Interface Builder

  16. Part III Cocos2D Framework

  17. Cocos2D Key features • Transitions between scenes • Sprite & sprite sheet creation • Effects (lens, ripple, waves, twirl, etc..) • Actions (rotation, movement, rev movement) • Menus, Buttons (customized) • Particle system Cocos2D Framework

  18. Basic concepts to understand when using cocos2D • Scenes • Director • Layer • Sprites Cocos2D Framework

  19. Scene Cocos2D Framework

  20. Director Cocos2D Framework

  21. Layers Cocos2D Framework

  22. Sprites Cocos2D Framework

  23. Conclusion • Solutions to develop iPhone apps • Concepts of Xcode and Interface Builder • Cocos2D to assist game development

  24. Thank you!

More Related