Cocos2D Game
  Programming

         Dong Gyu PARK
2012. April( dongupak@gmail.com )




   ETID at Texas A&M University
Let’s Talk About GAME.
Fun of GAME
• Why are you playing Game?
 • It’s just FUN!
Why people playing GAME?




http://digi-boom.blogspot.com/2011/02/why-do-people-play-games.html
Game is the most popular
              category




http://www.marketingcharts.com/direct/games-leading-mobile-app-category-18209/nielsen-
                     most-popular-mobile-app-categories-jul11gif/
Game Developer
• Fluent in Programming
• Basic 2D/3D linear algebra
• Software Engineering
• Tools-Graphical Tools, Sound Tools, Map
  Editing Tools, etc
• Good Storytelling
Game Development Step

• Pre-Production Planning
 • plan out all the ideas and story elements
• Development
 • art-team, program-team, sound-team,
    design-team, coordination,...
• Post-Production-marketing, testing
• Upgrade and Debug
Pre-production
Pre-production
•   Make a demo version(prototype)
    •   Very important process before programmers and designers
Development
Post-production




Sometimes post-production needs more time than
                 development
Release
Marketing & Testing
Portfolios
Shake Series
• Shaking App using accelerometer sensor
• 4 Players can play
• Fun Sounds
• Lightweight App
• Game Center available
• Cocos2d game development kit
Shake Series
Coke Shake
Action Game
Monster Buster ver 2
Features

• Monster Characters
• Shooting Effect
• Many Shooting Items
• Stages and various backgrounds
• Level design using plist
Features
Hit Effect

Game Item


Weapons
Game Level Design using
   Plist(meta data)

                 Stage 1


                 Stage 2


                 Stage 3
Game Code
Game Dev Tips


• Separate your code from your data
 • Easy way to porting, upgrading,
    debugging, etc
And more




player can move the character using accelerometer
Development of Game
      Contents
Independent Developer
• Minimum Budgets
• High Quality Design Source
• Sound Source
• Programming and Testing
• Marketing
• All by YOURSELF!!
Bubble ball
Ready for
    Game Development
• You already have programming skills
• You probably love games
 • Understanding of Storytelling
• You learned OpenGL
• and some mathematical backgrounds...
History
Early Game




Tennis For Two(1958)
PC Game
Mobile Game
AR Game : AR Defender
                                      AR defense - tracking by
                                        camera and marker




http://www.youtube.com/watch?v=rB5xUStsUs4&feature=player_embedded
Look-up




Team play is available

       http://www.youtube.com/watch?v=bps3FkX-_cY&feature=player_embedded
Successful Mobile Game
•   The game has to be easy to learn and understand

    •   people to not spend much time to learn
        mobile games
•   Little input, Big output
    •   Simple but huge amount of feedbacks
•   Physics based gameplay
    •   physics give much variations on same input
Successful Mobile Game

• A bright, cartoony, and cute visual style
• Very simple storyline
• The player is constantly rewarded
• Huge amount of levels but very short to
  play
• Provides users ranking

Cocos2d game programming 1