Installed SmartCamera2D plugin.

This commit is contained in:
gdz
2025-12-07 21:32:24 +01:00
parent 269f2daf6c
commit 9429d48e32
13 changed files with 321 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
extends Node
signal apply_flash
signal apply_shake
var active = true
func apply_camera_flash(color: Color, duration = 0.3):
if not active: return
apply_flash.emit(color, duration)
func apply_camera_shake(force: float = 2.0, duration = 0.4):
if not active: return
apply_shake.emit(force, duration)