Commander Keen in Keen Dreams is a side-scrolling platform video game: the majority of the game features the player-controlled Commander Keen viewed from the side while moving on a two-dimensional plane. The player character can move left and right and can jump; unlike the prior trilogy of episodes in the series, known collectively as Commander Keen in Invasion of the Vorticons, Keen cannot jump higher using a pogo stick. The levels are composed of platforms on which Keen can stand, viewed from slightly above so as to give a pseudo-3D effect, and some platforms allow Keen to jump up through them from below, while others feature fireman's poles that Keen can climb up or down. Once entered, the only way to exit a level is to reach the end, though unlike in Vorticons the player can save their game at any point. In between levels the player travels on a two-dimensional map, viewed from above; from the map the player can enter levels by approaching the entrance or save their progress in the game. Some levels are optional to enter and may be bypassed.
Levels include a variety of anthropomorphic vegetable enemies, such as potatoes and squash, each with different movement patterns and attacks. Levels can also include hazards, such as water or spikes; touching a hazard or most enemies causes Keen to lose a life, and the game is ended if all of Keen's lives are lost. Unlike the previous game, Keen can not shoot enemies with a raygun; instead he collects small pellets throughout the levels called flower power to throw at enemies. If an enemy is hit, they transform into a passive, intangible flower for a limited time, while pellets that do not hit an enemy can be retrieved by the player. The player can also find food items in the form of sweets throughout the levels which grant points, with an extra life awarded if the player earns enough points, as well as figures of Keen that grant an extra life. Placed throughout the levels are collectible bombs, which the player must use at least twelve of in order to defeat the final boss of the game.
Plot
Having defeated the Grand Intellect in Invasion of the Vorticons and saved the Earth, eight-year-old child genius Billy Blaze is still forced by his parents to eat his vegetables at dinner. After being sent to bed, he falls asleep and wakes up in his pajamas in bed on top of a hill. Giant helmet-wearing potato men tell him that their king Boobus Tuber has brought him to their land with his Dream Machine, and Keen is now his slave. Keen puts on his Commander Keen helmet and defeats the vegetables, but finds that his raygun is now out of charge. Another child in chains runs up to him and asks Keen to defeat Boobus Tuber and save them all from the Dream Machine, and Commander Keen agrees to do so. After journeying through several outposts and cities of Tuberia, defeating various types of vegetable creatures, and collecting Boobus Bombs along the way to attack Boobus Tuber with, he reaches the castle on top of Mount Tuberest. Upon defeating Boobus Tuber and turning off the Dream Machine, Keen wakes up in bed at home, where his mother informs him it is national "I Hate Broccoli" day.
Development
In October—December 1990, a team of employees from programming studio Softdisk, calling themselves Ideas from the Deep, developed the three-part video game Commander Keen in Invasion of the Vorticons. The group, who worked at Softdisk in Shreveport, Louisiana developing games for the Gamer's Edge video game subscription service and disk magazine, was composed of programmers John Romero and John Carmack, designer Tom Hall, artist Adrian Carmack, and manager Jay Wilbur. After the release of the game in December, and the arrival of the first US$10,500 royalty check from shareware publisher Apogee Software, the team planned to quit Softdisk and start their own company. When their boss and owner of Softdisk Al Vekovius confronted them on their plans, as well as their use of company resources to develop the game—the team had created the game on their work computers, both in the office after hours and by taking the computers to John Carmack's house on the weekends—the team made no secret of their intentions. Vekovius initially proposed a joint venture between the team and Softdisk, which fell apart when the other employees of the firm threatened to quit in response, and after a few weeks of negotiation the team agreed to produce a series of games for Gamer's Edge, one every two months. Ideas from the Deep, now founded as id Software, used some of these games to prototype ideas for their own releases, such as Catacomb 3-D. In late spring of 1991 they worked on a new Keen game in order to develop new systems for their next major release in the Commander Keen series. They did not initially want to do a Keen game for Softdisk, but eventually decided that doing so would let them fulfill their obligations while also helping improve the next full set of games for Apogee.
For Invasion of the Vorticons, John Carmack and Romero focused exclusively on the programming, while Adrian Carmack joined late in development and had a personal art style that did not match with the game. As a result, the game was largely shaped by designer Tom Hall's personal experiences and interests. Keen's red sneakers and Green Bay Packers football helmet were items Hall wore as a child, dead enemies left behind corpses due to his belief that child players should be taught that death had permanent consequences, and enemies were based loosely on his reading of Sigmund Freud's psychological theories, such as that of the id. For Keen Dreams, the team reprised their roles, and used the game as a prototype for what they wanted to change for the next Keen games for Apogee: an increase in graphical quality with parallax scrolling to make the background move at a different speed than the foreground, a pseudo-3D view rather than a side-on view, ramps rather than solely flat surfaces, support for sound cards, and changes to the design based on player feedback. The game's plot, as a result, was designed to be a standalone game outside of the continuity of the main series, and not a true sequel.