13 ms·
It's Behind You: The making of the game R-Type on the ZX Spectrum
- AlexeyBrin 13y agoThis is a great little book.
- Jare 13y agoThis book is awesome for anyone who lived those days. "the PDS assembler could only handle source files up to a certain size so the more you commented your work the less room you had for the actual game code itself"
- Sodaware 13y agoReminds me of trick from the Commodore BASIC days, where you could use "?" as a replacement for "PRINT" to save a whopping 4 bytes. Seems silly now, but back then it made all the difference.
- Doctor_Fegg 13y agoDon't know about Commodore BASIC, but in Locomotive BASIC on the Amstrad CPC, "?" was just a text-entry convenience rather than a memory-saver. BASIC was stored tokenised, so "?" was one byte same as "PRINT" (in fact, I think it was the same byte).
- vidarh 13y agoYes, it's that way on C64 too - it didn't save any space. People certainly did do a lot to save space through omitting spaces, using ";" to separate statements instead of new lines etc.
- ssdsa 13y agoIn Commodore BASIC you use ":" to separate statements. ";" is used at the end of a PRINT statement to keep it from appending a newline.
- mattl 13y agoRecognize your name from the old AA days :)
- LionRoar 13y agoYou are correct. In fact, Commodore Basic had more of these shortcuts which allowed you to type in Basic commands really quickly. If you LISTed the code all shortcuts were changed to their correct command names. Kind of stenographic coding. Never saw anything like that later on with the 'modern' programming languages.. Maybe someone should bring this approach back :) Edit: found a list of the keyword abbreviations. More then I expected/remembered. http://www.c64-wiki.com/index.php/BASIC_keyword_abbreviation http://www.c64-wiki.com/index.php/BASIC_keyword_abbreviation
- rbanffy 13y ago> Never saw anything like that later on with the 'modern' programming languages.. You can always use Emacs and YASnippet. Also, Eclipse has a good couple of extremely handy word expansions.
- ssdsa 13y agoIn Commodore BASIC, the PRINT command is tokenized and stored as a single byte $99 - see this wiki: http://www.c64-wiki.com/index.php?title=BASIC_token http://www.c64-wiki.com/index.php?title=BASIC_token When you use "?", this gets stored as the same token $99 as well. When you LIST the program then, you see PRINT.
- Sodaware 13y agoI did not know that. You learn something new every day!
- Doctor_Fegg 13y agoAnd that is why, 25 years on, I still use hard tabs rather than spaces. I got into the habit on the Amstrad CPC using the Maxam assembler. 40k was the limit for a source file and some of the stuff I did, like a UK-wide route-planning program (think an enormously primitive version of Autoroute), seriously pushed that. Having hard tabs, rather than eight spaces, was a major memory saving, while still retaining readable code. Well, as readable as Z80 ever got. Haven't managed to wean myself off them since...
- randomhunt 13y agoPDS also wished you Merry Christmas if the date was December 25. I coveted it an unhealthy amount whilst being stuck with various machine code monitors on the C64 itself, eventually later having the money to upgrade to an assembler. Of course then there was a whole other class of memory problems as most of them hooked BASIC to work so you were quite limited in the length of programs; everyone became very good at manually laying out blocks to memory and disc.
- muyuu 13y agoThe tune is blasting in my head now. Title tune by Huelsbeck and level 1 by Whittaker... these two wrote so many great game tunes.
- incision 13y agoGreat composer, no doubt, but slow (Estimated delivery: Dec 2012) going with the Turrican Soundtrack Kickstarter [0]. 0: http://www.kickstarter.com/projects/chris-huelsbeck/turrican-soundtrack-anthology-by-chris-huelsbeck http://www.kickstarter.com/projects/chris-huelsbeck/turrican...
- muyuu 13y agoThanks for the heads up!
- mzs 13y agoI think you must be remembering the C64 version instead of this ZX one.
- muyuu 13y agoI remember these two and the Amiga versions (A500, Amiga CD). He played it with a symphonic orchestra too. But yeah, out of these I think the Amiga/C64 title screen tune is the best, and then the first level (by Whittaker, basically the same tune across versions). This one: Amiga CD https://www.youtube.com/watch?v=qDlvga_j0Ks https://www.youtube.com/watch?v=qDlvga_j0Ks symphonic re-arrangement https://www.youtube.com/watch?v=zwLFjFD3sak https://www.youtube.com/watch?v=zwLFjFD3sak
- coffeemug 13y agoI learned to program on the ZX Spectrum. Ahhh, memories...
- stevekemp 13y agoMe too, first basic then assembly. One of my favourite games was R-Type, and this book is a great read. I'm rationing myself so I have some left for tomorrow evening!
- ghoul2 13y agoSame here. The ZX manual that came with a list of Z80 opcodes was how I learnt assembly/machine code programming. I lived in a real backwaters, and getting the ZX Spectrum as a gift from a distant uncle changed my life. Had no other books, no community, absolutely no other resources to learn anything. But the ZX and its manuals got me to where I could write machine code programs without even looking up the opcodes. Ah...nostalgia.
- adrianhoward 13y agoDitto. My first computer was the family spectrum. Learnt basic. Then hand assembling machine code. Wrote my own assembler at one point. Good times ;-)
- naich 13y agoSpectrum? You youngsters had it easy. I cut my teeth on a ZX81.
- rasur 13y agoChewing mine always made the RAM-pack wobble, and the machine crash ;)
- robin2 13y agoI had a ZX81... nearly put me off for life http://rdn32.com/2013/07/28/how-i-got-into-programming/ http://rdn32.com/2013/07/28/how-i-got-into-programming/ When I visited the Centre for Computing History (http://www.computinghistory.org.uk/ http://www.computinghistory.org.uk/) I noticed that as well as having games for their collection of 1980s home computers, they also had developer tools. Having read about Ian Bogost's "A Slow Year" (for the Atari 2600) it occurred to me that making new games for old machines using "period instruments" might be an interesting exercise. What I had in mind was games that would never have been written at the time, but that would have been technically feasible. That's as far as the idea got because, er, I'm not a games programmer. As close as I got to an actual idea was that perhaps it would be possible to write a Tetris clone for the ZX Spectrum. Can anybody think of something better?
- mzs 13y agoNeat, check-out the sprites for Lizzy and George from Rampage, they are often the same when not in profile! They're under the Extras button.
- harel 13y agoThis made my day!
- bond 13y agoOne of my favorite games I played on my Spectrum and on a friend's Amiga.
- Ecio78 13y agoI played it on my MSX-2 just checked on youtube to remember how it was: http://www.youtube.com/watch?v=QkBL8KjAyDs http://www.youtube.com/watch?v=QkBL8KjAyDs the scrolling was choppy but the action was.. action!
- Gazk 13y agoThis looks like a great read. It must have been challenging to do a decent arcade conversion for the 8 bit home computers. The spectrum was probably slower than the z80 sound cpu in the arcade board.
- Groxx 13y agoDownloading the PDF takes quite a while D: Maybe they're being overloaded a bit? Anyway, here's a mirror of the book's PDF (14MB): http://f.cl.ly/items/1C1J1c3W0V2e1903453r/It%27s%20Behind%20You-%20the%20making%20of%20a%20computer%20game%20by%20Bob%20Pape.pdf http://f.cl.ly/items/1C1J1c3W0V2e1903453r/It%27s%20Behind%20...
- zaf 13y agoCan't wait to read the PDF! Thank you Bob. One of the best games ever and an unbelievable ZX Spectrum port. I still remember holding and reading the box cover from the shops to my home. And, shameless plug, this is what I did for my summer vacation project: "R-Type Real Time Memory Visualisation" ZX Spectrum http://zaf.io/page-3o.html#p139 http://zaf.io/page-3o.html#p139
- abdulhaq 13y agoI've got to say that for anyone who owned a micro in this period, you should spend an evening reading this book. I loved it, fascinating stuff!
- thibaud 13y agoI play that game on my nexus 7 (https://play.google.com/store/apps/details?id=com.dotemu.rtype https://play.google.com/store/apps/details?id=com.dotemu.rty...) love it :)
- opminion 13y agoNote that the book is freely available, but the game unfortunately is not (or at least [1] says "distribution denied"). http://www.worldofspectrum.org/infoseekid.cgi?id=0004256 http://www.worldofspectrum.org/infoseekid.cgi?id=0004256 I remember that the Spectrum version of the game was very good, with full colours (perhaps thanks to very fast 8-pixel jumps), as well as the arcade machine it was based on.
- acqq 13y agoThe author writes in the book exactly how he managed to contol the colors: the shapes that scroll pixel by pixel never mix with anything of different color horizontally. The things that move freely move in 8 pixel jumps. Magic.
- bhrgunatha 13y agoSome nostalgia, then - https://www.youtube.com/watch?v=56IFFd43acU https://www.youtube.com/watch?v=56IFFd43acU That includes the full experience of loading the game from tape. I guess on those who had a ZX-Spectrum will bother watching. For actual game-play footage , jump to 5:38 - https://www.youtube.com/watch?v=56IFFd43acU#t=5m38 https://www.youtube.com/watch?v=56IFFd43acU#t=5m38
- tolitius 13y agoit's so rings a bell: http://www.dotkam.com/2008/11/19/zx-spectrum-child/ http://www.dotkam.com/2008/11/19/zx-spectrum-child/
- breckinloggins 13y agoI just read the whole thing and it was definitely worth it! If you like these kind of coder memoirs (especially if you like Masters of Doom) then this will be right up your alley. Plus I'm an R-Type fan so that's an added bonus. As I was reading it I couldn't help but feel a bit of regret. It was in 1991 on a visit with my dad to LA that I got my first computer (a TRS-80 Model III) along with a book on programming in BASIC. I didn't know what I was doing, but I wanted the computer to do the stuff I saw on War Games and Explorers. I got pretty far but it wasn't until 1996 or so that I really got into the swing of "serious" programming in C and C++. Growing up in Dallas, TX I didn't have the first clue where I might find people interested in this stuff. Until sophomore year in college it was really just me. I find that I regret not having lived in a place where I could have "gotten into the scene" early. This is even more ironic considering that my idol at the time (and arguably today as well), John Carmack, worked less than 5 miles from my house!
- n-gauge 13y agoThis is a fantastic read, brings back many memorys of my youth. One thing I was thinking about was the undisclosed multiface backup hack that was mentioned. I believe this could have been done using the Z80 shadow registers, which was a copy of all the Z80 registers in a seperate bank and had to be switched to in by code. If these were used instead via in game switching the multiface 1 would not be able to switch to the shadow registers, it would just copy the main registers, so storing a key in the shawdow register would defeat the multiface 1. ...and thanks again to the op for this ebook.
- mpermar 13y ago"My original plan was to self-publish this book and put it up for sale - at a purely nominal price of course (ahem) - and maybe make a few pounds from the thing but there's a part of me that finds this idea just wrong" There is nothing wrong with making a few pounds from such an interesting story. I'm sure there is more people around like me who actually find a pity not being able to easily purchase a physical copy of this book. I actually find quite convenient to pay for not having to print it ( I mean book printing ) myself. And I actually love to have physical books too, specially this sort of books :)
- feintruled 13y agoFrom reading this, it appears the only reason we had any decent 8-bit games at all was due to professional pride and heroic effort on the part of the bedroom programmers employed! He was largely left to his own devices (but given a tight deadline). Bittersweet moment in the book - the photo of some suit accepting the "best game" award for his game. They never even bothered to tell him he had won...
- blackdivine 13y agoDoes anyone else see the logo image moving in a weird way? like when you are not exactly looking at it, it feels like animating, like those fancy optical illusions. (sorry for being off-topic but this is bothering me)