make a game

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

Moderators: Commodore, Zenith Nadir

craycpanda
god not again i hate you
Posts: 69
Joined: Fri Apr 23, 2004 10:58 pm
Location: SWEEEEEEEEEEEEEDEEEEEEEEEEEN
Contact:

Post by craycpanda »

do passages have stats?

if not make a game where you leave the board several times to go fight a hardcore boss called HAYZOOS or MR. SHEFFIELD

that's a game i would play
User avatar
Alexis Janson
wacky morning DJ
Posts: 307
Joined: Fri Feb 20, 2004 1:05 am

Post by Alexis Janson »

Passages do have stats. The easy way to tell if something has stats is to try to fill the board with it. If it only fills a patch and then runs out of juice, it has stats.
User avatar
Alexis Janson
wacky morning DJ
Posts: 307
Joined: Fri Feb 20, 2004 1:05 am

Post by Alexis Janson »

here's another, more subjective ZZT puzzle:

what's the most useless possible line of code that still could theoretically do something?
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. »

I'm not quite sure what you mean. Example, please.
User avatar
Commodore
fgsdfs
Posts: 2471
Joined: Wed Mar 12, 2003 5:44 pm
Location: :noitacoL
Contact:

Post by Commodore »

if it could do something I don't think it'd be useless, though I think the best answer for your question would be

'restart

where you could #restore restart somewhere else.
*POW* *CLANK* *PING*
User avatar
Dr. Dos
OH YES! USE VINE WHIP! <3
Posts: 1772
Joined: Tue Mar 11, 2003 12:00 am
Location: Washington

Post by Dr. Dos »

he wants it to be one line!

because my suggestion was

#if x y
:y
Visit the Museum of ZZT
Follow Worlds of ZZT on Twitter

Apologies for the old post you may have just read.
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. »

Code: Select all

#play This lin3 only pl@ys @ singl3 note.
#try cw w #try ccw e #try opp s #try n ?n
#if blocked n #if blocked opp s #try n ?n
#try n #try opp s #try cw w #try ccw e ?n
What specifically is meant by "do something"?
Last edited by Quantum P. on Wed May 17, 2006 11:33 pm, edited 1 time in total.
User avatar
graa
MEMBER RANK
Posts: 19
Joined: Sun Mar 19, 2006 3:32 am

Post by graa »

@Interaction
User avatar
Alexis Janson
wacky morning DJ
Posts: 307
Joined: Fri Feb 20, 2004 1:05 am

Post by Alexis Janson »

by does something, i mean there is a context in which it matters if that line is there or not.

#if not any boulder change boulder empty

never does anything in any context, so it's not allowed.
User avatar
Alexis Janson
wacky morning DJ
Posts: 307
Joined: Fri Feb 20, 2004 1:05 am

Post by Alexis Janson »

Here's the best I can come up with:

#if not any object change empty cyan empty

can you figure out the incredibly contrived scenario in which the omission of this line would result in an observable consequence?
User avatar
http://yahoo.com/
*shuggles*
Posts: 393
Joined: Mon Apr 26, 2004 5:11 am
Location: in madtom land

Post by http://yahoo.com/ »

you're on the toilet and there's a man pointing a gun at you

he wants to know if you have any cyan empties on your person
this is a deep and meaningful quote
User avatar
Dr. Dos
OH YES! USE VINE WHIP! <3
Posts: 1772
Joined: Tue Mar 11, 2003 12:00 am
Location: Washington

Post by Dr. Dos »

Reading out loud to children from an empty book, and the children have hanguns leveled at you, ready to shoot if you make a mistake
Visit the Museum of ZZT
Follow Worlds of ZZT on Twitter

Apologies for the old post you may have just read.
User avatar
Commodore
fgsdfs
Posts: 2471
Joined: Wed Mar 12, 2003 5:44 pm
Location: :noitacoL
Contact:

Post by Commodore »

does #if any object work in an object?

could it work in a scroll?
*POW* *CLANK* *PING*
User avatar
TTTPPP
Latest band news: "There are no news!"
Posts: 108
Joined: Sat Oct 11, 2003 7:20 pm

Post by TTTPPP »

The only thing I could come up with was sticking it in a scroll. Then you could have a line later in the scroll which #put a key (without specifying colour).

Personally I think the line

Code: Select all

#change normal line
is pretty useless, though it obviously could make a difference.

Is it possible that

Code: Select all

#if blocked s #if not blocked s #put s key
could create a key? I don't know how zzt parses the object code.
User avatar
Alexis Janson
wacky morning DJ
Posts: 307
Joined: Fri Feb 20, 2004 1:05 am

Post by Alexis Janson »

you got it, sir! except that scrolls can't #put, it causes zzt to crash. easiest is to have a second scroll which checks if there are cyan empties and does something about it if there are.

i'm pretty sure i've USED #change normal line

#if blocked s #if not blocked s always returns negative
Post Reply