Open aitani9 opened 3 years ago
Resolution doesn't really matter: as long as lazer window is in landscape mode - it will happen. Potential solution is to use playfield diagonal length instead of max side length here https://github.com/ppy/osu/blob/5031707048eef6d529c9461dcb5328e910628c13/osu.Game/Rulesets/Mods/ModBarrelRoll.cs#L51-L54
But I'm not sure since playfield will become even smaller: | master | proposed solution |
---|---|---|
Another solution is to add virtual margin value, so it can be configurable per ruleset.
So here we can just add this value to the maxSide
.
https://github.com/ppy/osu/blob/5031707048eef6d529c9461dcb5328e910628c13/osu.Game/Rulesets/Mods/ModBarrelRoll.cs#L53
For example, for osu it will be the circle size.
Describe the bug: Seems to only be a problem for hit circles placed near a corner of the playfield.
Screenshots or videos showing encountered issue:
https://user-images.githubusercontent.com/55509723/123685385-7c7cfe80-d803-11eb-8768-f5ced57b78ec.mp4
Beatmap in video: 7 star map of Chasers - Lost (ktgster).zip
osu!lazer version: commit a9084db6659840f1d074aec0e74168786f36e386