Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
how do something like that?
Insert a mouse object on layer, then capture the scroll-wheel via an event.
If you add sub-events detecting if it's going up or down, then increment zoom based on that.
I'll do an example when I get home if no-one has done in meantime.
Develop games in your browser. Powerful, performant & highly capable.
Did you get this working?
i do something with mouse scroll, change layout size when scroll up 'zoom in 1/2' or scrool down 'zoom out 1/2' But i dont kono how to do smoothly
I made a quick example, hopefully I didn't make it too complex ahah - it's just got some stuff in there so you can customize the amount of zoom and speed, also to do it smoothly, and a little bit faster if you're rolling the mouse fast.