Skip to content

Instantly share code, notes, and snippets.

View JorroIndieDev's full-sized avatar
💭
I may be slow to respond.

Jorro JorroIndieDev

💭
I may be slow to respond.
View GitHub Profile
@nin-jat
nin-jat / FreeCamera.gd
Last active July 12, 2025 07:07
A FreeCamera for godot. Add it to a camera node and add some input actions for WASD. Supports gamepads.
extends Camera
# How fast the camera speeds up to the moveSpeed and slows down to zero.
export var acceleration = 50.0
# The top speed of the camera.
export var moveSpeed = 8.0
# The speed of the mouse input.
export var mouseSpeed = 300.0