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

excaliburjs / Excalibur / 7700012855 / 1
88%
main: 88%

Build:
DEFAULT BRANCH: main
Ran 29 Jan 2024 05:29PM UTC
Files 202
Run time 8s
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

29 Jan 2024 05:25PM UTC coverage: 91.271% (-0.05%) from 91.321%
7700012855.1

push

github

web-flow
feat: Scene input API (#2889)


This PR enables scene specific input APIs that only fire handlers when the scene is active! This is very useful if you have a lot of handlers to manage and don't want to keep track of engine level subscriptions.

```typescript
class SceneWithInput extends ex.Scene {
  onInitialize(engine: ex.Engine<any>): void {
    this.input.pointers.on('down', () => {
      console.log('pointer down from scene1');
    });
  }
}
class OtherSceneWithInput extends ex.Scene {
  onInitialize(engine: ex.Engine<any>): void {
    this.input.pointers.on('down', () => {
      console.log('pointer down from scene2');
    });
  }
}
```

https://github.com/excaliburjs/Excalibur/assets/612071/b6759145-d45b-4212-92a6-d0a4f8ff990b

5064 of 6368 branches covered (0.0%)

11219 of 12292 relevant lines covered (91.27%)

26859.11 hits per line

Source Files on job 7700012855.1
  • Tree
  • List 0
  • Changed 44
  • Source Changed 5
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 7700012855
  • e397cbbf on github
  • Prev Job for on main (#7690626736.1)
  • Next Job for on main (#7703700425.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