sliderfollow fadeout speed
@@ -19,6 +19,7 @@ class HitObjectManager:
self.objtime = []
self.interval = settings.timeframe / settings.fps
self.timer = 0
+ self.rate = settings.timeframe/1000
self.objecttype = {
CIRCLE: [self.circle_manager, self.circle_manager.circles, -self.maxtimewindow - self.interval * 2],
@@ -57,13 +58,13 @@ class HitObjectManager:
self.circle_manager.circles[timestamp][9] = 1
def sliderchangestate(self, followappear, timestamp):
- index_interval = 1
+ index_interval = 0.65 * self.rate
if self.slider_manager.sliders[timestamp].sliderb_i != self.slider_manager.slidermax_index:
self.slider_manager.sliders[timestamp].sliderb_i = 0
if followappear:
- index_interval = -0.65
+ index_interval = -0.65 * self.rate
self.slider_manager.sliders[timestamp].sliderb_i = self.slider_manager.slidermax_index - 3
self.slider_manager.sliders[timestamp].appear_f = index_interval
