Zooming in slowly?

For questions about using Classic.

Post » Wed May 26, 2010 3:13 am

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?
B
12
S
4
G
3
Posts: 426
Reputation: 2,458

Post » Wed May 26, 2010 8:43 am

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

Left Click to Zoom in
Right Click to Zoom out
B
7
S
2
G
4
Posts: 164
Reputation: 2,418

Post » Wed May 26, 2010 12:43 pm

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

Could you tell me which version you used to create it?
B
12
S
4
G
3
Posts: 426
Reputation: 2,458

Post » Thu May 27, 2010 12:30 am

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!
B
12
S
4
G
3
Posts: 426
Reputation: 2,458


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 3 guests