1 Let’s program games!

 

This chapter covers

  • The Nintendo Entertainment System
  • Our goal for this book
  • NES architecture overview
  • The structure of a game
  • The game loop

Starting from the late 1970s with the release of the groundbreaking game Space Invaders, video games gained widespread popularity, and whole arcades were dedicated to just offering Space Invaders for patrons to enjoy. Soon a host of other arcade games followed, bringing us classics such as Donkey Kong, Pac-Man, Galaga, and many, many more.

Riding on this wave of popularity, home consoles such as the Atari 2600 and Intellivision entered people’s homes, bringing simplified versions of arcade games to consumers. These early consoles (and many home computers) started the process of people gaming at home. Meanwhile, in Japan, Nintendo, a toy company that had been creating small handheld video game units, entered the market in 1983 with the Famicom (Family Computer). This small but quite powerful 8-bit system burst onto the local market and introduced gamers to Super Mario Bros, using the Mario character from the arcade game Donkey Kong, along with a fast horizontal scrolling array of platforms and quirky characters.

1.1 Our goal

1.2 NES architecture

1.3 6502 Assembler

1.4 Calling all retro developers

1.5 The structure of a game

1.5.1 Initialize console

1.5.2 Intro screen(s)

1.5.3 The game loop

1.5.4 Graphics chip draws changes to the screen

1.5.5 Ending a game

Summary

sitemap