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
  • PrintPrint
Share this Page URL
Help

Chapter 7 So You Wanna Be a Hero?

Chapter 7 So You Wanna Be a Hero?

image

You have learned some really great things about programming video games in BASIC, especially in the previous chapter where you learned to make the most complete game. There are many helpful concepts in all of these games. Even if you don’t understand every part of the BASIC code, you can see how things work in the game by studying it. I want you to be able to write your own game using these examples as a start, and make your own games that are way better than anything in this book.

So, we’re going to make a new game that borrows ideas from the previous ones, and by doing so you will learn how similar the code is from one game to the next. Only the logic changes—that is, the code that makes things act a certain way, like Muscle Man chasing after the backpacks all by himself. That was game logic! In this chapter, you will learn a new programming ability to make complex games easier to make. Instead of a graphical game, we’re going to make a Character Sheet Generator for a role-playing game (RPG).


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

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

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint