Want to make creations as awesome as this one?

Transcript

  • Question5
  • =
  • 0

  • Question1
  • =
  • 0

  • Question4
  • =
  • 0

  • Question3
  • =
  • 0

  • Score
  • =
  • 0

  • Question2
  • =
  • 0

  • Vies
  • =
  • 3

Version 1 - 15/02/21

Réutilisez !

PV

sur une idée de Nicolas Forestier et Hervé Thomas

(Points de Vie)Un exemple utilisant l'extension Sacéfé

Explications en page 9

  • Vies
  • +
  • -1
  • 1

  • Question1
  • =
  • 1
  • 0

  • Score
  • +
  • 1
  • 0

  • Vies
  • =
  • 3

  • Question1
  • =
  • 0

  • Score
  • =
  • 0

  • Vies
  • 3

  • Vies
  • =
  • 0
  • 1

  • Question1
  • =
  • 1
  • 2

  • Score
  • =
  • 5
  • 7

  • Vies
  • =
  • 0
  • 0

  • Vies
  • 3

  • Question2
  • =
  • 1
  • 3

  • Vies
  • =
  • 0
  • 0

  • Question1
  • =
  • 1
  • 2

  • Question3
  • =
  • 1
  • 4

  • Question5
  • =
  • 1
  • 6

  • Vies
  • =
  • 0
  • 1

  • Score
  • =
  • 5
  • 7

  • Question4
  • =
  • 1
  • 5

1

2

3

4

5

PLAY AGAIN

  • Vies
  • +
  • -1
  • 1

  • Score
  • +
  • 1
  • 0

  • Question1
  • =
  • 1
  • 0

Bonne réponse

Mauvaise Réponse

  • Score
  • +
  • 1
  • 0

  • Vies
  • +
  • -1
  • 1

  • Question2
  • =
  • 1
  • 0

Bonne réponse

Mauvaise Réponse

  • Question3
  • =
  • 1
  • 0

  • Vies
  • +
  • -1
  • 1

  • Score
  • +
  • 1
  • 0

Bonne réponse

Mauvaise Réponse

  • Score
  • +
  • 1
  • 0

  • Vies
  • +
  • -1
  • 1

  • Question4
  • =
  • 1
  • 0

Bonne réponse

Mauvaise Réponse

  • Vies
  • +
  • -1
  • 1

  • Score
  • +
  • 1
  • 0

  • Question5
  • =
  • 1
  • 0

Bonne réponse

Mauvaise Réponse

change maximum value to 4 or 5on slide Home Questions

Page 1 allows the (re)initialization of the seven variables used in this example: five variables (Question 1, Question 2...) to determine the status of the questions (whether they were answered or not), one to set the Score to zero, and finally a Lives variable that sets the number of possible trials to 3.The variable/auto script completes the seven bulleted lists. Page 2 corresponds to access to the questions (five buttons) and displays the progress bar represented by three hearts. Eight conditional displays manage the operation of the page. Five of them allow you to display check marks blocking access to the question buttons if you have already answered correctly (variables Question 1, Question 2 etc. to 1).If the Score variable is 5, Group 7 is displayed, corresponding to the success of the exercise.Conversely, Group 0 and Group 1 only appear if the Score is 0, corresponding to Game Over / Play Again.In this page, the drawing of the three hearts is the "moving" part of the progress bar and is grouped with the corresponding element. The variable Lives is assigned the maximum value of 3 which, together with the progress bar script, will ensure that it works properly.Pages 3 to 7 are built on the same principle and use the multi-button function.Two buttons, Correct Answer and Wrong Answer, refer to page 2 and are grouped to a multi-button element. In case of a correct answer, the Question variable takes the value of 1 and the Score increases by 1 point. In case of a wrong answer, one loses a life by adding (-1) to the variable Lives.On page 8, two more progress bars are proposed.