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

excaliburjs / Excalibur / 3138
84%
main: 89%

Build:
Build:
LAST BUILD BRANCH: perf/improve-text-rendering-perf
DEFAULT BRANCH: main
Ran 28 May 2019 10:38PM UTC
Jobs 1
Files 1
Run time 1s
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
3138

push

travis-ci

web-flow
[#1119] Decouple Actor from Collision System (#1125)

Closes #1119

## Changes:

- New `ex.Collider` type which is the container for all collision related behavior and state. Actor is now extracted from collision.
- Added interface `Clonable<T>` to indicate if an object contains a clone method
- Added interface `Eventable<T>` to indicated if an object can emit and receive events
- `ex.Vector.scale` now also works with vector input
- `ex.BoundingBox.fromDimension(width: number, height: number)` can generate a bounding box from a width and height
- `ex.BoundingBox.translate(pos: Vector)` will create a new bounding box shifted by `pos`
- `ex.BoundingBox.scale(scale: Vector)` will create a new bounding box scaled by `scale`
- Added `isActor()` and `isCollider()` type guards

- Changed collision system to remove actor coupling, in addition `ex.Collider` is a new type that encapsulates all collision behavior. Use `ex.Actor.body.collider` to interact with collisions in Excalibur ([#1119](https://github.com/excaliburjs/Excalibur/issues/1119))

  - Add new `ex.Collider` type that is the housing for all collision related code
    - The source of truth for `ex.CollisionType` is now on collider, with a convenience getter on actor
    - The collision system now operates on `ex.Collider`'s not `ex.Actor`'s
  - `ex.CollisionType` has been moved to a separate file outside of `Actor`
    - CollisionType is switched to a string enum, style guide also updated
  - `ex.CollisionPair` now operates on a pair of `ex.Colliders`'s instead of `ex.Actors`'s
  - `ex.CollisionContact` now operates on a pair of `ex.Collider`'s instead of `ex.Actors`'s
  - `ex.Body` has been modified to house all the physical position/transform information
    - Integration has been moved from actor to `Body` as a physical concern
    - `useBoxCollision` has been renamed to `useBoxCollider`
    - `useCircleCollision` has been renamed to `useCircleCollider`
    - `usePolygon... (continued)

2119 of 3398 branches covered (62.36%)

7975 of 9587 relevant lines covered (83.19%)

15679.52 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3138.1 28 May 2019 10:38PM UTC 0
83.19
Travis Job 3138.1
Source Files on build 3138
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3138
  • ce1c19d8 on github
  • Prev Build on master (#3093)
  • Next Build on master (#3151)
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