Star score graphic generator achievable with inks... or...?

Bob Sneidar bobsneidar at iotecdigital.com
Thu Apr 1 13:00:43 EDT 2021


Actually I think you would have to set the width of the top group, then set the left of the top group to the left of the bottom group. Simply changing the right will move the group I think. Just going off memory.

Bob S


On Apr 1, 2021, at 9:59 AM, Bob Sneidar <bobsneidar at iotecdigital.com<mailto:bobsneidar at iotecdigital.com>> wrote:

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 <use-livecode at lists.runrev.com<mailto:use-livecode at lists.runrev.com>> 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




More information about the use-livecode mailing list