ZZT-OOP interfacing with expanded color pallette

NOTE: I HATE A LOT OF YOUR ZZT GAMES, SO WATCH OUT!

Moderators: Commodore, Zenith Nadir

Post Reply
InfoSponge
Official Clamp School Defender
Posts: 169
Joined: Tue Sep 16, 2008 3:06 pm
Location: 1. n. a place of settlement, activity, or residence

ZZT-OOP interfacing with expanded color pallette

Post 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?
User avatar
Quantum P.
Level 17 Accordion Thief
Posts: 1433
Joined: Fri Sep 12, 2003 1:41 am
Location: Edmonds, WA
Contact:

Post 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.
User avatar
Scribbit
is keeping the new avatar, thanks.
Posts: 543
Joined: Tue Sep 18, 2007 8:06 pm

Post by Scribbit »

Actually, you can refer to STK colors by foreground color sometimes, as long as it's not black or grey.
I'm nupanick.
InfoSponge
Official Clamp School Defender
Posts: 169
Joined: Tue Sep 16, 2008 3:06 pm
Location: 1. n. a place of settlement, activity, or residence

Post by InfoSponge »

:/ what do I do if it's black (or grey, I guess)? can anything be done?
User avatar
Scribbit
is keeping the new avatar, thanks.
Posts: 543
Joined: Tue Sep 18, 2007 8:06 pm

Post 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.
I'm nupanick.
InfoSponge
Official Clamp School Defender
Posts: 169
Joined: Tue Sep 16, 2008 3:06 pm
Location: 1. n. a place of settlement, activity, or residence

Post by InfoSponge »

:( :(

:911:
Post Reply