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

excaliburjs / Excalibur / 10259010282 / 1
89%
main: 89%

Build:
DEFAULT BRANCH: main
Ran 06 Aug 2024 02:07AM UTC
Files 220
Run time 5s
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.038% (-0.01%) from 90.048%
10259010282.1

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)));
    }
    ```

5661 of 7234 branches covered (78.26%)

12509 of 13893 relevant lines covered (90.04%)

24896.33 hits per line

Source Files on job 10259010282.1
  • Tree
  • List 0
  • Changed 62
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 10259010282
  • a1e7f6f5 on github
  • Prev Job for on main (#10252346981.1)
  • Next Job for on main (#10259010288.1)
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