HEADER

Pointer Influence

Overview

The Pointer Influence extension is nothing more than an influence on the camera that points from the center of the camera to the user pointer (mouse or finger depending on the platform). You can control how much influence each axis has on the camera. This is the simplest extension and it’s a great start to learn how to make your own ProCamera2D extensions. If for example your game uses a controller, it should be very straightforward to adapt the existing code. So feel free to dig in and change it to fit your needs.

Pointer Influence

Editor

Parameters: