chore: Update dependency excalibur to v0.28.6 #482
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.28.1
->0.28.6
Release Notes
excaliburjs/Excalibur (excalibur)
v0.28.6
Compare Source
Breaking Changes
Deprecated
Added
ex.IsometricTile.data
this brings it into feature parity with normalex.Tile.data
Actor.graphics.onPreTransformDraw
with the corresponding event.on('pretransformdraw')
Actor.graphics.onPostTransformDraw
with the corresponding event.on('posttransformdraw')
ex.Animation
ex.Animation.currentFrameTimeLeft
will return the current time in milliseconds left in the currentex.Animation.goToFrame(frameNumber: number, duration?: number)
now accepts an optional duration for the target frameex.Animation.speed
can set the speed multiplier on an animation 1 = 1x speed, 2 = 2x speed.Fixed
ex.CompositeColliders
inside one another would cause a crash on collisionex.CompositeColliders
did not respect collider offsetex.Animation.reset()
did not properly reset all internal stateUpdates
Changed
v0.28.5
Compare Source
Breaking Changes
Deprecated
Added
Actor
, you can now override the following eventsex.IsometricMap
andex.Tilemap
visibility
andopacity
toex.IsometricMap
ex.IsometricMap
so multiple maps can sort correctlyactionstart
andactioncomplete
events to the Actor that are fired when an action starts and completesFixed
Camera
wasn't interpolated during fixed update, which is very noticeable when using camera locked strategiesIsometricMap
would debug draw collision geometry on non-solid tilesCompositeCollider
offset was undefined if not setpredraw
/postdraw
events per the advertised strongly typed eventsex.Tilemap.getTileByPoint()
GraphicsComponent
and allow.material
to be null to unset, current workaround is using.material = null as any
Updates
Changed
ex.IsometricMap
in theex.IsometricEntityComponent
, this allows for greater flexibility when using the component when a map may not be known or constructed.v0.28.4
Compare Source
Breaking Changes
Deprecated
Added
ex.Engine.debug.tilemap
property.Fixed
FontCache
font timeout to 400 ms and makes it configurable as a staticFontCache.FONT_TIMEOUT
. This is to help prevent a downward spiral on mobile devices that might take a long while to render a few starting frames causing the cache to repeatedly clear and never recover.Updates
Materials can now reference a new uniform for the screen texture and a screen uv attribute in their fragment shaders
u_screen_texture
- This is the texture of the screen right before the material draw calla_screenuv
- The vertex attribute corresponding to the screen uv relative to the current graphicv_screenuv
- The fragment varying corresponding to the screen uv relative to the current graphicMaterials can now reference the current time in their shaders
u_time_ms
- This is the ms since page navigation (performance.now() under the hood)Changed
v0.28.3
Compare Source
Breaking Changes
Deprecated
Added
collisionMask
that you want to search for.Fixed
Updates
Changed
v0.28.2
Compare Source
Breaking Changes
Deprecated
Added
ex.Engine.version
to report the current excalibur version build stringex.Screen.events
screen.events.on('resize', (evt) => )
Will emit when the screen is resizedscreen.events.on('fullscreen', (evt) => )
Will emit when the screen is changed into browser fullscreen modescreen.events.on('pixelratio', (evt) => )
Will emit when the screen's pixel ratio changes (moving from a hidpi screen to a non, or vice versa)Fixed
useCanvas2DFallback()
whereantialiasing
settings could be lostuseCanvas2DFallback()
where opacity was not respected in `saveentertrigger
should have beenenter
exittrigger
should have beenexit
ended
should have beenend
clear()
implementations modified the collection they were iterating overstop()
/start()
were called in rapid successionkeyboard.wasPressed(...)
did not fireex.Engine.input.pointers.primary.on('wheel', ...)
for wheel eventsUpdates
Changed
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.