Quantcast
Channel: Help! with 2.0 - Twine Forum
Viewing all articles
Browse latest Browse all 1844

Fadeout issue (Sugarcube 2.11.0)

$
0
0
I'm using the following to fade out text, in order to simulate death/gameover.

The problem I have is that once the text has faded away, it pops back up again and remains on the screen.

How would I adapt this so that once the text has faded away, it remains gone?
body.gameover .passage {-webkit-animation: fadeout 10s;
       -moz-animation: fadeout 10s;
        -ms-animation: fadeout 10s;
         -o-animation: fadeout 10s;
            animation: fadeout 10s; width: 500px; margin: 250px 0 0 50px; }
@keyframes fadeout  {from {opacity: 1;} to {opacity: 0;}}

Thanks in advance.

Viewing all articles
Browse latest Browse all 1844

Trending Articles