News for hackers. Stuff that matters.
Re:Atari Star Raiders Source Code (1979) by gorhill on Thursday November 05, 2015 @01:37PM (#10515237)
Video footage of that code executing: https://www.youtube.com/watch?v=3_VDM8nC9sM
Re:Atari Star Raiders Source Code (1979) by CWuestefeld on Thursday November 05, 2015 @04:47PM (#10516340)
Wow, that brings back memories. This was the first piece of software I ever owned.

I learned so much from that Atari 800 as a teenager.

Understanding the difference between COLOR and SETCOLOR (where COLOR didn't refer to a particular RGB, but referenced whatever happened to be in the specified SETCOLOR; this is presumably how the flashing alarm screen is implemented) taught me about indirection.

I wrote my own "Breakout" game in BASIC. At first I had a long IF/THEN to react to the joystick direction, and it slowed the game appreciably. I later found (after seeing an example in one of those magazines with the type-in-this-program's-source-code) that it's far more efficient to store offsets into an array, and update the paddle coordinates just from indexed lookups into the array.

I had an interest before this, and new some rudimentary basics, it's stuff like this that gave me the incentive and the means to learn much more.

Re:Atari Star Raiders Source Code (1979) by themodelplumber on Thursday November 05, 2015 @02:47PM (#10515705)
Wow, the silent hyperspace mode followed by the red alert alarm sequence is pretty cinematic! Had to watch that a few times.
Re:Atari Star Raiders Source Code (1979) by ddingus on Thursday November 05, 2015 @03:12PM (#10515824)
Yes. Playing this back in the day, with a stereo, larger TV, etc... delivered a pretty serious impact. There was nothing else like it.

IMHO, that game sold a lot of Atari computers. Was written by the guy who designed the sound chip, and it was kind of a side project that turned out great enough to showcase the computers.

The particle calculations are not well optimized. While this is seen as a bug, and there is an effort to make the game run faster, many players appreciate the slowdown in battle. There is a feel associated with that which adds a lot to the overall impression of the game. It's oddly gratifying to feel it slow down as the enemy and their shots explode...

Re:Atari Star Raiders Source Code (1979) by pkroll on Thursday November 05, 2015 @05:47PM (#10516681)
It's like the "wasted" in GTA going to slow-mo to accent the kill. Only it's serendipitous slow-mo.
Re:Atari Star Raiders Source Code (1979) by ddingus on Thursday November 05, 2015 @11:40PM (#10517864)
Yeah, that's how I feel about it. Somewhere, I read some comments by the author on all of that. He just did fairly straight up, simple, cheater type 3D on the 6502. Those slowdowns were an artifact of all that.

They add a lot to the game, though the author didn't intend for it to go that way.

Funny, for that time period, there are a lot of "effects" that were resource limits, or bugs that ended up making for a better experience. Little things, like getting an extra color to work with were a very big deal.

We have come so damn far...

This did cause me to pull my old 400 out of the closet. It has this cartridge in it. Turned it on, and it plays fine. My HDTV is a bit cranky about it all though.

Re:Atari Star Raiders Source Code (1979) by david-given on Thursday November 05, 2015 @05:46PM (#10516674)
Did it simulate a proper 3D world, with your ship and the other objects all occupying space (and therefore requiring vector calculations everywhere), or did it cheat by keeping minimal position information and just fiddling the display to make it look like you're moving? From the way the enemy ships move it feels like it's cheating, but the starfield and the starbases all look pretty good.
Re:Atari Star Raiders Source Code (1979) by chipsy on Thursday November 05, 2015 @08:04PM (#10517263)
It cheats a ton. You can turn misses into hits by carefully jiggling the camera. Still a great game though.
Re:Atari Star Raiders Source Code (1979) by glhaynes on Thursday November 05, 2015 @05:08PM (#10516468)
When I watched the video of Star Raiders, my first thought was "hey, that looks like Solaris!", a game I grew up playing on a friend's Atari 2600. Turns out it was also by Neubauer, just a few years later. Cinematic is definitely the right word — it easily felt as epic and expansive as a good NES game, which is pretty astounding considering the limitations of the 2600.

https://www.youtube.com/watch?v=buhHMAcRSwU

http://www.1up.com/features/solaris-atari-2600-starfighter

Re:Atari Star Raiders Source Code (1979) by sageikosa on Thursday November 05, 2015 @03:15PM (#10515846)
Thanks, I had forgotten that I had ever played that game. As soon as I saw the hyperspace navigation reticule I instantly flashed back to memories of fighting to keep it centered.
Re:Atari Star Raiders Source Code (1979) by flurpitude on Thursday November 05, 2015 @04:40PM (#10516294)
Wow, that's impressive for an 8-bit computer in 1979. Especially within 8KB of RAM. Elite (1984) was more sophisticated on essentially similar hardware but had a little more RAM to play with.
Re:Atari Star Raiders Source Code (1979) by aidenn0 on Thursday November 05, 2015 @06:59PM (#10516998)
Here's the version I played (ported to the less-capable 2600) https://www.youtube.com/watch?v=2wh8Gb9J1nE

It came with a multi-button controller with replaceable overlays, which presaged the Atari Jaguar's controllers.

Re:Atari Star Raiders Source Code (1979) by andyidsinga on Thursday November 05, 2015 @08:29PM (#10517337)
thanks for posting that -- was one of my fav childhood games!
Re:Atari Star Raiders Source Code (1979) by XJOKOLAT on Thursday November 05, 2015 @05:40PM (#10516643)
What a throw back ...

"Red 5 standing by ..."

I remember pretending be to part of the rebel alliance in that game ... many hours spent. Thanks to the designer.

Looking at the OCR of the code that provided the foundation of a tiny part of my early years is a strangely odd experience.

The source code of a childhood ...