Welcome to the Creatures Wiki! Log in and join the community.

Difference between revisions of "Rainbow spew"

From Creatures Wiki
Jump to navigation Jump to search
(New page: right|thumb|The rainbow spew error in [[Ostrova.]] '''"Rainbow spew"''' is a Macintosh-only error of the BLK files that make up the background of [[meta...)
 
m
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
[[Image:Ostrova-error.png|right|thumb|The rainbow spew error in [[Ostrova]].]]
 
[[Image:Ostrova-error.png|right|thumb|The rainbow spew error in [[Ostrova]].]]
'''"Rainbow spew"''' is a [[Macintosh]]-only error of the [[BLK files]] that make up the background of [[metaroom]]s.  It is to do with holes in the BLK file.
+
'''"Rainbow spew"''' is the Creatures term given to the effect of attempting to display a texture or sprite in the wrong color depth.
 +
For example, if a program tries to load a 24-bit bitmap as a 16-bit bitmap, it will read the first ''two'' bytes, instead of the first three, and attempt to display that color as the first pixel, then read
  
*[http://www.creatures.org.uk/ccsf2006/news.php?id=36 Coining of the term]
+
{|class="wikitable" style="font-family:monospace;"
 +
|-
 +
!style="font-family:sans-serif;"|What is stored
 +
|style="background-color:#ddd;"|8||style="background-color:#ddd;"|C||style="background-color:#ddd;"|C
 +
|3||2||A
 +
|style="background-color:#ddd;"|9||style="background-color:#ddd;"|0||style="background-color:#ddd;"|3
 +
|0||C||1
 +
|-
 +
!style="font-family:sans-serif;"|What is displayed
 +
|style="background-color:#ddd;"|8||style="background-color:#ddd;"|C
 +
|C||3
 +
|style="background-color:#ddd;"|2||style="background-color:#ddd;"|A
 +
|9||0
 +
|}
 +
See also [[555/565]], [[green spew]].
 +
*[https://web.archive.org/web/20211014072954/https://www.creatures.org.uk/ccsf2006/news.php?id=36 Coining of the term]
  
[[Category:Terms]][[Category:Errors]]
+
[[Category:Terms]][[Category:Bugs]]

Latest revision as of 00:21, 16 May 2022

The rainbow spew error in Ostrova.

"Rainbow spew" is the Creatures term given to the effect of attempting to display a texture or sprite in the wrong color depth. For example, if a program tries to load a 24-bit bitmap as a 16-bit bitmap, it will read the first two bytes, instead of the first three, and attempt to display that color as the first pixel, then read

What is stored 8 C C 3 2 A 9 0 3 0 C 1
What is displayed 8 C C 3 2 A 9 0

See also 555/565, green spew.