Create compelling 2D games with Learn cocos2d Game Development with iOS 5. This book shows you how to use the powerful cocos2d game engine to develop games for iPhone and iPad with tilemaps, virtual joypads, Game Center, and more. It teaches you: The process and best practices of mobile game development, including sprite batching, texture atlases, parallax scrolling, touch and accelerometer input. How to enhance your games using the Box2D and Chipmunk physics engines and other cocos2d-related tools and libraries. How to add UIKit views to cocos2d and how to add cocos2d to UIKit apps. The ins and outs of the Kobold2D development environment for cocos2d and its preconfigured libraries, including cocos3d and Lua. Best of all, Learn cocos2d Game Development with iOS 5 will have you making games right from the very start. It guides you step-by-step through the creation of sample games. These fun examples are modeled after popular App Store games and teach you key concepts of the cocos2d game engine and relevant tools like TexturePacker (texture atlas), PhysicsEditor (physics collision shapes), Particle Designer (particle effects), Glyph Designer (bitmap fonts), and others. This book offers a rock-solid introduction to creating games made entirely with cocos2d and little or no iOS 5 SDK and OpenGL code. It also details alternative implementations, identifies the best free and commercial tools for cocos2d game development, features coverage of the author’s improved cocos2d game engine (Kobold2D), and even helps you enhance your game’s marketability on the App Store. What you’ll learn The process and best practices of mobile game development, including sprite batching, texture atlases, parallax scrolling, touch and accelerometer input. How to enhance your games using the Box2D and Chipmunk physics engines and other cocos2d-related tools and libraries. How to add UIKit views to cocos2d and how to add cocos2d to UIKit apps. The ins and outs of the Kobold2D development environment for cocos2d and its preconfigured libraries, including cocos3d and Lua. Who this book is for The book is aimed at beginning game developers looking for an easier and even more powerful way to create compelling 2D graphics using OpenGL and Objective-C. It is assumed that the reader will have some knowledge of object-oriented programming and the Apple and iPhone/iPad developer environment. Table of Contents Introduction Getting Started Essentials Your First Game Game Building Blocks Sprites In-Depth Scrolling with Joy Shoot ’em Up Particle Effects Working with Tilemaps Isometric Tilemaps Physics Engines Pinball Game Game Center Best Tools for cocos2D Development Kobold2D Fundamentals Out of the Ordinary
Create compelling 2D games with Learn cocos2d Game Development with iOS 5. This book shows you how to use the powerful cocos2d game engine to develop games for iPhone and iPad with tilemaps, virtual joypads, Game Center, and more.
It teaches you:
- The process and best practices of mobile game development, including sprite batching, texture atlases, parallax scrolling, touch and accelerometer input.
- How to enhance your games using the Box2D and Chipmunk physics engines and other cocos2d-related tools and libraries.
- How to add UIKit views to cocos2d and how to add cocos2d to UIKit apps.
- The ins and outs of the Kobold2D development environment for cocos2d and its preconfigured libraries, including cocos3d and Lua.
Best of all, Learn cocos2d Game Development with iOS 5 will have you making games right from the very start. It guides you step-by-step through the creation of sample games. These fun examples are modeled after popular App Store games and teach you key concepts of the cocos2d game engine and relevant tools like TexturePacker (texture atlas), PhysicsEditor (physics collision shapes), Particle Designer (particle effects), Glyph Designer (bitmap fonts), and others.
This book offers a rock-solid introduction to creating games made entirely with cocos2d and little or no iOS 5 SDK and OpenGL code. It also details alternative implementations, identifies the best free and commercial tools for cocos2d game development, features coverage of the authorâs improved cocos2d game engine (Kobold2D), and even helps you enhance your gameâs marketability on the App Store.
What youâll learn
- The process and best practices of mobile game development, including sprite batching, texture atlases, parallax scrolling, touch and accelerometer input.
- How to enhance your games using the Box2D and Chipmunk physics engines and other cocos2d-related tools and libraries.
- How to add UIKit views to cocos2d and how to add cocos2d to UIKit apps.
- The ins and outs of the Kobold2D development environment for cocos2d and its preconfigured libraries, including cocos3d and Lua.
Who this book is forThe book is aimed at beginning game developers looking for an easier and even more powerful way to create compelling 2D graphics using OpenGL and Objective-C. It is assumed that the reader will have some knowledge of object-oriented programming and the Apple and iPhone/iPad developer environment.
Table of Contents
- Introduction
- Getting Started
- Essentials
- Your First Game
- Game Building Blocks
- Sprites In-Depth
- Scrolling with Joy
- Shoot âem Up
- Particle Effects
- Working with Tilemaps
- Isometric Tilemaps
- Physics Engines
- Pinball Game
- Game Center
- Best Tools for cocos2D Development
- Kobold2D Fundamentals
- Out of the Ordinary
Annotation Create compelling 2D games withLearn cocos2d Game Development with iOS 5. This book shows you how to use the powerful cocos2d game engine to develop games for iPhone and iPad with tilemaps, virtual joypads, Game Center, and more. It teaches you:The process and best practices of mobile game development, including sprite batching, texture atlases, parallax scrolling, touch and accelerometer input. How to enhance your games using the Box2D and Chipmunk physics engines and other cocos2d-related tools and libraries. How to add UIKit views to cocos2d and how to add cocos2d to UIKit apps. The ins and outs of the Kobold2D development environment for cocos2d and its preconfigured libraries, including cocos3d and Lua. Best of all, Learn cocos2d Game Development with iOS 5will have you making games right from the very start. It guides you step-by-step through the creation of sample games. These fun examples are modeled after popular App Store games and teach you key concepts of the cocos2d game engine and relevant tools like TexturePacker (texture atlas), PhysicsEditor (physics collision shapes), Particle Designer (particle effects), Glyph Designer (bitmap fonts), and others. This book offers a rock-solid introduction to creating games made entirely with cocos2d and little or no iOS 5 SDK and OpenGL code. It also details alternative implementations, identifies the best free and commercial tools for cocos2d game development, features coverage of the authors improved cocos2d game engine (Kobold2D), and even helps you enhance your games marketability on the App Store. What youll learnThe process and best practices of mobile game development, including sprite batching, texture atlases, parallax scrolling, touch and accelerometer input. How to enhance your games using the Box2D and Chipmunk physics engines and other cocos2d-related tools and libraries. How to add UIKit views to cocos2d and how to add cocos2d to UIKit apps. The ins and outs of the Kobold2D development environment for cocos2d and its preconfigured libraries, including cocos3d and Lua. Who this book is forThe book is aimed at beginning game developers looking for an easier and even more powerful way to create compelling 2D graphics using OpenGL and Objective-C. It is assumed that the reader will have some knowledge of object-oriented programming and the Apple and iPhone/iPad developer environment. Table of ContentsIntroductionGetting StartedEssentialsYour First GameGame Building BlocksSprites In-DepthScrolling with JoyShoot em UpParticle EffectsWorking with TilemapsIsometric TilemapsPhysics EnginesPinball GameGame CenterBest Tools for cocos2D DevelopmentKobold2D FundamentalsOut of the Ordinary Learn cocos2d Game Development with iOS 5 provides a rock-solid introduction to the cocos2d iPhone and iPad game apps engine and related tools. It focuses on the process of creating several game apps made entirely using cocos2d with little or no use of the iOS 5 SDK and OpenGL code. By creating 2-3 sample game apps while working through the book, you'll learn key concepts of the cocos2d game engine and relevant tools like Zwoptex (TextureAtlas), ParticleDesigner (particle effects), and others. The example games are modeled after popular App Store games, so they're relevant, recognizable, and immediately fun and inspiring. The games increase in complexity and highlight common questions for cocos2d beginners. As you advance, you'll learn how to successfully avoid common stumbling blocks. You'll also encounter general game programming wisdom, tips for performance improvement, as well as pointers for alternative implementations and further reading. It is assumed that the reader has previous programming knowledge, though not necessarily with Objective-C. Related topics such as Xcode, Objective-C 2.0, the iOS 5 SDK, and OpenGL are only discussed where absolutely necessary. This book also features new related tools, including the new Kobold2D project