jjPARTICLESTAR class by value JJ2+

Extra properties of a PARTICLE::STAR particle, see jjPARTICLE::star

Properties

uint8 angle partially supported
Current rotation, 256 is a full turn
int8 angularSpeed partially supported
Change of angle every tick, defaults to 0
uint8 color
Palette color, defaults to 40
uint8 colorChangeCounter partially supported
Ticks left until the next color change, currently not used by the game
uint8 colorChangeInterval partially supported
Ticks between color changes, 0 for never, currently not used by the game
uint8 frame partially supported
0 for a filled star, 1 for an outline, currently not used by the game
uint8 size
Size of the star, shrinks over time, defaults to 16

Property documentation

uint8 jjPARTICLESTAR::angle

Current rotation, 256 is a full turn

int8 jjPARTICLESTAR::angularSpeed

Change of angle every tick, defaults to 0

uint8 jjPARTICLESTAR::colorChangeCounter

Ticks left until the next color change, currently not used by the game

uint8 jjPARTICLESTAR::colorChangeInterval

Ticks between color changes, 0 for never, currently not used by the game

uint8 jjPARTICLESTAR::frame

0 for a filled star, 1 for an outline, currently not used by the game