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

excaliburjs / Excalibur / 7700012855
89%

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

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

Jobs
ID Job ID Ran Files Coverage
1 7700012855.1 29 Jan 2024 05:29PM UTC 0
91.27
GitHub Action Run
Source Files on build 7700012855
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #7700012855
  • e397cbbf on github
  • Prev Build on main (#7690626736)
  • Next Build on main (#7703700425)
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