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

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

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

25 Jun 2023 03:46PM UTC coverage: 91.717% (-0.02%) from 91.733%
5370592448.1

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

Source Files on job 5370592448.1
  • Tree
  • List 0
  • Changed 203
  • Source Changed 0
  • Coverage Changed 203
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 5370592448
  • 4b726911 on github
  • Prev Job for on main (#5280218395.1)
  • Next Job for on main (#5372822924.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