Cambiados los aspectos visuales del juego a algo gotico
This commit is contained in:
1 parent
ec7e35ddf6
commit
967b3a286d
205 files changed
+7056
-1630
No files matched your search
@@ -0,0 +1,15 @@
|
||||
extends PointLight2D
|
||||
|
||||
## Halo local del fuego pintado. La leve respiracion se detiene en pausa.
|
||||
@export var base_energy: float = 0.45
|
||||
var _clock: float = 0.0
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
_clock = fposmod(global_position.x * 0.017 + global_position.y * 0.009, TAU)
|
||||
energy = base_energy
|
||||
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
_clock += delta
|
||||
energy = base_energy * (0.94 + sin(_clock * 2.1) * 0.04 + sin(_clock * 5.3) * 0.02)
|
||||
Reference in new issue
Block a user