@changer
#cycle 1
#if ubon then makepath
#restart
:makepath
#put w empty
/w
#put e empty
#put w empty
/w
#put s empty
/e
#put s empty
/e
#put s empty
#clear ubon
#die
ubon is merely a flag that determines when this goes into effect.
For some reason, the object will not put anything south. Is that supposed to happen, or is it totally freaking out?
Jazzy's right; you can't #put anything in the bottom row, because of some off-by-one error Tim Sweeney made when he wrote ZZT. For compatibility reasons, though, I'd recommend a workaround rather than a modified version of ZZT. I can think of at least two ways to create the same effect:
* Replace the tiles that are supposed to disappear with objects that #die when commanded to do so.
* Replace the tiles with a different type of terrain, but one that looks the same. For example, if the terrain on bottom row is originally a dark green solid, replace the tiles you want to disappear with dark green gems on a dark green background - then just #change gems empty.
Thanks, guys. I also thought of that idea with the row of objects dying, but wanted a different effect, so I'll try Dos' second idea.
In highly unrelated news, does anyone here know who Garrison Keillor is? He does the popular radio show entitled "A Prairie Home Companion", and I'm probably the only person at my high school who listens to it. I asked everyone else if they knew about it, but they were all like, "What's a Garrison Keillor?". Then, the stabbing commenced.
There is a good degree of reverse compatibility in that 3.2 games should run fine in ZZT 3.25, but there isn't as much compatibility if you're going the other way (for example, if FYNDR used #put statements in a way that doesn't work in ZZT 3.2). I'm just saying that wherever possible, games should not depend on an unofficial version of ZZT.
But that's just me being ultra-purist, I guess. ZZT 3.25 will play almost every ZZT 3.2 game ever made - I've only seen one engine that depends on the #put bug, and in my opinion, it wasn't a terribly useful one.
I'd gladly use ZZT 4.1 (thank you Viovis) if it weren't for the fact that he took
out all the sound effects. Maybe that's just *me* being a purist, but I happened to like those sounds. =( Oh, and like I said elsewhere, you're also
still limited to 150 objects, contrary to what the .txt file says. I do love the
fact that he pushed the board size to 32kb though. I use 4.1 to make and
read a journal, mostly because no one else in my family knows how to get through the primitive locks I've put on there (eg have all the boards labeled !nono;{boardname} and one another labeled :nono, and put in a ?+password system on the main board). Anyway, that's just me. =/
JESUS CHRIST- You start the New Testament
with this Jesus. He is so superpowered and awesome, you feel converted. You place your hope in this Jesus.