• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

excaliburjs / Excalibur / 10259010288
89%

Build:
DEFAULT BRANCH: main
Ran 06 Aug 2024 02:14AM UTC
Jobs 1
Files 220
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Aug 2024 02:03AM UTC coverage: 90.045% (-0.003%) from 90.048%
10259010288

push

github

eonarheim
feat: Add ex.Screen.worldToPagePixelRatio API

New `ex.Screen.worldToPagePixelRatio` API that will return the ratio between excalibur pixels and the HTML pixels.
  * Additionally excalibur will now decorate the document root with this same value as a CSS variable `--ex-pixel-ratio`
  * Useful for scaling HTML UIs to match your game
    ```css
    .ui-container {
      pointer-events: none;
      position: absolute;
      transform-origin: 0 0;
      transform: scale(
        calc(var(--pixel-conversion)),
        calc(var(--pixel-conversion)));
    }
    ```

5662 of 7234 branches covered (78.27%)

7 of 8 new or added lines in 2 files covered. (87.5%)

1 existing line in 1 file now uncovered.

12510 of 13893 relevant lines covered (90.05%)

24895.22 hits per line

Jobs
ID Job ID Ran Files Coverage
1 10259010288.1 06 Aug 2024 02:14AM UTC 0
90.05
GitHub Action Run
Source Files on build 10259010288
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #10259010288
  • a1e7f6f5 on github
  • Prev Build on main (#10252346981)
  • Next Build on main (#10259333043)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc