1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 11:20:04 +08:00

Add reference for screen bounding box numbers

This commit is contained in:
Naxess 2021-04-13 10:35:06 +02:00
parent 98c25b2e71
commit c8cb4286f6

View File

@ -11,8 +11,9 @@ namespace osu.Game.Rulesets.Osu.Edit.Checks
{
public class CheckOffscreenObjects : ICheck
{
// These are close approximates to the edges of the screen
// in gameplay on a 4:3 aspect ratio for osu!stable.
// A close approximation for the bounding box of the screen in gameplay on 4:3 aspect ratio.
// Uses gameplay space coordinates (512 x 384 playfield / 640 x 480 screen area).
// See https://github.com/ppy/osu/pull/12361#discussion_r612199777 for reference.
private const int min_x = -67;
private const int min_y = -60;
private const int max_x = 579;