top of page

Timed Choices Ren'py Code

This is a short note about how we got timed choices to work in our game.

Below is a sample of the code we used in one of the exam scenes in the game:

After the first three paragraphs, you only need to write the rest of the code (starting from "label questiontime1:") to summon the timer in whichever scene you want from then on.

Under "menu" you would write the usual choices. Don't forget to write "hide screen countdown" after, below the choice, so the timer bar will disappear after the player has chosen a choice.

2,400 views0 comments
bottom of page