Master Passage

J_H_Bailey
12 Dec 2017, 16:38

I'm just new learning to use Squiffy and wanted to make a master passage to clear the screen between sections.
The documentation shows -
[[]]:
@clear

When I put that at the beginning of the file and run it I just get a blank screen. What am I missing?

Thanks


K.V.
12 Dec 2017, 16:45

Hello.

Try putting it at the end. (That's what I do.)


J_H_Bailey
12 Dec 2017, 16:51

Thanks. That did it. I guess I assumed that anything that ran throughout the game needed to be configured at the beginning.


K.V.
12 Dec 2017, 17:08

It's cool. That's the same thing I did the first time, too.

Squiffy will start at the beginning of the file, unless you use @start to specify the first section.

http://docs.textadventures.co.uk/squiffy/start.html


There's a bunch of good information here:
http://docs.textadventures.co.uk/squiffy/

And there's more detailed (and more confusing) information here:

https://github.com/textadventures/squiffy/tree/gh-pages