rex_cdmask_fansprite
Introduction
Combine 9 fan sprites to display any angle (degree 0 ~ degree 360) of fan shaped to indicate the remainder percentage of cooldown.
Combine 9 fan sprites to display any angle (degree 0 ~ degree 360) of fan shaped to indicate the remainder percentage of cooldown.
Designer need to prepare a sprite object which has 9 frames with fan element shaped in degree 256, 128, 64, 32, 16, 8, 4, 2, 1.
- fame 0 = 256 degree fan started at degree 0
- fame 1 = 128 degree fan starte at degree 0
- fame 2 = 64 degree fan started at degree 0
- fame 3 = 32 degree fan started at degree 0
- fame 4 = 16 degree fan started at degree 0
- fame 5 = 8 degree fan started at degree 0
- fame 6 = 4 degree fan started at degree 0
- fame 7 = 2 degree fan started at degree 0
- fame 8 = 1 degree fan started at degree 0