question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SnapZoom() animated move

See original GitHub issue

Hi, is it possible to have a smooth move when calling snapZoom()? Right now it jumps straight to the center and does a smooth zoom. Is is possible to somehow make the move smooth?

I call snapZoom with the following options:

      center: new Pixi.Point(someX, someY),
      height: someValue,
      removeOnComplete: true,
      removeOnInterrupt: true,
      time: 250,
      forceStart: true

Thanks a lot!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
lovrevcommented, Oct 31, 2019

You are right. It’s behaving correctly.

I’ve managed to get my desired effect by using EaseInQuad on one plugin and EaseOutQuad on the other. It’s not 100% perfect, but it’s very good!

Thanks for your help, much appreciated!

1reaction
davidfigcommented, Oct 23, 2019

have you tried it in combination with snap()? leave center as undefined in snapZoom

Read more comments on GitHub >

github_iconTop Results From Across the Web

Animation between two points · Issue #239 · davidfig/pixi ...
Hi again, This is a problem correlated to the SnapZoom that I noticed once my ... It emits moved and zoomed during animate.update()...
Read more >
Animating a snap zoom - CINEMA 4D Video Tutorial - LinkedIn
In this video, we'll be animating a snap zoom that looks like this. ... zooming in and then it's going to react to...
Read more >
Make an Animated Movie with just your Phone - YouTube
Make an animated movie with just your phonePresented by William HuwIf you've ever wondered how to make an animation, or more specifically, ...
Read more >
Playing a "snap in/snap out" animation during zoom in, zoom out
The idea is the following, when one circle gets out of the screen, the rest animate zoom in and zoom out, when the...
Read more >
Using camera in Animate - Adobe Support
Use this article to learn how to work with camera in Animate. ... To zoom in the content, move the slider toward the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found