Progress bar with scores?

Best Answers
-
Yes! I've done this before with a timer object. Just set the timer to not autostart, set it to count up, and use a "bar" style. With a "bar" style counter, you can adjust its size in both width and height independently, so you can easily get the look of a progress bar.
Then just use a "Set Time" Action to set it to whatever value you want. If you want it to reflect the actual score variable, set the Time of the timer to be 100 seconds so that it will have values of 0-100, and if you are automatically calculating the score, you can set the value with the score variable by using %SCORE% in the value field for the "Set Time" action
-
Answers
-
I had a similar question as the OP, and the problem I was facing was transferring the timer value between scenes. I have been able to figure it out based on @johnb's answer. Here's what I did:
- In scene 1 have a timer (with generated variable name Timer87)
- On the Done state of scene 1, add a Modify Variable action with: SCORE = %Timer87%
- In scene 2 have another timer (with generated variable name Timer89)
- On the Show state of scene 2, add a Set Time action with: [name of timer] = %SCORE%
The second timer will now start with the last value of the first timer :-)
PS: those arbitrary generated variable names make it hard to remember which timer belongs to which scene; please make it possible to change their variable names!
Categories
- 35.8K All Categories
- 109 ✫ Announcements
- 33.1K Lectora®
- 31.1K Lectora Discussions
- 28.9K Lectora Desktop
- 2K Lectora Online
- 2K Lectora Feature Requests
- 71 Lectora User Groups
- 36 Lectora Accessibility User Group (LAUG)
- 22 ELB Learning Content
- 22 ELB Learning Content Discussions
- 321 CenarioVR®
- 188 CenarioVR Discussions
- 133 CenarioVR Feature Requests
- 41 Rockstar Learning Platform®
- 38 Rockstar Learning Platform Discussions
- 108 CourseMill®
- 108 CourseMill Discussions
- 47 ReviewLink®
- 47 ReviewLink Discussions
- 5 The Training Arcade®
- 5 The Training Arcade Discussions
- 934 All Things eLearning
- 36 eLearning Development
- 546 Learning Management System (LMS) Integration
- 332 Web Accessibility
- 1.2K ♪ The Green Room
- 9 Additional Learning Products