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

excaliburjs / Excalibur / 7428220866
89%

Build:
DEFAULT BRANCH: main
Ran 06 Jan 2024 12:43AM UTC
Jobs 1
Files 195
Run time 12s
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

06 Jan 2024 12:39AM UTC coverage: 91.94% (+0.1%) from 91.822%
7428220866

push

github

web-flow
feat: Collision lifecycle convenience methods on Actor (#2869)

This PR adds new collision lifecycle convenience methods to `Actor`! This was possible before by wiring up an event handler. This is a super common pattern so now it's moved to Actor!

```typescript
class MyActor extends ex.Actor {
  constructor(args: ex.ActorArgs) {
    super(args);
  }
  onPreCollisionResolve(self: ex.Collider, other: ex.Collider, side: ex.Side, contact: ex.CollisionContact): void {
    
  }
  onPostCollisionResolve(self: ex.Collider, other: ex.Collider, side: ex.Side, contact: ex.CollisionContact): void {
    
  }
  onCollisionStart(self: ex.Collider, other: ex.Collider, side: ex.Side, contact: ex.CollisionContact): void {
    
  }
  onCollisionEnd(self: ex.Collider, other: ex.Collider): void {
    
  }
}
```

4662 of 5852 branches covered (0.0%)

10802 of 11749 relevant lines covered (91.94%)

27073.14 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7428220866.1 06 Jan 2024 12:43AM UTC 0
91.94
GitHub Action Run
Source Files on build 7428220866
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #7428220866
  • fa5c10f8 on github
  • Prev Build on main (#7423757230)
  • Next Build on main (#7428407634)
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