Programming Problem

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

Moderators: Commodore, Zenith Nadir

Post Reply
518
What can be said now?
Posts: 0
Joined: Tue Dec 09, 2003 2:04 am

Programming Problem

Post by 518 »

I need something invisible to the player to be changed to a color-coordinated invisible something on a dark blue background.

Don't catch my drift? Neither do I. Let me explain.

I have a full dark blue solid background. Is there any way to change a block of it into a white invisible, or something that still appears dark blue-on-blue but is different than the other ones placed in the same way?

I've tried using #put s <color> invisible on dark-blue-on-blue fakes, but to no avail.

Can someone help?
Ryan Ferneau
LOOK OUT FER BAAAD BOB
Posts: 116
Joined: Fri Mar 28, 2003 12:51 am

Post by Ryan Ferneau »

You mean a white invisible on a blue background? Maybe.... Let me see.
518
What can be said now?
Posts: 0
Joined: Tue Dec 09, 2003 2:04 am

Post by 518 »

Or something that is still invisible to the player.
136
What can be said now?
Posts: 0
Joined: Thu Apr 03, 2003 2:10 am

Post by 136 »

If the fake wall is color hex 11h (dark blu on dark blu) it shud put a invisible wall that look the same. Anuther way to make sumthing look invisible on that background is a objects dark blu on dark blu chr 32 will work.
518
What can be said now?
Posts: 0
Joined: Tue Dec 09, 2003 2:04 am

Post by 518 »

Well it doesn't. And I need a terrain of some kind because I'm having another object to see if it is present.
136
What can be said now?
Posts: 0
Joined: Thu Apr 03, 2003 2:10 am

Post by 136 »

Wy do you need a blu background enyways? Post here evrything that is doing on that bord in the game, and then I mite be able to help you wat in you ar do.
518
What can be said now?
Posts: 0
Joined: Tue Dec 09, 2003 2:04 am

Post by 518 »

I need a blue background so it will go with the menu screen. No other color really works. Even if I used dark red, the same problem would remain.
66
What can be said now?
Posts: 0
Joined: Fri Mar 14, 2003 8:20 pm

Post by 66 »

Well then
You can not place invisible walls which are dark-blue. they will only get this colour when you walk into it
Instead try revising it with either using objects or solid walls
MadTom
<:D
Posts: 886
Joined: Fri May 13, 2005 6:37 am

Post by MadTom »

#put a blue door, then put an invisible over it without specifying a colour. That should give you a white invisible on a blue background, but keep in mind that the blue background will also still be visible.
518
What can be said now?
Posts: 0
Joined: Tue Dec 09, 2003 2:04 am

Post by 518 »

Well in my case, it's good for the blue background to be visible.

Also, putting an object will not work.
Last edited by 518 on Mon Jan 26, 2004 7:33 am, edited 1 time in total.
518
What can be said now?
Posts: 0
Joined: Tue Dec 09, 2003 2:04 am

Post by 518 »

No wait that doesn't work at all.

Okay, if I get down to the root problem...

How can you get several objects to zap a command for another object?

ie, each object checks if a corresponding flag is set then tells the main object to zap one of its commands.

I mean, yes, you can't just do #<objectname>:zap <command>. But whenever I try to get an object to send the main object another command that zaps the command, it doesn't work correctly.

Any help?
MadTom
<:D
Posts: 886
Joined: Fri May 13, 2005 6:37 am

Post by MadTom »

#zap object:tag works.
518
What can be said now?
Posts: 0
Joined: Tue Dec 09, 2003 2:04 am

Post by 518 »

Thanks.
Ryan Ferneau
LOOK OUT FER BAAAD BOB
Posts: 116
Joined: Fri Mar 28, 2003 12:51 am

Post by Ryan Ferneau »

Maybe you should put up a screenshot so we have a better idea of what this is supposed to look like.
Post Reply