Page 1 of 1

ZZT-OOP interfacing with expanded color pallette

Posted: Thu Nov 13, 2008 8:39 pm
by InfoSponge
So uh, I'm still a bit new with all this STK fanciness, and expanded colors and whatnot.

But, uh, basically, my question is how I refer to fakes that are a blend of colors in ZZT-OOP. So, say I've got a patch of black with loose purple dots (ASCII Char 176, I think it's invisible or whatever) that make up part of my floor, and I want to change them to just black with no other color "screens" or whatever.

Can I do it? How? What do I refer to those blocks as?

Posted: Thu Nov 13, 2008 11:51 pm
by Quantum P.
If you're using them as floor material, they aren't dark purple invisible (char 176 = Image) on a black background. They're black fake (char 178 = Image) on a dark purple background.

Unfortunately, ZZT-OOP doesn't have names for the STK colors, so the best you can do with #change statements is #change fake empty, which would wipe out all your fakes/floors.

Posted: Fri Nov 14, 2008 2:17 am
by Scribbit
Actually, you can refer to STK colors by foreground color sometimes, as long as it's not black or grey.

Posted: Fri Nov 14, 2008 6:00 am
by InfoSponge
:/ what do I do if it's black (or grey, I guess)? can anything be done?

Posted: Fri Nov 14, 2008 8:21 pm
by Scribbit
I don't think so. ZZT's just not designed to handle that. What you can do that's cool is to make invisibles with a non-black background: they work like walls but you can refer to them by their invisible foreground color.

Posted: Fri Nov 14, 2008 9:13 pm
by InfoSponge
:( :(

:911: