modification de l'UI en 3D et renommage des particules

This commit is contained in:
2026-02-07 16:41:39 +01:00
parent 3a82e8b3c1
commit 9570fd96c2
30 changed files with 295 additions and 110 deletions

View File

@@ -0,0 +1,18 @@
extends CPUParticles2D
class_name EffectParticles
func setup_particles(param : Parameters):
texture = param.texture
modulate = param.color
emitting = true
class Parameters:
var texture : Texture
var color : Color
func _init(
_texture : Texture,
_color : Color = Color.WHITE
):
texture = _texture
color = _color