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

excaliburjs / Excalibur / 5370592448
89%

Build:
DEFAULT BRANCH: main
Ran 25 Jun 2023 03:53PM UTC
Jobs 1
Files 204
Run time 3s
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

pending completion
5370592448

push

github

web-flow
feat: Animation improvements fromSpriteSheetCoordinates + EventEmitter (#2666)

This PR adds a few improvements to animations that have been discussed offline 
* Adds new `EventEmitter` type which is a better typed event implementation
* Updates the `.events` type to be the new `EventEmitter`
* Adds the `frameIndex` of the current frame to the animation event
* Adds a new static builder for constructing animations from SpriteSheets 
  ```typescript
   const spriteSheet = SpriteSheet.fromImageSource({...});
   const anim = Animation.fromSpriteSheetCoordinates({
    spriteSheet,
    frameCoordinates: [
      {x: 0, y: 5, duration: 100},
      {x: 1, y: 5, duration: 200},
      {x: 2, y: 5, duration: 100},
      {x: 3, y: 5, duration: 500}
    ],
    strategy: AnimationStrategy.PingPong
   });
   ```

4362 of 5492 branches covered (79.42%)

10254 of 11180 relevant lines covered (91.72%)

26488.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5370592448.1 25 Jun 2023 03:53PM UTC 0
91.72
GitHub Action Run
Source Files on build 5370592448
Detailed source file information is not available for this build.
  • Back to Repo
  • 4b726911 on github
  • Prev Build on main (#5280218395)
  • Next Build on main (#5372822924)
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