raceintospace / raceintospace

This is the GitHub home of Race Into Space, the computer version of the Liftoff! board game by Fritz Bronner. It was developed by Strategic Visions and published by Interplay as a disk-based game in 1993 and a CD-ROM in 1994. It was open-sourced in 2005 and a number of improvements have been made over the original.
GNU General Public License v2.0
173 stars 47 forks source link

Unify hardware drawing #102

Open willglynn opened 11 years ago

willglynn commented 11 years ago

The game currently uses three 320x200 images (stored in CIA.BUT and VAB.IMG) for different hardware sprites:

cia.but vab.img.0 vab.img.1

There's hardcoded offsets all over, the images are difficult or impossible to change, and there's a lot of duplication. We should replace these with a class that represents a drawable type of hardware.

peyre commented 3 years ago

I've looked these over a bit, even made some improvements to the rockets (esp. the N1). A couple things I notice about these is that the VAB images have a shadow that the CIA ones don't, and the VAB ones also show cutouts of the capsule/shuttle interiors that the CIA ones lack. I'm inclined to think they were meant to stay separate.

peyre commented 2 years ago

Of course, that doesn't mean we couldn't pull the images out into discrete files, rather than having the game display coordinates a,b-x,y from one of these files.