This commit is contained in:
Nikita Lisitsa 2024-08-20 18:12:27 +03:00
parent c526f14c44
commit 90349f60c1

View file

@ -1233,7 +1233,7 @@ namespace gmtk
shift *= v.location.bbox()[0].length() * animation_factor(s.animate) / 12.f;
painter.circle(shift + box.center(), box[0].length() * 0.6f / 2.f, gfx::black, 72);
painter.circle(shift + box.center(), box[0].length() * 0.5f / 2.f, color_of(s.type), 72);
painter.circle(shift + box.center(), box[0].length() * 0.55f / 2.f, color_of(s.type), 72);
});
map.world->apply<vertex const, transformer const>([&](vertex const & v, transformer const & t)
@ -2591,7 +2591,7 @@ namespace gmtk
void button_mouseover_sound()
{
mixer_->add(audio::volume(pop_->stream(), 0.5f));
mixer_->add(audio::volume(pop_->stream(), 0.125f));
}
void button_click_sound()
@ -2658,7 +2658,7 @@ namespace gmtk
void item_error_sound()
{
if (in_start_menu_) return;
mixer_->add(audio::volume(error_->stream(), 0.25f));
// mixer_->add(audio::volume(error_->stream(), 0.25f));
}
};