Book Image

Cocos2d Game Development Blueprints

By : Jorge Jordán
Book Image

Cocos2d Game Development Blueprints

By: Jorge Jordán

Overview of this book

Table of Contents (15 chapters)
Cocos2d Game Development Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 3. Your First Online Game

In these days of playing video games online, some readers might have never experienced watching a video game being played in an arcade, or have even played a game at a friend's house. But in the days before computer networks, that was the most social a video game could be.

The development of computer networks brought online video games to our devices and it resulted in a social boom. We can't imagine a game without online mode, or in its absence, a share button to let our friends around the world know our score record.

In this chapter, you will learn how to develop an online turn-based card game such as Magic or Hearthstone: Heroes of Warcraft. To achieve this, you will take advantage of the potential that Game Center offers to support online games.

Further into this chapter, you will learn to drag, scale, rotate, and move sprites, and how to implement and run actions in depth. In addition to that, you will see how to use bitmap fonts to load labels and scores...