When I was a kid in the 80's I loved the shareware version of Spacewar that we had. I stumbled across it recently and figured doing a remake could be a fun project, so here's my version! Two player, no AI mode or planet/star (not yet anyways, those might be coming in version 2.0 if I can figure out how to do it). Most of it I came up with on my own, but I lifted the sprite rotation function off of someone wholesale and haven't yet tracked down whose it was to give proper credit.
Feedback welcome, thanks :)
Edit 9/25/19:
Updated some things including art tweaks (ship sprites redesign, fire/exhaust color change) a bug fix (fixed a bug causing lasers not to display when more than 10 torpedos were on the screen) and some mathematical tweaking.
Edit 9/26/19:
Tracked down the sprite rotation function, which came from user jihem at:
https://www.lexaloffle.com/bbs/?tid=3593
Spacewar was in fact one of the very first video games to come out to feature true wire-frame graphics or VECTOR graphics.
Here is the authentic original if you want to compare it with your notes and version.
https://www.youtube.com/watch?v=xtYR5wV2rLM
I remember playing it myself as a boy. It had many options including a center SUN that had gravity strong enough if you got too close, you were sucked in with no way to escape.
It was unique from all other incarnations of Spacewar in that in the original you could "wing" your opponent, that is, if your shot was not straight on, it would take off a piece of their ship.
And you could still fly around but being handicapped that missing piece of their engine or ship would hamper their ability to maneuver and possibly shoot.
Notice that happens HERE to the triangular ship. Damaged but still going.
The original does certainly suggest some fun options for more features (I've got plenty of tokens left there)! The version I used to play is the one shown in:
I remember this ... DOS EGA, right ? Machine-language. The video is nicely stretched out here for wide-screen - as I remember EGA on my pc had long pixels that distorted everything. 640x200 if I remember correctly.
Think I prefer the source game. Would be intriguing to introduce "damage" to the ships as no clone to my knowledge ever did duplicate that one and very unique feature - and to make them vectored if at least dithered on the native 128x128 screen.
[Please log in to post a comment]