Image:
 Author: Xray Group: Default Filesize: 43.84 kB Date added: 2022-09-23 Rating: 5.9 Downloads: 2603 Views: 469 Comments: 20 Ratings: 3 Times favored: 0 Made with: Algodoo v2.1.0 Tags:
|
Need a ready-made progress spinner for your scenes? Well, you've come to the right place! Simply copy the spinner and store it in your "Components" folder until needed. The text box below the spinner can be used for testing, and it tells you what "scene.my" variables are used to control it. You do not need that box when you use the spinner in your own scene. Let me know if you have questions in the comments.
This is my gift to anyone who can use it, and you do not need to credit me if you don't want to.
NOTES: Here are a few things about the spinner that you may be interested in. 1. The spinner is laid out like the numbers on a clock. Segments 1 through 11 are "slave" segments. That is, they get their control signal from the "master" segment 12. The script that handles timing of all the segments is located in the upDate event of segment 12. 2. Although I placed all 12 segments in a circle, you can ungroup them and place them in any pattern that you want (linear, circular, or even random). Basically, play around with them and see what ideas you can come up with!
REVISIONS: 1. Scene.my global variables now are set when the scene gets loaded. 2. Added decay-rate variable which adjusts how quickly each segment fades after turning white. 3. The three scene.my variables that are used to control the spinner are now adjustable for testing. After you have decided on the values for those variables, you won't need to adjust them again except for scene.my.spinner, which enables and disables the spinner.
IMPORTANT NOTE! Earlier I stated you can save the progress spinner in the "Components" folder, but I don't believe that this can be used as a "phunlet". So, instead, I suggest that you save the entire scene in your "scenes" folder, and when needed, simply copy/paste the progress spinner into your own scene. If you need help getting it to work, shoot me a comment. (just please don't shoot me!)
Xray |