Cocos2d game programming 1

37
Cocos2D Game Programming Dong Gyu PARK 2012. April( [email protected] ) ETID at Texas A&M University

description

Texas A&M University의 Android Programming Class의 Guest Talk 자료입니다.

Transcript of Cocos2d game programming 1

Page 1: Cocos2d game programming 1

Cocos2D Game Programming

Dong Gyu PARK 2012. April( [email protected] )

ETID at Texas A&M University

Page 2: Cocos2d game programming 1

Let’s Talk About GAME.

Page 3: Cocos2d game programming 1

Fun of GAME

• Why are you playing Game?

• It’s just FUN!

Page 4: Cocos2d game programming 1

Why people playing GAME?

http://digi-boom.blogspot.com/2011/02/why-do-people-play-games.html

Page 6: Cocos2d game programming 1

Game Developer

• Fluent in Programming

• Basic 2D/3D linear algebra

• Software Engineering

• Tools-Graphical Tools, Sound Tools, Map Editing Tools, etc

• Good Storytelling

Page 7: Cocos2d game programming 1

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

Page 8: Cocos2d game programming 1

Pre-production

Page 9: Cocos2d game programming 1

Pre-production

• Make a demo version(prototype)

• Very important process before programmers and designers

Page 10: Cocos2d game programming 1

Development

Page 11: Cocos2d game programming 1

Post-production

Sometimes post-production needs more time thandevelopment

Page 12: Cocos2d game programming 1

Release

Page 13: Cocos2d game programming 1

Marketing & Testing

Page 14: Cocos2d game programming 1

Portfolios

Page 15: Cocos2d game programming 1

Shake Series

• Shaking App using accelerometer sensor

• 4 Players can play

• Fun Sounds

• Lightweight App

• Game Center available

• Cocos2d game development kit

Page 16: Cocos2d game programming 1

Shake Series

Page 17: Cocos2d game programming 1

Coke Shake

Page 18: Cocos2d game programming 1

Action Game

Page 19: Cocos2d game programming 1

Monster Buster ver 2

Page 20: Cocos2d game programming 1

Features

• Monster Characters

• Shooting Effect

• Many Shooting Items

• Stages and various backgrounds

• Level design using plist

Page 21: Cocos2d game programming 1

Features

Game Item

Weapons

Hit Effect

Page 22: Cocos2d game programming 1

Game Level Design using Plist(meta data)

Stage 1

Stage 2

Stage 3

Page 23: Cocos2d game programming 1

Game Code

Page 24: Cocos2d game programming 1

Game Dev Tips

• Separate your code from your data

• Easy way to porting, upgrading, debugging, etc

Page 25: Cocos2d game programming 1

And more

player can move the character using accelerometer

Page 26: Cocos2d game programming 1

Development of Game Contents

Page 27: Cocos2d game programming 1

Independent Developer

• Minimum Budgets

• High Quality Design Source

• Sound Source

• Programming and Testing

• Marketing

• All by YOURSELF!!

Page 28: Cocos2d game programming 1

Bubble ball

Page 29: Cocos2d game programming 1

Ready for Game Development

• You already have programming skills

• You probably love games

• Understanding of Storytelling

• You learned OpenGL

• and some mathematical backgrounds...

Page 30: Cocos2d game programming 1

History

Page 31: Cocos2d game programming 1

Early Game

Tennis For Two(1958)

Page 32: Cocos2d game programming 1

PC Game

Page 33: Cocos2d game programming 1

Mobile Game

Page 34: Cocos2d game programming 1

AR Game : AR Defender

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

AR defense - tracking by camera and marker

Page 35: Cocos2d game programming 1

Look-up

http://www.youtube.com/watch?v=bps3FkX-_cY&feature=player_embedded

Team play is available

Page 36: Cocos2d game programming 1

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

Page 37: Cocos2d game programming 1

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