hitresult size depends on circle size
-from ImageProcess.PrepareFrames.YImage import YImage, YImages
+from ImageProcess.PrepareFrames.YImage import YImages
from ImageProcess.imageproc import change_size
hitprefix = "hit"
+default_size = 128
+hitresult_size = 2
-def prepare_hitresults(scale):
+def prepare_hitresults(scale, beatmap):
+
+ cs = (54.4 - 4.48 * beatmap.diff["CircleSize"]) * scale
+ scale = cs * 2 * hitresult_size / default_size
+
scores_frames = {}
for x in [0, 50, 100]:
img = YImages(hitprefix + str(x), scale, delimiter="-", rotate=x == 0).frames[0]
