2 ms·
>I do wonder that no one thought of it in even the relatively brief history of videogames prior to Ultima; it does seem a fairly obvious approach, after all. On
by CamperBob2 3y ago
>I do wonder that no one thought of it in even the relatively brief history of videogames prior to Ultima; it does seem a fairly obvious approach, after all. On the other hand, I can’t point to a specific example that would give me grounds to really challenge the claim. ... Ultima‘s tile-graphics engine was not so much the work of Garriott as of a friend of his who was the only other person to have a significant role in the game’s design and implementation: Ken W. Arnold (not the Ken Arnold who created Rogue).
I'll comment briefly on this as someone who spent a couple of years trying to build an Ultima-esque tile graphics game on the Apple II. Ken had a clever insight that eluded me completely: "Don't try to draw the tiles one at a time, dummy."
Ken's code was fast enough to be useful in an interactive fullscreen game because it drew an entire row of 280 pixels at once, then went back over the same row of map data, reusing the indexes for the next 14 lines in that row of tiles. There was less indirection and practically no overhead compared to drawing individual 2-byte-by-14-row block shapes.
Conversely, anyone trying to draw one tile at a time would have ended up with a low update rate, or would have been forced to draw the map in a small window. Either way, a worse gameplay experience would have resulted, especially if you were (as I was) comparing your work to Ultima.
- pengaru 3y ago> A good example of the same kind of thinking, much later, would have been Abrash's exploration of the undocumented "Mode X" on the MCGA cards (https://en.wikipedia.org/wiki/Mode_X https://en.wikipedia.org/wiki/Mode_X), without which Wolf3D and Doom would have been much less awesome. Neither Wolf3D or Doom used Mode-X, they're both 320x200 "Mode-Y" games IIRC.
- CamperBob2 3y agoThanks -- I'll remove that postscript, as it appears to be wrong. A quick search doesn't make the story 100% clear, so it's better not to spread potential misinfo.
- pengaru 3y agoConveniently both your examples have received technical deep dives by Fabien Sanglard, who has made both the relevant texts freely available in PDF form [0][1]. Mode-X was an annoying video mode to actually make use of without a performance hit. So despite its highly desirable combination of square pixels and 256-colors, it didn't see much use in games from the DOS days. 13h (320x200x256) was far more common because of its contiguous, linear frame buffers. Mode-X needed annoying bank switching where the first bank had pixels 0,4,8... and second bank pixels 1,5,9... and so on. The VGA was such a PITA. [0] https://fabiensanglard.net/b/gebbwolf3d.pdf https://fabiensanglard.net/b/gebbwolf3d.pdf [1] https://fabiensanglard.net/b/gebbdoom.pdf https://fabiensanglard.net/b/gebbdoom.pdf
- CamperBob2 3y agoWow, those actually are pretty great. There goes the rest of the day...!
- dekhn 3y agoHuh, well that's reason #27 that my ultima-like tiles never rendered fast enough. I was making the equivalent of sprites (hex codes) and I think you could even draw them from BASIC (although looping in BASIC was too slow to update the tiles).
- pvg 3y agoAre you thinking of shape tables? Those were 'vector' based (sort of), hexy, usable from BASIC but too slow for anything 'real', at least, not on a Ultima-sized game type of scale.
- dekhn 3y agoyes https://en.wikipedia.org/wiki/Shape_table https://en.wikipedia.org/wiki/Shape_table after I realized I coudln't do this in BASIC fast enough I went down the assembly route but never could figure out the various math bits required to deal with the weird addressing of Apple IIe high res graphics.
- pvg 3y agoYeah, I think the effective purpose of shape tables was to waste the time of the zillions of kids who thought they could write a game that way. Although I did make myself a crappy Rally X clone (although my 'inspiration' was Super Off Road) using shape tables for the (two) cars and that mostly worked. For a pile of tiles it would be hopeless though.