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 8. Creating the Space Bowling Game

Chapter 8. Creating the Space Bowling Game

You're about to create a space bowling game — presumably your first game in canvas, and perhaps your first game ever. The concept is to tie together the skills that you've picked up from previous chapters to create something that is simple to play, yet fun and addictive at the same time.

I must stress that the focus of this book, particularly within this chapter and the next, is to teach you the fundamental skills required to produce animations and interactive games with canvas. This means that the games this book have been deliberately made to look simplistic. The reason for this is to prevent things from getting overly complicated; there's no reason to spend ages designing an object when you've come to learn how to animate and code it. The beauty of canvas, and the game that you're about to create, is that it's very easy to change things. For example, there is nothing to stop you coming up with a much prettier way of drawing asteroids, and replacing the code in the book with your own. In fact, I would love it if you did that!


  

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