Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / [DBP] - [Matrix1] Focus zoom on mouse position (2D)

Author
Message
BMacZero
13
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ N_America/ USA/ CA/ South
Posted: 18th Aug 2013 23:41
This code shows one method of zooming in on the mouse position in a 2D world, rather than the "camera center".

Uses minor functions from Matrix1 DLLs (i.e. "clamp").

Use the mousewheel in this demo to see what I mean:


Login to post a reply

Server time is: 2019-02-16 02:54:14
Your offset time is: 2019-02-16 02:54:14