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

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

Build:
DEFAULT BRANCH: main
Ran 26 Mar 2024 04:14AM UTC
Files 210
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

26 Mar 2024 04:11AM UTC coverage: 91.223% (+0.02%) from 91.203%
8430700718.1

push

github

web-flow
change: GraphicsGroup no longer centers with anchors (#2966)


`useAnchor: false` The graphics members are positioned from the top left

  ```typescript
  const graphicGroup = new ex.GraphicsGroup({
    useAnchor: false,
    members: [
      {
        graphic: heartImage.toSprite(),
        offset: ex.vec(0, 0),
      },
      {
        graphic: heartImage.toSprite(),
        offset: ex.vec(0, 16),
      },
      {
        graphic: heartImage.toSprite(),
        offset: ex.vec(16, 16),
      },
      {
        graphic: heartImage.toSprite(),
        offset: ex.vec(16, 0),
      },
    ],
  });
  ```

![image](https://github.com/excaliburjs/Excalibur/assets/612071/effae398-7281-41a9-bdbc-e0ddc2328237)

`useAnchor: true` The graphics members' total combined bounds are centered by the actor's anchor (.5, .5) by default

  ```typescript
  const graphicGroup = new ex.GraphicsGroup({
    useAnchor: true,
    members: [
      {
        graphic: heartImage.toSprite(),
        offset: ex.vec(0, 0),
      },
      {
        graphic: heartImage.toSprite(),
        offset: ex.vec(0, 16),
      },
      {
        graphic: heartImage.toSprite(),
        offset: ex.vec(16, 16),
      },
      {
        graphic: heartImage.toSprite(),
        offset: ex.vec(16, 0),
      },
    ],
  });
  ```

![image](https://github.com/excaliburjs/Excalibur/assets/612071/c0ba5312-abc8-4f84-a2fb-5cf3e9e3ab96)

5357 of 6793 branches covered (78.86%)

11786 of 12920 relevant lines covered (91.22%)

23333.83 hits per line

Source Files on job 8430700718.1
  • Tree
  • List 0
  • Changed 44
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 8430700718
  • 99c7a88d on github
  • Prev Job for on main (#8403020706.1)
  • Next Job for on main (#8430700704.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