Skip to content
New issue

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

Camera lerp only works if you call setFocus #555

Closed
eonarheim opened this issue Jan 3, 2016 · 1 comment
Closed

Camera lerp only works if you call setFocus #555

eonarheim opened this issue Jan 3, 2016 · 1 comment
Assignees
Labels
bug This issue describes undesirable, incorrect, or unexpected behavior good first issue good for people new to open source and Excalibur
Milestone

Comments

@eonarheim
Copy link
Member

Setting camera.x or camera.y wont work if camera.lerp is set to true. You must call camera.setFocus.

@eonarheim eonarheim added bug This issue describes undesirable, incorrect, or unexpected behavior good first issue good for people new to open source and Excalibur on-deck labels Jan 3, 2016
@eonarheim eonarheim added this to the vNext milestone Jan 3, 2016
@jedeen jedeen modified the milestones: vNext, 0.7.1 Release, 0.8 Release Mar 12, 2016
@jedeen jedeen modified the milestones: 0.8.0 Release, 0.7.1 Release May 2, 2016
@jedeen jedeen removed the on-deck label May 25, 2016
@kamranayub
Copy link
Member

Also handling #320 in this fix

@kamranayub kamranayub self-assigned this Jul 11, 2016
kamranayub added a commit that referenced this issue Jul 11, 2016
- Removed `lerp` property (breaking change)
- Removed deprecated `setFocus` method (breaking change)
- Added new `move` function to support lerping to a position
- Added support for `ex.EasingFunctions`
eonarheim pushed a commit that referenced this issue Jul 12, 2016
Add `camera.move` and support EasingFunctions

- Removed `lerp` property (**breaking change**)
- Removed deprecated `setFocus` method (**breaking change**)
- Added new `move` function to support lerping to a position which returns a `Promise<Vector>`
- Added support for `ex.EasingFunctions`
- Added new interface definition for an `EasingFunction`
- Update tslint and grunt-tslint
@jedeen jedeen modified the milestones: 0.7.1 Release, 0.7.0 Release Jul 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue describes undesirable, incorrect, or unexpected behavior good first issue good for people new to open source and Excalibur
Projects
None yet
Development

No branches or pull requests

3 participants