chore: Update dependency excalibur to v0.31.0 #256
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.30.3
->0.31.0
Release Notes
excaliburjs/Excalibur (excalibur)
v0.31.0
Compare Source
Breaking Changes
Deprecated
Added
ex.Camera.setStrategies()
andex.Camera.strategies
for additional control of strategy orderex.Sound({...})
option back constructor to set all the same props available on soundex.SoundManager
type for managing groups of audio/sound effects/music volume in an easier wayex.Animation.data
to store arbitrary meta data for an animation. Data can be directly added in the constructor as an option, by using the optionaldata
argument infromSpriteSheet(...)
and as an option infromSpriteSheetCoordinates({...})
ex.Engine({global: ...})
where you can provide a keyboard global to override if iframe detection fails for anyway.onDeactivate()
, returning data will be passed to the nextSceneActivationContext
in thepreviousSceneData
property!transitionstart
andtransitionend
events toex.Scenes
navigation*
events toex.Engine
ex.Vector
to specify offset and margin inSpriteSheet.fromImageSource({..})
maxVel
attribute toMotionComponent
, which clamps velocity on separated X and Y axesClock.clearSchedule(id)
and haveClock.schedule
return an ID so you can clear a scheduled callback before it firesFixed
ParticleEmitter
Particle
did not receive z index value from emitter when in World spaceanim.reset()
inside of an animation event handler likeanim.once('end', () => anim.reset())
would not work correctlyGpuParticleEmitter
did not rotate with their parentsParticleEmitter
did not respectParticleTransform.Local
ex.ColliderComponent
/ex.BodyComponent
that prevented collider tracking on entities that haveex.TransformComponent
/ex.ColliderComponent
, this influenced users doing Entity level ECS with pointer events.ex.Sound.play(0)
would not set the volume to 0, instead the previous volume would play.onTransition
on the initial scene transitionex.TriggerOptions
type to all optional parametersex.GamepadButtonEvent
index
to disabiguate betweenex.Buttons.Unknown
Map<Entity>
Updates
Changed
ex.Camera.addStrategy()
to accept multiple strategiesfromSpriteSheet(...)
,fromSpriteSheetCoordinates({...})
andclone()
ofex.Animation
to return the subclass if called from thereConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.