ReaderTube

AI summary

Yellow marks are automatic key passages. They aren’t personal saved highlights. Select a timestamp to follow along with the video.

Crash Bandicoot was built by Naughty Dog under severe hardware limits, and the video traces how the team overcame them to make the first true 3D platformer on the PlayStation. The developers chose Sony's new console after finding that its hardware could handle 3D well, then used a co-processor hidden behind slow official libraries, shaded polygons instead of textures, and a cartoon-style character animated with baked vertex data. Memory was the hardest constraint, so they compressed animation data in a JPEG-like way and swapped 64-kilobyte pages in and out of RAM from the CD, letting levels far larger than memory run smoothly. The story ends with that technical work producing a distinctive art style, a loyal following, and the Naughty Dog philosophy that great games need every element, and the best available technology, to be excellent.

Stealing Memory from Sony's Libraries

Memory was so short in Crash Bandicoot that Andy Gavin took to stealing little bits of extra memory from the Sony libraries. He would erase parts of them that he thought were unused and check whether everything still worked. If it did, he marked that memory as available and hacked the library code by changing its byte codes. If Sony would not fix a problem for him, he simply edited their code. It was free memory, and the memory was finite. By his own admission, he was definitely not supposed to do that.

The Naughty Dog Philosophy

Andy Gavin is co-founder of Naughty Dog Inc and was lead programmer on Crash Bandicoot. The team set out to make the first 3D character platform action game, to do it right, and literally hack the hardware. It was part of the Naughty Dog philosophy to leave no stone unturned: no cycle of CPU or GPU and no byte of memory went unused. If something existed in the machine, whether the team was supposed to use it or not, and even if it took some crazy trick, they would figure out how to make the most of it.

Deciding on a 3D Platformer

In the summer of 1994, Gavin and his partner Jason Rubin were wrapping up Way of the Warrior, their 3DO fighting game, and trying to decide what to make next. The biggest genre on consoles at the time was platform action, with games like Super Mario World and many other classic 16-bit platformers. In the arcades, new 3D hardware was pushing certain genres from their traditional 2D state into 3D. Street Fighter II and Mortal Kombat were still all the rage, but now there was Virtua Fighter, which used 3D graphics and was simply cool. It was clear that things were going that way and that the new consoles coming out would be 3D. The question was whether a 3D platform game could be made. No one had ever done it, but it seemed bound to happen. They imagined speeding through the loop tubes of a Sonic the Hedgehog game in 3D and wondered what that would look like.

Jason and Andy, and the Move to Universal

Before the fall of 1994, Naughty Dog was just Jason and Andy, and it ran on the synergy between them. They did all the creative work together, were best friends and roommates. Jason was a phenomenal artist, and Andy was a game programmer, a pretty good one in his own estimation. Jason tried to make the game look incredible, Andy tried to make the technology really work, and both tried to make it really fun. They had sold the distribution and publishing rights for Way of the Warrior to Universal Studios, to a new unit called Universal Interactive. The offer was essentially: come out to California, move onto Universal's lot next to Steven Spielberg, and get a bungalow and utilities for free. All they had to do was show their work to Universal. They loaded the dog, the Naughty Dog Morgan, and themselves into a Honda Accord and drove across the country, which left lots of time to talk.

Designing a 3D Platformer on the Road

On the drive, the question was what a platformer in 3D would really be like. Picture something like Sonic the Hedgehog: running through loops, jumping between platforms and collecting items in 3D, with the camera always behind the character. The world looks great that way, but it becomes "the Sonic's ass game", where all the player sees is Sonic's back, while the front of a character is where the expression is. Could levels be designed so the character comes toward the camera? Then how would the player see where they are going? These ideas eventually led to the boulder levels in Crash Bandicoot. Other options were levels running sideways, or having the character look over his shoulder toward the screen.

Shopping for a Platform

The team was simultaneously designing the game that became Crash Bandicoot and shopping for a platform. Because it was going to be a 3D game, they wanted one of the new 32-bit platforms. The 3DO, which they had already made a game on, was a clunky, half-3D machine that was also very expensive and not selling well. The Atari Jaguar they took as something of a joke. Then the big companies were about to release new machines. Nintendo had some mystery machine, but there was no way of knowing what Nintendo was up to, since it basically did not talk to Americans. Sega had two things going on: the 32X, coming out that fall, which was a way of souping up the Genesis, and a new machine that Gavin does not remember being called the Saturn yet, but that became the Saturn. Then there was the wildcard, Sony, which had never made video games before. Hearing that Sony had a powerful new machine, the team contacted both Sega and Sony and obtained information on the machines. Getting it meant signing your life away, along with your firstborn, and then you could order the machines if you paid a deposit.

Why the PlayStation Won Them Over

Sony's new machine was all 3D, and it could do 2D pretty well too. It was a new, clean design very similar to high-end commercial 3D hardware such as Silicon Graphics machines, but with many simplifications to make it far more economical. The PlayStation 1 had two main custom chips: a graphics unit and a custom MIPS CPU. Today's GPUs are wildly more complicated and also do much of the math work that GPUs of the 90s did not. The PlayStation 1 GPU just drew triangles on the screen, but it was pretty good at it, drawing about 120,000 triangles a second, which was phenomenal. PCs at the time had no 3D graphics hardware, only VGA boards, and a game was lucky to get a couple hundred polygons because everything had to be done in software. The PlayStation, priced at $299, was a complete machine with a CD drive and memory. Compared with PCs of the era, running Windows 3.1 and DOS, consoles were a world of difference. Running a PC game usually meant having a boot disk with a custom AUTOEXEC.BAT and CONFIG.SYS, and opening up the machine. It was not a game-friendly world. On a PlayStation, Genesis or Super Nintendo, you just shoved in the cartridge or CD, pushed the power on, and it booted. Gavin liked the Sony best: neat, clean, powerful and intended for 3D. He really thought it was the only one of those machines that would do what they were aiming at.

The Core Idea: A Playable Cartoon

The core idea behind Crash Bandicoot was a mechanic like that of Donkey Kong Country: going through levels with successive timing challenges, enemies and jumps. It would be a platformer with a cartoony animal character. The goal was not to look exactly like a video game but like a Looney Tunes cartoon, with a highly animated, fluid character. If he got mushed by a giant stone roller, he would turn into a flat thing that waddled around. The world was meant to look like a cartoon world with the sensibility of classic cartoons, which were being reinvented at the time by TV shows like DuckTales, and The Simpsons was big. Animation was cool again.

A Polygon Budget Built Around Crash

Crash ran at 30 frames a second, with about 1,500 polygons on screen, 600 of them going to Crash. That is how important he was to the team. Most developers used around 80 polygons per character, so their characters looked like weird walking blocks. The team wanted Crash to look like a real cartoon character, which required a lot of detail, so he received a third of the entire budget.

Silicon Graphics Workstations

With Crash, the team was forging into new ground everywhere, since no one had ever made a 3D platform action game. It was obvious that PCs, the standard development machines, were not going to cut it: Windows 3.1, no 3D graphics, and effectively 640K of RAM. So the team made the plunge and bought Silicon Graphics workstations, mostly Indigo2 Extremes, for everyone in the company, about five people at that stage. These cost roughly $75,000 to $100,000 each and had 3D graphics. The software for 3D graphics cost about another $75,000 per machine. These were the tools used in very recent memory for films like Terminator 2, The Abyss and even Jurassic Park. They settled on Alias PowerAnimator, one of the three choices at the time.

Learning the PlayStation Empirically

The big, clunky box was the early PlayStation prototype, and it turned out to be a pretty good machine, but first it had to be understood. It came with a bunch of manuals that were incredibly badly translated from the Japanese and mysterious, and the programmers had amusing debates over what the funny choices of English words actually meant. The way to really figure out what to do was to test things empirically: take individual pieces, write test code to do certain things on the machine and put it through its paces, like taking a car out on a track to see how fast it can actually corner. There were several graphics modes. The high-resolution mode ran at half speed, while the mid-resolution mode, which was clearly an afterthought, ran at the same speed as the low-resolution mode.

Shaded Polygons Instead of Textures

Jason had already made the Crash Bandicoot character, which looked pretty much like the final version. Gavin drew it on the screen, shrank it to about the size it would have in the game, and ran code to calculate how many pixels each of its polygons occupied. The average was about 1.2 pixels. That raised the question of why the polygons should be textured at all. The team decided not to use the texture mode for characters and to use the faster, easier shaded mode instead, which most developers did not do; most used textures. Part of the reason was that the tests showed the non-textured mode ran twice as fast. Someone who skipped the tests and relied on the numbers in the book, which gave just one number, would not have found that.

The PlayStation's Math Problem

The PlayStation could draw a pretty decent number of polygons per second from its graphics hardware, but the math to work out where those polygons go had to be done separately. Today almost every computer, even a phone, has an advanced GPU with vertex units performing tremendous numbers of multiply-adds, often gigaflops of them. In those days most computers did multiplies and adds one at a time on the CPU, reaching hundreds or thousands per second rather than billions. This was a serious problem. There was a fundamental problem in how the PlayStation's hardware and software interacted: its math side was not up to snuff.

Sony's Slow Libraries

The team suspected that this was a software issue: Sony wanted developers to use the libraries it had written, but those libraries did not use the machine to its fullest. Somewhere in the design, the engineers had included hardware meant to do multiply-adds, which are needed by the millions, but it was hidden behind a set of C libraries from Sony. A programmer gave the libraries numbers and they multiply-added them, and they performed terribly. While the graphics unit could draw somewhere in the range of 100,000 to 120,000 polygons per second, the libraries could only transform the math for maybe 5,000 or 10,000, which was just not going to

Sony's Slow Math Libraries

At 5,000 to 10,000 polygons per second of transformed math against a graphics unit that could draw 100,000 to 120,000, the libraries were not going to cut it. Vertex math on the PlayStation 1, done the official Sony way by calling its graphics libraries, tested at least an order of magnitude off, roughly one tenth of what it should have been. It simply did not run fast enough.

Prying Open the Co-Processor

The team did what any good scientist does: they took the machine apart. They figured out enough to know there was real horsepower inside that Sony was hiding away. Through a series of campaigns, and through some of the people Naughty Dog knew at Sony, the creative solution on both sides was "here's how it works" on two pieces of paper slid across a desk, with the understanding that nobody had heard it from the source. That was enough. Working systematically through what was on the pages revealed a small math-side brain inside Sony's custom CPU, called a co-processor. It could do the very specific, limited math needed for vertex transformation, and it could do it at about the speed the GPU could consume the results.

Graphics Brains and General Brains

Dedicated gaming hardware since the beginning of arcade games has almost always had two main brains: a graphics unit and a CPU. Good old CPUs move individual numbers around, which lets them do anything a computer can do, but they have one thought at a time. The graphics unit, because graphics is a more game-specific area, renders in a particular hardware-driven way. In early-80s games such as Galaga, where aliens sweep down the screen, those objects are sprites. CPUs of the time could not draw sprites, so small graphics units were designed to handle sprites and scrolling backgrounds. Basically all of computer graphics technology has been driven by the video game, and these machines always balanced a graphics brain against a general math brain. Graphics units today can perform thousands of the same operations in parallel, which is why a GPU has far more raw processing power than a CPU, with many gigaflops and on some chips teraflops. They do less general-purpose work.

Linear Gameplay in 2D Platformers

A 2D platformer such as Donkey Kong Country allows movement forward and backward through the level, to the left and right, plus jumping up and down or onto platforms. Essentially it is linear: the player usually goes right and obstacles come to them. This goes back to Pitfall in 1980, where a player might swing on a vine over a bunch of spiky things, with monsters crawling on platforms or bees flying above. Progression is linear, the path is visible, and the pace is fast: jump, jump, strike, jump, jump, strike. Everything lines up neatly in 2D. The designer measures out an almost rhythmic, musical progression, which is one of the things that makes these games addictive and fun. Improving at the game means first learning the controls and getting good at being Donkey Kong, then learning the specific movements of enemies and objects and memorizing a route, much like playing back a rhythm game.

The Problem of the Extra Dimension

In 3D everything is different. The added dimension brings side-to-side movement as well. In Donkey Kong Country or Mario, if three turtles are coming, the player has to jump over, kill or knock away each of them in succession. In 3D the player can simply go to the right and avoid them entirely. The whole extra dimension of space leaves too much empty room, which dilutes the ratio between choice and conflict. The team had to find a way to compensate in order to maintain an intense action pace.

Removing Dimensions to Restore Intensity

The realization was that a dimension had been added, so the simplest strategy was to take one out, a different one in different places. In the boulder level, the dimension removed is time rather than one of the three spatial dimensions. Because the boulder will smoosh the player unless they move right now, there is no luxury of picking around the other dimensions. The level drives the player through an otherwise sparser space so fast that it feels just as intense. The hog level is the reverse: instead of a thing moving at the player, the player keeps moving at the things. The hog is wild and its speed cannot be controlled, so navigation is mostly left and right. In a more normal 3D level such as Insanity Beach, walls of jungle narrow the dimension, not fully but partially. Enemies such as crabs or skunks track the player laterally. The new dimension can still be used: with a box on the left and a box on the right, the player must choose which peril to face. In Hog Wild this is done deliberately. A spiky thing may sit on the left with a box, and the clear path lies on the right. The simple way to survive is to go all the way right and ride past the spikes, which leaves the box unbroken. To get the box, the player must go to the last moment right in front of the spikes and then slide over, which creates a choice.

Timing, Fixed Cameras and Boxes

Timing elements work too. On some 3D levels with rollers, the rollers can be combined with platforms ahead, where the player must jump, and tension rises when the platform drops, like a timed platform that falls once stepped on. Other levels remove a dimension outright. Levels such as the wall are essentially 2D, since the camera is fixed looking to the side, even though the player can come out a little. Another type puts the camera up above, with Crash moving in a sort of grid and not much play with up and down; instead of being wide open, the player is above something deadly on walkways. In each case constraints are added or degrees of freedom removed to narrow the space and increase intensity. Because different dimensions are removed in different levels, the game is more varied than a traditional 2D one. There are seven to ten different strategies for removing dimensionality. Boxes were designed to fill the void. There are not that many enemies on screen because the hardware would not support that many, so the empty spaces are filled to a large extent with boxes. They can drop down in stacks and form puzzles. For a simple object, a few polygons and a few rules, they are incredibly versatile.

The Case Against Bone Animation

The team knew it wanted an animation style rarely seen in video games: the Looney Tunes style of distorting, stretchy, rubbery animation, traditionally done in cel animation. Characters therefore had to really animate. Traditional low-polygon graphics of the 90s built characters from a very small number of bones, such as an upper arm bone, a lower arm bone and a head bone, with all the art for a body part attached to its bone. The bone was a rigid thing, like a joint, that could be rotated or moved. The result looks robotic, and adding fingers requires lots more bones. That was too much math for the PlayStation, which could never handle tons of bones. Something like a hand hit by a hammer in a cartoon, swelling up like a balloon or flattening into a pancake, was impossible with a bone system. Virtua Fighter in the arcade used the classic bone system, which worked acceptably for a fighting game because there is not much deformation, though the characters were a little stiff. Facial animation is also almost impossible, or very difficult, with bones, and the team wanted it badly: what kind of cartoon character does not smirk or wink?

Animation on the Silicon Graphics Workstation

Whether that kind of animation was even possible on a Silicon Graphics workstation was an open question. Jason built the Crash model and set about trying cool and wacky animations, and with some work found that PowerAnimator could do it, thanks to its sophisticated bone and vertex weighting tools and distortion fields. The way PowerAnimator did these things was not possible on the PlayStation. They relied on the expensive floating-point hardware of the workstation, and even the workstation could not do them in real time; it had to render them. A video game is real time, and everything must be done in 1/30th of a second. This was a big problem, because the animation was wanted very badly.

Baking Vertex Positions into Data

The idea was that the positions of all the vertices can be read. If the position of every vertex in every frame is known, the kind of bones used does not matter. The SGI can use 1,000 bones and it is all the same: the game just draws polygons at the vertex positions, which can be done quite fast, with no bone work and no CPU spent on bones. The problem with that strategy is the data. Animation runs at 30 frames a second, and Crash is around 500 vertices and maybe 600 polygons, so the position of every vertex must be stored for every frame. That is a lot of data. But the project was already committed to a crazy memory strategy that thirty-folded its data, so it could handle somewhat more data than other developers could. The animation data was baked down using all of Jason's fancy PowerAnimator effects, and it worked, because the PlayStation development unit had eight or 32 megabytes of memory, so a much bigger thing could run than would ever work on the real machine. For months the work continued with the constant worry that it would have to fit somehow; it was just so huge and would have to get smaller.

A Domain-Specific Compressor

A hunch said that there really was not so much data in a mathematical sense, and that a domain-specific compressor could be written for it. In computer science theory, data has a certain complexity: there is a pattern to it, and limits to it. Animation data can tolerate some data loss. The same theory is why JPEG works and why JPEG totally changed the internet and how images are stored. For JPEG, the image is transformed into frequency space, a difficult mathematical transform, the high-frequency junk is thrown away, and the result is flipped back, and depending on how

Compressing Animation Data

The same principle behind JPEG can apply to animation. JPEG converts an image into frequency space, discards the high-frequency detail, and converts it back. Depending on how much detail is removed, the image looks slightly better or worse, but the essential content remains, and the file can be about 20 to 30 times smaller. In the developer's view, animation data should behave similarly, since fine high-frequency motion, such as a vertex in a character's waist that barely moves up and down, contributes little to the result. To test this, a colleague named Mark wrote a program that analyzed a large set of animations. It examined every component and every vertex, then calculated the dynamic range, meaning the amount of change across each animation. The results showed that the information changing over time was quite low, because many animated elements simply did not move much. This led to a specialized compression system. For each animation, the system determines the range of motion for each element and stores a map at the beginning of the data. The map records how much information each element needs. For example, it might note that vertex seven on the Y axis has low information and needs only two bits, while another element needs many more bits. The final result reached roughly 50 to 81 times compression, so the animation data became about one fiftieth of its original size.

Storage Gap in the Original PlayStation

The original PlayStation was well designed and balanced, but its memory was modest. It had two megabytes of main RAM and one megabyte of VRAM. It also had a CD drive offering 640 megabytes of read-only storage, which was vastly larger than its working memory. That ratio was very large, and it suggested that levels could be much bigger than two megabytes. In a typical game of the era, such as Twisted Metal, a level like the Eiffel Tower would be loaded into roughly one megabyte of memory. That level's art and animation amounted to about one megabyte of data. Various techniques could reduce the size somewhat, but the basic limit remained, and developers generally did not try to push beyond it.

Why Memory Limits Levels

The CPU and GPU can only directly work with data currently in memory. Each frame of video, which lasts about one thirtieth of a second, must be rendered from data that is already loaded. Anything drawn, animated, or played at that moment, including sound, has to reside in memory, because memory is quick to access. The CD is much slower. Moving the read head to a specific spot takes about one third of a second, and loading a megabyte can take around six seconds. Because of this delay, the game cannot simply draw one frame and then fetch a different megabyte from disk, since that could take eight seconds. The practical solution is to load new data between levels, which is why typical games display a loading screen while they read an entire megabyte or more from the disk. The CD serves as additional storage that is larger but slower, and it is further from the processor. The CD also sat largely unused. A early PlayStation level of one or two megabytes meant the 640-megabyte disc could hold around 300 such levels. Developers did not create 300 levels, since that would have taken about ten years. As a result, most of the disc stayed empty or was filled with music and video, which take up a lot of space. Twisted Metal, for instance, might use only about 50 megabytes of the disc. Consequently, every game's levels were usually about one to one and a half megabytes of data. That approach was sufficient, and many PlayStation games were made with it, but the developer's theory was that this constraint did not have to exist.

Swapping Data Through Virtual Memory

The proposed idea was to use advanced virtual memory techniques to swap chunks of data in and out of memory during play. A level might total 30 megabytes, but at any given moment only about one megabyte might be needed. The level would be divided into 64-kilobyte pages. Each chunk of data, which could be anything from a Crash animation or the Crash code to a piece of background, had to be smaller than 64 kilobytes. Chunks were packed into a page until it was nearly full, but they could not span multiple pages. If they did, the chunks would have to be broken into smaller pieces. The level would then consist of about 30 megabytes of pages, with only around 16 to 18 pages fitting in memory at once. The core challenge was arranging the chunks so that, at any point in the level, the game never needed more than 16 pages of data. A chunk could even be duplicated across multiple pages if that made the arrangement work better. The game would predict in advance which pages to load depending on the player's direction, discard old pages it no longer needed, and load new ones in their place. Any page could replace any other page, as long as no more than 16 active pages were needed at the same time. This technique explains visual differences between games of the period. Crash's textures are sharp and colorful and detailed, while Tomb Raider's often look washed out and pixelated, because it had limited memory to store textures. The developer's team had 20 to 30 times more space available for textures and polygons. Tomb Raider's levels tend to be blocky, with square corridors, whereas Crash's levels have unusual shapes because they contain many more polygons. Memory was a major factor among several technologies that enabled this, and the developer later patented several related ideas. The developer was among the first to recognize that the CD or disc drive could serve as a dynamic part of a game, expanding what the game could contain. That practice is now common.

Crash's Distinct Art Style and Legacy

Crash Bandicoot's most lasting legacy is its distinct stylistic personality. Many games had a recognizable look before it, and Mario has a strong style of its own, though that style is very much rooted in an older video game aesthetic. Crash, by contrast, built a consistent world drawing on American cartoon design. The first four Crash games share that consistent style, which helps them hold up. The originals still play well and still look good on the PlayStation, because the style transcends the specific limits of the pixels. Early in development, the team held a bold hope, and it was a major reason for choosing the PlayStation. Nintendo had Mario and Sega had Sonic, while Sony did not appear to have a mascot. If the team made a mascot-style game on Sony's machine, it might avoid direct competition. That plan generated quick buzz, and people wanted the game to be exclusive to PlayStation. The team deliberately positioned itself to pursue this opening, and its success felt almost miraculous. The dream was to make Crash the PlayStation mascot. Sony never officially called Crash a mascot and insisted it did not have one, but everyone assumed it was, and Sony became so invested that it eventually bought the rights from Universal. Crash's success grew steadily rather than peaking quickly. The first game sold better in its second year and probably even more in its third. The developer was fairly sure that when CTR shipped during Christmas week, Crash Bandicoot sold more copies that week than it ever had before. The game had broad appeal. Young children and hardcore gamers could both enjoy it. It was not highly violent, but its characters were appealing, its humor was effective, and its gameplay was intense yet approachable. The developer wanted a game that players could sit down and enjoy without having to think too hard.

Naughty Dog's Philosophy of Greatness

Crash Bandicoot was the crucible in which the Naughty Dog philosophy formed. Every element of a game had to be excellent, because the team wanted to make a truly great game, one that would be a hit and a classic. To achieve that, the team concluded that everything in the game had to be great, and it needed the best technology available to make that possible. Better technology allowed a game to feel better and look better. If enough of these elements came together successfully, a game could rise above mediocrity and become a gaming masterpiece.

Turn your watchlist into a reading routine

Bring your YouTube videos together, read summaries with key passages marked, and explore the full transcript. Save your own highlights with Pro.

Start with 5 free batteries. Each covers up to 30 minutes of a new summary.

New summaries depend on video availability and demand; processing may take time or require retry.