Mouse Wheel Zoom

by Kidpaddle45
Use your mouse wheel/pinch to zoom in using animate() instead of editing the interface icon size!
ID:2244845
 
Use your mouse wheel/pinch to zoom-in using animate() instead of editing the interface icon size!

This allows for a much better looking zoom effect AND that won't mess up the location of your on-screen objects!

BONUS:
Want to keep the graphics in good quality after zooming-in? Use this little code here:
obj/map_zoom
appearance_flags = PLANE_MASTER | PIXEL_SCALE
screen_loc = "1,1"
plane = 0

First Download and must say a very clever and great Library indeed! Keep up the good work Kid. Always look forward to any of your libs and demos (always useful and thoughtful)
Amazing, thanks very much.

I have to use this to keep the pixelated and proportional appearance

obj/map_zoom
appearance_flags = PLANE_MASTER | PIXEL_SCALE
screen_loc = "1,1"
plane = 0


and

iconsize += 1
iconsize -= 1
In response to YURIRAMOS
YURIRAMOS wrote:
Amazing, thanks very much.

I have to use this to keep the pixelated and proportional appearance

> obj/map_zoom
> appearance_flags = PLANE_MASTER | PIXEL_SCALE
> screen_loc = "1,1"
> plane = 0
>

and

> iconsize += 1
> iconsize -= 1
>


Thank you for reminding me! I've been asked about how PIXEL_SCALE works! I'll add it in the hub's description aswell :)
Excellent.. Will make good use of this...
Great library, already playing around with it.

I would smash the like button if there was one.
For some reason this blurs the icons. Is there a way to stop the blurring effect?
In response to Zecronious
Take a look at my comment above
In response to YURIRAMOS
The demo isn't helpful unless it maintains quality. Why not just include that code in the actual demo?