We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
var game = new ex.Engine({ width: 600, height: 600 }); game.isDebug = true; game.add(new ex.Actor({x: 0, y: 0, width: 100, height: 100, color: ex.Color.Red})); game.start(loader).then(() => { game.currentScene.camera.move(ex.Vector.Zero.clone(), 2000, ex.EasingFunctions.EaseInOutCubic).then(() => { game.currentScene.camera.move(new ex.Vector(600, 600), 2000, ex.EasingFunctions.EaseInOutCubic) }) console.log('started'); });
Camera should move to (0, 0) and then move to (600, 600)
Camera only moves to (0, 0)
The text was updated successfully, but these errors were encountered:
[#944] Fix camera move chaining (#962)
7dd4812
* Fix move chaining * Refactor easing functions to be reversible
[excaliburjs#944] Fix camera move chaining (excaliburjs#962)
716bba7
Successfully merging a pull request may close this issue.
Steps to Reproduce
Expected Result
Camera should move to (0, 0) and then move to (600, 600)
Actual Result
Camera only moves to (0, 0)
Context
Proposal
The text was updated successfully, but these errors were encountered: