I think what I would do is have 2 locked groups of stars overlaying each other. The back one the stars would be gray, and to top one whatever color you want. To register a value simply change the right of the top group to any value you want, to obscure the gray stars underneath.
Bob S On Apr 1, 2021, at 9:49 AM, David V Glasgow via use-livecode <[email protected]<mailto:[email protected]>> wrote: Hi folks, I am thinking about an app to create a 'star score' graphic for any given score/maximum value. I don’t want it to be just integers up to the number of stars, but for one for the stars (if mean score is neither zero or the maximum) to be part golden and part grey. I initially thought this would be straightforward but I am now scratching my head. I was wondering whether there is an ink combination of two graphics (star and ‘screen’) which would allow the covered part of the star to appear grey but the card bg behind the screen to be unaffected. Please assume I really don’t understand inks at all. If that isn’t going to work, any other suggestions? Best Wishes, David G _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
