Drag Camera 2D View on Asset Store (opens in new tab)

Package details

Latest version
1.7.1
Last updated
First released
Unity version
2019.1.0 or later
Package size
7.7 MB
Files
1,124
Favorites
126
Views in the past week
15

Price tracking

Last checked
Tracked since
Lowest recorded
Free on

Keywords

Drag Camera 2D

by GameDevBlog Tools (opens in new tab)

4.8 / 5 · 10 ratings

Ratings by stars
Number of ratings for each star rating
5 stars 8
4 stars 2
3 stars 0
2 stars 0
1 star 0

Out of the box RTS style drag camera asset. Requires no coding experience. Comes with examples to speed up development.

Price Free

Get it free on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for Drag Camera 2D, 6 months Current Free; lowest Free; highest Free in this period. $0 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 6

Drag Camera 2D screenshot 1

Drag Camera 2D screenshot 1

About this asset

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.

From the publisher's Asset Store listing.

Technical details

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

Compatibility

Render pipelines supported in each Unity version
Unity version Built-in URP HDRP Custom
2020.3.32f1 Compatible Compatible Compatible Compatible

As listed on the Asset Store.