Spelljammer: Pirates of Realmspace

Spelljammer: Pirates of Realmspace is a video game for MS-DOS released by Strategic Simulations in 1992. It is a Dungeons & Dragons PC video game using the Advanced Dungeons & Dragons, Second Edition rules, and the Spelljammer setting. Spelljammer was programmed and designed by Cybertech Systems.

Plot
In Spelljammer, the player captains a ship and crew. The player can ship goods from planet to planet for a fee and take on simple missions including delivering people and goods, destroying pirates, and guarding the space lanes. As the player completes missions, the player's character gains reputation points, eventually gaining enough points to be asked to help rid Realmspace of a terrible danger. This mission leads to the simple plot in the game.

Gameplay
Spelljammers are magic ships that fly through "wildspace" to various planets. All the planets and wildspace for a system are contained in a Crystal Sphere. Outside the Crystal Sphere is the Phlogiston, also known as the "flow". Holes in the Crystal Sphere allow the flow to shine through, appearing as stars on planets. Spelljamming ships cannot enter the Phlogiston.

Game mechanics
The game starts the player with a 5th level character. The available classes are: Clerics, Fighters, Paladins, Rangers, Mages, and Thieves. There are three main parts to the game: docked at a planet, in space travel and ship-to-ship combat, and on-board personal combat. When at a planet, various text menus allow the player to buy and sell cargo, repair and upgrade their ship, buy and sell character equipment, and seek missions. A rudimentary trade system allows players to make money shipping goods from planet to planet, and some key planets have more options for ship repairs and equipment. In space, the player can travel from planet to planet, or simply point the ship in any direction and go. Real-time ship-to-ship combat using ballistae and catapults takes place in a simple 3D view. The player can steer the ship to aim the weapons at enemies, and to try to avoid enemy missiles. The occasional meteor storm is a minor hazard while spelljamming.

One little-used feature programmed into the game is the ability to crash the player's ship into the Crystal Sphere. Normally "space" is shown as black, but if a player is patient and continues towards the Crystal Sphere, space would turn dark grey, light grey, the stars would spread out, and eventually the ship will crash into the Crystal Sphere.

The player can bring the ship close to an enemy ship, board, and do turn based hand-to-hand combat on a simple isometric map. A full range of spells and weapons is available, and ships are crewed by a wide range of humans and monsters. In the turn-based combat system, the player controls the ship's officers, and the computer controls the regular crew and the enemies. The turn-based combat engine supports spell effects and animations on the map, for example a "stinking cloud" that persists for multiple turns.

Initial phase
Al Escudero was a successful game designer with a couple of commercial titles under his belt working out of Vancouver BC, Canada in 1990. Escudero had started design work on a space battle game for Strategic Simulations, Inc. (SSI), and put in a few months of effort before SSI decided to kill the project. Design work continued for as long as it did because the decision to kill the project did not trickle down to the level of management Escudero was dealing with for two months after upper management killed the project. To make up for the loss of time and money, SSI quickly found another project for Escudero – Spelljammer.

Escudero designed the ship to ship combat and came up with the idea of using a 2D map, then using the distance between ships to scale the size of the ship's bitmap and display it in a simple 3D view on one plane. He then designed the basic layout of all menus, the overall look and feel of the turn based hand-to-hand combat, and most other key parts of the game. At this time Cybertech Systems was actually just Escudero in his basement. Lead programmer Alex Russell was acquainted with him because he went to high-school with Russell's younger brother. Russell had done a couple of small porting jobs for Escudero in the past. Another programmer named David "Zoid" Kirsch worked on the game for a couple of months. As Russell had only been programming business systems up to now, Zoid's knowledge of PC hardware was valuable at the start of the project.

Artwork
Escudero worked on the art for the game, doing most of the planets, tiles, and much other minor art. Russell also did artwork, doing a few scenes used when at ports, and decorations for menus. They also used a black and white video camera (colour camera was much too expensive for the budget they were working on) and a RGB colour wheel to digitise models, both scale and human, to use for the game. An Amiga was used for digitisation. The Amiga could write to standard PC floppy disks, and Deluxe Paint on the Amiga would write files that PC Deluxe paint could read. Deluxe Paint, and Deluxe Paint Animation were used for 90% of the art. Three freelance artists drew the bulk of the ships and a few ports. Each ship required eight hand drawn pictures, one for each of eight rotations. These eight pictures were then scaled as required for the semi 3D used in ship to ship combat. A 30-second Cybertech introduction of a door opening took four hours to render on a 486, and over 24 hours on a 386.

Cybertech hired a model builder to build one ship, but while this had good results it turned out the model builder couldn't turn a profit at the price they could pay for a custom model. The asteroids in the game were digitized rocks from Escudero's backyard. A few people in full armor from the local SCA (Society for Creative Anachronism), as well as friends in costumes were digitized as well.

Programming
Russell did 90% of the programming. This was back before the widespread use of the internet, so personal contacts in the local game programming industry, and a good local book store were very important sources of information. 320x200 pixels, 256 colors was chosen for the video mode because it was simple to program, looked good, and would be faster to process a smaller number of pixels with many colors, than many pixels with only 16 colors. This was way before 3D cards – everything was done in software. Most of the game was written in C, except for all the graphic primitives which were written in x86 assembler.

A menu system was written, but not a menu editor. All menus were hard-coded C structures, requiring a full recompile to see a menu change. The over-head turn based combat system had a very good editor written for it. Each ship in the game had its own map. And the semi 3D engine was written. SSI provided the sound library. There were no standards so each common sound card had to be supported. The other interesting routine was the movie player. It looked at a series of computer pictures, found and stored the differences and stored them as compressed blocks. Cybertech hired an assembly whiz to write the de-compressor. Russell wrote everything else from scratch. The team used some of Zoid's ideas, but none of his code made it into the final game.

Music was created by two of Russell's friends, Mark McGough and Peter Grisdale, who were also musicians as well as computer programmers. They already had MIDI equipment and did the music for a copy of the game and a credit listing.

Final phase
Programmer Alex Russell recalls: "We sent game builds down to SSI using a state of the art 9600 baud modem and Zmodem. It took about 3 hours to send down 2 megs of updates, and involved calling voice first, arranging for who would auto-answer (SSI so they could pay the phone bill!), and crossing your fingers".

Development took slightly over a year. The first six months of work was done in Escudero's kitchen. Then SSI called up and said they were coming up to visit. Since Escudero didn't want to look like a low budget outfit he quickly rented a small office, where development was finished. After Spelljammer was finished, Escudero was instrumental in developing a multi-line BBS called Ice Online that ran a custom coded MUD. This turned out to be a quite successful enterprise that would eventually take up the whole floor of the building the original small office was in. EA eventually bought out Ice Online, took all the key employees and closed down the BBS.

Reception
Computer Gaming World liked the boarding combat but criticized the bugs and long load times, concluding that the game "is a product with a good deal of promise, thwarted by an unfortunate number of defects". It recommended the game to "AD&D role-playing stalwarts who can look past the problems, but as to the rest of the gaming public, SJammer is still a few updates away from being a product worth playing". The magazine warned that the "grandiose claims" SSI made about the game and Legends of Valour threatened the company's "long-standing reputation for quality". According to GameSpy, it was a "nice try, but a so-called "Gold Box" game everyone can easily miss".