Zooming in slowly?

This forum is currently in read-only mode.
From the Asset Store
All popular touch mechanics - scrolling, zooming, swiping
  • I know how to make the display zoom, but I haven't been able to make the display zoom in slowly.

    I've tried setting it to move in every so many milliseconds, but instead it just goes to the final zoom position immediately when the layout starts.

    Any tips?

  • http://dl.dropbox.com/u/6660860/smoothzoom.cap

    Left Click to Zoom in

    Right Click to Zoom out

  • Thanks for the example, Citnarf, but I'm unable to open it.

    Could you tell me which version you used to create it?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Okay, I found that it was made in .84. I wonder why when you download a second version of Construct, the first version disappears from your computer's program uninstall list? Is that normal? I've been using .62, but that disappeared from the list and only .84 shows. However, .62 is still on my hard drive and it still works. I hope it's nothing to worry about, it doesn't seem like a big deal as long as I can still access, use, save, and export to .exe with .62.

    Anyway, I don't know if you've been reading any of the post since you posted, but your example was great. What I needed to do is make it zoom automatically as the layout starts. So I took your code, reconfigured it and came up with this:

    1 Start of layout

    2 Every 50 milliseconds - ZoomX + 50 * TimeDelta, ZoomY + 50 * TimeDelta

    It works perfectly. Thanks again!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)