0 votes
by (190 points)
Im using Harlowe online version.

 

is it possible to make a piece of text fall down the screen?

2 Answers

0 votes
by (6.2k points)

Please use the tags to state your format.

I don't know if there is a smooth animation thing in harlowe cause i don't really use that stuff, but this method kinda works?
In the first passage:

Bottom of your text.
(live: 2s)[(goto: 'secondPassage')]

 Second:

Middle of your text.
(live: 2s)[(goto: 'thirdPassage')]

Last:

Top of your text.

This is really messy. Sorry i don't actually know a way to directly answer your question

0 votes
by (23.6k points)
edited by

You can do this with CSS. Put something like this into your stylesheet:

@-webkit-keyframes drop {
  0% {padding-top:0%;}
  100% {padding-top:100%;}
}

@keyframes drop {
  0% {padding-top:0%;}
  100% {padding-top:100%;}
}

.drop {
  position: absolute;
  z-index: 1;
  background-color: none;
  -webkit-animation: drop 5s ease 0.75s forwards;
  animation: drop 5s ease 0.75s forwards;
}

Then use this in the passage like this:

<div class="drop">Text</div>

 

...