Easy Asset Search

Drag Camera 2D

Out of the box RTS style drag camera asset. Requires no coding experience. Comes with examples to speed up development.
Drag Camera 2D Asset Image Out of the box RTS style drag camera asset. Requires no coding experience. Comes with examples to speed up development.

* This page contains affiliate links, meaning we may earn a small commission if you purchase something through them, at no extra cost.
FREE
Category:
ToolsCamera
Developer:
GameDevBlog Tools
Price:
FREE
Rating:
(10 reviews)
Favorites:
124
Supported Unity Versions:
2019.1.0 or higher
Current Version:
1.7.1
Download Size:
7.72 MB
Last Update:
Apr 27, 2022
Description:

Description

An RTS style camera for 2D applications with drag panning, zooming and area clamping. Perfect for RTS or platform type games

Examples:

WebGL Example

Features:

- Limit Camera to rectangular area with easy to manipulate editor controls

- Panning speed, Zooming Limit, Zoom Speed, drag speed all adjustable from the editor.

- GUI based camera Dolly track system with integrated editor GUI controls

- Pro Only Feature Automatic smoothing, Straightening of track and time scaling

- Set the camera to traverse the track over a set time or tracked an object

- 4 Example scenes included with asset (Camera Dolly | Follow Player | RTS Style | Snap Box)

- Customizable in scene GUI plus much more.

How To:

- Simply add the Drag Camera 2D script to your main camera and you are ready to drag and go.

- Adding bounds is done via a click of the Add bounds button and an in scene adjustment to mark out the area.

- Using the dolly track is just as easy with the add dolly button and the easy to use in scene controls to adjust your track.

Asset Goals

The main goal of this asset is to allow the user to simple add this script to a camera and have the camera respond to user click and drag movements without any coding.

The act of dragging the camera (panning horizontally or vertically) with the mouse or keyboard input has been added to the script which can be added to a camera to allow the user to manipulate the view based on the users click and drag movement.

The camera can have limits set to stop the camera being dragged out of the desired viewing area.

The camera can zoom in and out with the scroll wheel with limits on minimum and maximum zoom as well as setting the amount to zoom in and out with each increment of the scroll wheel.

Visit www.gamedevelopment.blog to find out more.

Technical Details:
  • drag camera with mouse control
  • zoom and pan
  • side scrolling
  • limit camera bounds
  • camera dolly system
  • Snap Boxes (Cam swaps between rooms)
Continue »

Similar Packages