ajout d'effet de post processing et réparation des graines

This commit is contained in:
2026-02-27 00:51:06 +01:00
parent a4662f2797
commit 8b3d5a98e1
19 changed files with 268 additions and 64 deletions

View File

@@ -0,0 +1,14 @@
@tool
extends PlantTextureBuilderInstance
@export var hash : int = 0 :
set(v):
hash = v
update_seed_sprite()
func _ready():
update_seed_sprite()
func update_seed_sprite():
if is_node_ready():
%Sprite2D.texture = build_seed_texture(hash)