Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

4 years ago by AndrewMast

Working on my game, I have created a plugin for zooming in and out of the screen view.

It is found here, on GitHub

As it says in the Readme, I used Dominic's code found in this page.

I hope this helps.

EDIT: The following demo link was added to my github page: http://andrewmast.github.io/Zoom-for-ImpactJs/

-Andrew

4 years ago by Joncom

Sounds cool!

Would be awesome if you put up a demo or something. Perhaps scrolling the mouse up and down could let you zoom in and out.

4 years ago by stahlmanDesign

+1 for a demo

4 years ago by AndrewMast

Quote from stahlmanDesign
+1 for a demo

Quote from Joncom
Sounds cool!

Would be awesome if you put up a demo or something. Perhaps scrolling the mouse up and down could let you zoom in and out.


Working on the demo. Will release it tomorrow. Thanks for the feedback!

-Andrew

4 years ago by AndrewMast

I added a demo link to the main post.

-Andrew

4 years ago by stahlmanDesign

Very cool, thanks!

4 years ago by AndrewMast

Quote from stahlmanDesign
Very cool, thanks!


You are welcome.

If you know how to make this better, please tell me.

-Andrew

4 years ago by Joncom

If you know how to make this better, please tell me.
Only because you asked. Seems like "scroll up" should be zoom-in, and "scroll down" should be zoom-out. Right now it's backwards.

The demo is awesome though regardless. Nice work!!

4 years ago by AndrewMast

Quote from Joncom
Only because you asked. Seems like "scroll up" should be zoom-in, and "scroll down" should be zoom-out. Right now it's backwards.

The demo is awesome though regardless. Nice work!!


Thanks. That's probably because I am on a Mac :)

-Andrew
Page 1 of 1
« first « previous next › last »