Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 9: Physics, Loops, Arrays, and Sounds

Image

Chapter 9

Physics, Loops, Arrays, and Sounds

One of the most popular genres of video game is the platform game, which also poses some very interesting programming and design challenges. From a programming point of view, if you can program a platform game, you've reached a benchmark in your development as a game designer.

In this chapter, I'm going to show you all the skills you need to make your own platform game. You'll take a detailed look at core video game design techniques such as

  • Natural motion using physics and thermodynamics simulations.
  • Complex player character behavior.
  • Collisions with accurate bounce and friction.
  • Embedding sound and music.
  • Using arrays.

You'll look at these techniques within a practical, real-world context so that you'll have a clear idea of how to apply them to your own games. But first, let's take a detailed look at the techniques you need to know to use physics in your own games.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial