use a less intense flash for the default selection anim
because the normal brightening on selected unit amplify the effect. changing from 0.6 to 0.4 was enough to compensate but i think that the chaining of blending and brightening damage the colors (blendind to white move colors channels near maximum, where the 150% brightening will maximise a lot of them)
This commit is contained in:
parent
c8aa8ba115
commit
b15ecaa6a1
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ void unit_animation::initialize_anims( std::vector<unit_animation> & animations,
|
|||
for(anim_itor = parsed_animations.begin(); anim_itor != parsed_animations.end(); ++anim_itor) {
|
||||
animations.push_back(unit_animation(**anim_itor));
|
||||
}
|
||||
animations.push_back(unit_animation(0,unit_frame(image::locator(cfg["image"]),300,"","",display::rgb(255,255,255),"0.0~0.6:100,0.6~0.0:200"),"selected",unit_animation::DEFAULT_ANIM));
|
||||
animations.push_back(unit_animation(0,unit_frame(image::locator(cfg["image"]),300,"","",display::rgb(255,255,255),"0.0~0.3:100,0.3~0.0:200"),"selected",unit_animation::DEFAULT_ANIM));
|
||||
|
||||
|
||||
expanded_cfg = unit_animation::prepare_animation(cfg,"leading_anim");
|
||||
|
|
Loading…
Add table
Reference in a new issue