Edit of asset "ProCam2D - Godot 4.x" Accepted
Old/Current | New/Edit | |
---|---|---|
Title | ProCam2D - Godot 4.x | |
Description |
ProCam2D is a versatile and feature-rich custom 2D camera node for the Godot Engine, designed to provide industry-quality camera controls for any type of 2D game. This plugin offers extensive customization, including multiple follow modes, smooth transitions, and support for cinematic sequences. With a robust addon system, developers can easily extend its functionality with custom behaviors. Some inbuilt addons include shake effects, grid snapping, and more. ProCam2D is controlled via an autoload, making it accessible from any script in your project. Ideal for developers seeking precise and professional camera behavior, ProCam2D enhances game immersion and player experience. For a more recent version, contributions or bug reports, visit: github.com/daz-b-like/ProCam2D_Godot4.x/ |
ProCam2D Plugin Overview ProCam2D is the ultimate camera plugin for your 2D game needs. It offers precise control over camera behavior, featuring smooth movement, dynamic zoom, and exciting screen shake effects. ProCam2D adds two types of nodes to the scene tree: ProCam2D (the camera) and PCTrackPoint (point that will be tracked if ProCam.track_multiple_objects = true), as well as an Autoload script to control the camera efficiently. Features - Target-based tracking: Dynamic switching with smooth transitions. - Screen shake effects: Multiple types, including horizontal, vertical, Perlin noise, random, zoom, rotate, and circular. - Drag and rotation controls: Flexible drag types and smooth rotation. - Zoom and boundary limits: Adjustable zoom with smooth transitions and boundary constraints. - Multi-object tracking: Track multiple objects with adjustable radius. - Efficient control: Managed by a singleton named ProCam. Example Usage # Change camera target ProCam.target = $Player # Soothly change camera target ProCam.drag_smoothly = true ProCam.target = $Player #Start a screen shake effect ProCam.start_shake([ProCam.SCREEN_SHAKE_HORIZONTAL], 0.5, 3.0, 20.0) #Smoothly zoom in ProCam.zoom_smoothly = true ProCam.zoom_speed = 1.0 ProCam.zoom_level = 0.75 #Apply a random screen shake and zoom shake effect var types = [ProCam.SCREEN_SHAKE_RANDOM, ProCam.SCREEN_SHAKE_ZOOM] var duration = 0.5 var magnitude = 4.0 var speed = 25.0 ProCam.start_shake(types, duration, magnitude, speed) #Enable rotation and set rotation speed ProCam.rotate = true ProCam.rotation_speed = 2.0 #Smoothly change the offset ProCam.offset_smoothly = true ProCam.offset = Vector2(50, 50) ProCam.offset_speed = 0.5 #Zoom out when the player dies func on_player_died(): ProCam.zoom_smoothly = true ProCam.zoom_speed = 0.5 ProCam.zoom_level = 2.0 #Apply a horizontal screen shake effect during an earthquake func on_earthquake(): var types = [ProCam.SCREEN_SHAKE_HORIZONTAL] var duration = 1.0 var magnitude = 2.5 var speed = 15.0 ProCam.start_shake(types, duration, magnitude, speed) More Information For installation instructions and full documentation, check out the repository on GitHub: https://github.com/daz-b-like/ProCam2D_Godot4.x |
Category | 2D Tools | |
License | MIT | |
Repository Provider | GitHub | |
Repository Url | https://github.com/daz-b-like/ProCam2D_Godot4.x | |
Issues Url | https://github.com/daz-b-like/ProCam2D_Godot4.x/issues | |
Godot version | Godot 4.2 | |
Version String | 1.0 | |
Download Commit | 926f03a6280f12cc498ae1ae34337b62fbd68fea | ef9d8cfe823ff4d5622ebf157c832a4ee56b2dcc |
Download Url (Computed) | https://github.com/daz-b-like/ProCam2D_Godot4.x/archive/926f03a6280f12cc498ae1ae34337b62fbd68fea.zip | https://github.com/daz-b-like/ProCam2D_Godot4.x/archive/ef9d8cfe823ff4d5622ebf157c832a4ee56b2dcc.zip |
Icon Url |
https://i.ibb.co/dkT2tPQ/procam-icon.png
|
Preview Update | ||
---|---|---|
Type | image | |
Image/Video URL |
https://i.ibb.co/FnsPZxb/procam-wallpaper.png
|
|
Thumbnail |
Notice: Undefined index: thumbnail in /var/www/asset-library.godotengine.org/public/templates/asset_edit.phtml on line 153 |