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

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

Build:
DEFAULT BRANCH: main
Ran 06 Aug 2024 02:14AM UTC
Files 220
Run time 4s
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.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)));
    }
    ```

5662 of 7234 branches covered (78.27%)

12510 of 13893 relevant lines covered (90.05%)

24895.22 hits per line

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