Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Python Game Programming By Example

You're reading from   Python Game Programming By Example A pragmatic guide for developing your own games with Python

Arrow left icon
Product type Paperback
Published in Sep 2015
Publisher
ISBN-13 9781785281532
Length 230 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

Chapter 3. Building a Tower Defense Game

In the previous chapter, you learned the fundamentals of cocos2d, and now you are able to develop a basic game with this library. However, most games use more than a single scene, and their complexity it is not limited to collisions and input detection.

With our next game, we will dive into the cocos2d modules that provide us the advanced functionality we are looking for: menus, transitions, scheduled actions, and an efficient way of storing level graphics.

In this chapter, we will cover these topics:

  • How to manipulate sprites with cocos2d actions
  • Using tile maps as background layers
  • Animated transitions between game scenes
  • How to create scenes that act as menus and cut scenes
  • Building a full-fledged cocos2d application with all the ingredients you have learned so far
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime