Black Trigram (흑괘) - Korean Martial Arts Combat Simulator API - v0.6.47
    Preparing search index...

    Variable HUD_WIDTH_PERCENTConst

    HUD_WIDTH_PERCENT: {
        BOTTOM: 1;
        LEFT_DESKTOP: 0.14;
        LEFT_MOBILE: 0.18;
        RIGHT_DESKTOP: 0.14;
        RIGHT_MOBILE: 0.18;
        TOP: 1;
    } = ...

    HUD width percentages for screen-level HUDs

    These constants define the standard widths for left and right HUD panels. Values are decimals (0.14 = 14% of screen width).

    Usage:

    const hudWidth = width * HUD_WIDTH_PERCENT.LEFT_DESKTOP;
    

    Type Declaration

    • ReadonlyBOTTOM: 1

      Bottom HUD width (full screen width)

    • ReadonlyLEFT_DESKTOP: 0.14

      Left HUD width on desktop (14% = leaves 72% for arena)

    • ReadonlyLEFT_MOBILE: 0.18

      Left HUD width on mobile (18% for touch targets)

    • ReadonlyRIGHT_DESKTOP: 0.14

      Right HUD width on desktop (14% = leaves 72% for arena)

    • ReadonlyRIGHT_MOBILE: 0.18

      Right HUD width on mobile (18% for touch targets)

    • ReadonlyTOP: 1

      Top HUD width (full screen width)

    HUD너비