divide_color( a, b, c ) {
return( a / 255, b / 255, c / 255 );
}
If you want to, I haven't seen it yet.
you can divide the color of the health and zombies, have it green for max health, half health yellow, and low red with this function same with zombies, have it red for last ect, its cool and it hasn't been done to my knowledge. example
if( self.health <= 100 ) {
return divide_color( math );
}
else {
return divide_color( math );
}
``` I'll test and get the math and update this later