Mouse Wheel Zoom |
|
Use your mouse wheel/pinch to zoom in using animate() instead of editing the interface icon size! [More] |
To download this library for your Linux/Mac installation, enter this on your command line:
DreamDownload byond://Kidpaddle45.MouseWheelZoom##version=0 Emulator users, in the BYOND pager go to File | Open Location and enter this URL:byond://Kidpaddle45.MouseWheelZoom##version=0 |
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 |
Zecronious: (May 18 2017, 6:16 pm)
The demo isn't helpful unless it maintains quality. Why not just include that code in the actual demo?
YURIRAMOS: (May 12 2017, 11:16 pm)
Take a look at my comment above
Zecronious: (May 12 2017, 10:34 pm)
For some reason this blurs the icons. Is there a way to stop the blurring effect?
Petja12: (May 11 2017, 2:47 pm)
Excellent.. Will make good use of this...
Great library, already playing around with it. I would smash the like button if there was one. Kidpaddle45: (May 8 2017, 2:01 pm)
YURIRAMOS wrote:
Amazing, thanks very much. > obj/map_zoom and > 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 :) |
Copyright © 2024 BYOND Software.
All rights reserved.