Behind The Code Examines NES Double Dribble’s Shot Code

Displaced GamersBehind the Code series, and its companion Talkin’ Code, are probably the best technical examinations of NES games on Youtube. They take games that were the bread and butter of the Famicom/NES in its heyday, products of skilled programmers some of whom had gotten started working on arcade games, and disassemble them, revealing both their the tricks of their trade and the quirks, and sometimes glitches, that made their work unique.

Their most recent examination is the best NES basketball game, Double Dribble. If you’re not familiar with it, it plays and feels an awful lot like it were an early version of NBA Jam, without the teams or players or personality sure, but it does play a mean arcade-style game, which makes sense since it was a port of an arcade game (one that plays, I should say, a hideous vocalized version of the Star Spangled Banner at game start).

Here is the video. (32 minutes) Discussion of the discussion is below it.

Okay, the first surprise is that it that whether the ball goes in or not depends entirely on physics. The game takes the angle of the player to the basket (gotten from the X and Y position of the shot on screen) and sends the ball towards the basket using a lookup table to tell how the ball should move. When the ball arrives, whether it goes in depends on whether the ball is close enough to the center of the basket.

Double Dribble actually just sends the ball towards the basket, and if it’s close enough to the hoop (less than four pixels away), it goes in. Basically, the spot on screen the ball leaves from is what determines whether it scores. Affecting that is that there’s a limited number of discrete angles the ball can be thrown at. Displaced Gamers runs through the math, which is fairly involved, but in short, if you throw at the wrong combination of angle and distance, the ball just won’t go in.

More than that. The big discovery made by Displaced Gamers is that the two hoops aren’t the same! Due to flaw in the math, both hoops’ centers are essentially shifted to the right slightly, and both are also easier to hit when shots are made from the top of the screen, above the basket.

This is only a couple of points from the video. It’s full of the kinds of shortcuts that time-pressed programmers from the age of 8-bit consoles often had to use to make their code work. If you’re allergic to discussions of math (especially trigonometry) you might want to skip this one, but I think it’s worth a look.

Webdepths: Pac-Man Fever Forever

The World Wide Web is now over thirty years old. In that time, more content has vanished from it than remains now, but some of it can still be dredged up from the shadowy archives of the Wayback Machine. This is the latest chapter in our never-ending search to find the cool gaming stuff that time forgot….

A recent Retronauts episode looked back upon the history of Buckner and Garcia’s 45-year-old video game novelty song Pac-Man Fever. Host Drew Mackie also runs Thrilling Tales of Old Video Games, and it just as recently linked in passing a pair of ancient websites devoted to its album, Lee Seitz’s Pac-Man Fever Forever and 52 Weeks of Pac-Man Fever.

We here at Set Side B do everything we can to encourage the kind of unhealthy obsession with video game ephemera that is epitomized by these sites. And carrying a torch for a novelty song dating back to the height of the arcade era, that sounds even crazier (“It’s drivin’ me cray-zee!”) than my own obsession with Rampart.

Started in 1994, when readers would have had to browse the page in Mosaic, the length of the site Pac-Man Fever Forever’s legacy now begins to rival that of the song itself. Like all good websites it refers to other pages on this Widest of World Webs, but alas most, if not all, of the sites it refers and links to are defunct now, saddest being that of the song’s creators, Buckner and Garcia themselves.

As countless kids on social media remind me nearly every minute, I am old, and yet I still dimly remember 1981, the year of Pac-Man’s release, which now might as well be the Stone Age. Social Media, the Web, the public Internet and, I seem to remember, electricity didn’t exist back then. But people still listen to Pac-Man Fever, and they still play Pac-Man today, and Bandai-Namco continues to squeeze the hungry lemon-wedge for every final drop of its juice. I maintain that Bally-Midway, R.I.P., was at least as responsible for its worldwide success as Namco was, and it would have been them who’d have sub-licensed the game’s sounds for a novelty song, as they would have for the Pac-Man Saturday morning cartoon show, a whole landfill of tatty merch, and most of the other instances of Pac-mania from the classic age of arcades. (But not Pac-Mania: Atari published that in the US)

We know Gary Garcia has since passed away. Jerry Buckner (IMDB) continues to roam the neon-blue tunnels of the Earth, and he wrote a song for Wreck-In Ralph. We here hope he continues giving breath as long as he wants. Thanks for the tunes, and to Lee Seitz, thanks for remembering them.

Incremental Fun With Progress Racer RPG and Maktala

This is a review and preview of two incremental games, Progress Racer RPG and Maktala. Played with a retail key and demo build, respectively.