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

excaliburjs / Excalibur / 8430700718
89%

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

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

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%)

5 of 9 new or added lines in 3 files covered. (55.56%)

11786 of 12920 relevant lines covered (91.22%)

23333.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8430700718.1 26 Mar 2024 04:14AM UTC 0
91.22
GitHub Action Run
Source Files on build 8430700718
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #8430700718
  • 99c7a88d on github
  • Prev Build on main (#8403020706)
  • Next Build on main (#8430700704)
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