The Godot Barn
Sign in
Sign in
Home
News & updates
Explore
Articles
Snippets
Shaders
Themes
Submit content
Sign in to submit content
Give or get help
Tutorials
Questions
Conversations
Coming soon!
camera
Recent snippets tagged «camera»
1
1
class_name TwoSticksThirdPersonController extends Node signal on_update(subject_speed : float, subject_angle : float, camera_y_angle : float, camera_parameter : float) @export var dead_zone : float = 0.07 @export var camera_rotate_speed : float = PI
Twin Sticks Third Person Controller and Camera
Casual Garage Coder
Aug 09th, 2025
Short (but versatile) script to control player movement and orbiting camera
Godot
4.x
GDScript
camera
controller
gamepad
0
3
class_name RTSCamera2D extends Camera2D @export_group("Zoom", "ZOOM_") # These control the maximum zoom in and out levels. This means a maximum zoom in of 2x and a zoom out of 100x (0.01) @export_range(0, 5, 0.01, "suffix:times", "hide_slider") var ZOOM_MAX: float = 2.0 @export_range(0, 5, 0.01, "suffix:times", "hide_slider") var ZOOM_MIN: float = 0.01 # Control how quickly we zoom in and out by a factor of @export_range(1, 10, 0.5) var ZOOM_SPEED: float = 2
RTS Camera 2D
xsist10
Jan 12th, 2025
Provides a configurable basic RTS Camera 2D that supports zooming and panning.
Godot
4.2
GDScript
camera
camera2d
rts
Filters
Contents containing
Language
GDScript
C#
Both
License
All licenses
CC-BY
CC0
GPLv3
AGPLv3
MIT
Unlicense
Godot version(s)
All versions
Godot 3.x
Godot 4.x
Godot 4.0
Godot 4.1
Godot 4.2
Godot 4.3
Godot 4.4
Godot 4.5
Reset filters
Apply filters
Popular tags recently
functions
first-person
UI
mesh
primitive
camera3d
controller
platformer
2d
tool
input
camera
boids
flock
gamepad
Please wait ...
Okay
Okay
No
Yes
Okay