News for hackers. Stuff that matters.
Re:Old School Color Cycling with HTML5 by pavlov on Sunday July 25, 2010 @03:58PM (#1546197)
Awesome atmospheric game screens by Mark Ferrari, brilliantly translated into HTML format with the color cycling animations looking "better than ever" thanks to a nice blending effect.

Does anyone know which game these screens originally come from? It's not mentioned on the site.

The resolution is 640*480 at 256 colors, which is better than VGA. That would suggest something fairly recent (perhaps 1994-96).

Re:Old School Color Cycling with HTML5 by jhuckaby on Sunday July 25, 2010 @04:12PM (#1546219)
Most of the scenes are from an old, animated desktop calendar app from 1993 called "Seize The Day" (can't find a link anymore). I believe the rest are from one of the Magic The Gathering games for PC.
Re:Old School Color Cycling with HTML5 by pavlov on Sunday July 25, 2010 @04:23PM (#1546245)
Cool. Thank you for rescuing this art from digital oblivion!
Re:Old School Color Cycling with HTML5 by jhuckaby on Sunday July 25, 2010 @04:35PM (#1546276)
It was my pleasure! :)
Re:Old School Color Cycling with HTML5 by moultano on Sunday July 25, 2010 @05:44PM (#1546423)
Your site is a much better presentation than his of the same art: http://www.markferrari.com/gallery/digital/game_art/
Re:Old School Color Cycling with HTML5 by td on Monday July 26, 2010 @03:52AM (#1547424)
I have a question about this blending effect. In the article, the author writes "If only I'd invented this trick 20 years ago when it really mattered!" But wouldn't this blending have cost a big performance hit, since, to do this with 256 color palettes, you would need to switch to different color palettes very fast, to render all the in-between colors?
Re:Old School Color Cycling with HTML5 by Robin_Message on Monday July 26, 2010 @04:34AM (#1547476)
I think the idea is to interpolate the palettes "in-between" a shift of x and a shift of x+1. If you are going at 60 frames a second, but you only shift palettes every 6 frames say, then you see a jerky ever tenth of a second. If instead you shift the palette by 1/6 every frame (so after a shift of 1/6, you are using 5/6 of colour x and 1/6 of colour x+1), you get a much smoother effect. The computation is trivial, since you are only changing the palette, so you have at most 768 bytes to recalculate. You can also change palettes every frame by outputting those 768 bytes (in fact I think you can only output the changes), which is trivial to do fast.
Re:Old School Color Cycling with HTML5 by listic on Monday July 26, 2010 @04:54AM (#1547497)
Re:Old School Color Cycling with HTML5 by pavlov on Monday July 26, 2010 @05:19AM (#1547538)
Sure, but VGA only supported a palette of 16 colors at 640 * 480.

Lacking an official standard, 640 * 480 with 256 colors was usually marketed as a "Super VGA" mode in the early '90s.