feat(art): add storybook meadow and woodland villagers

This commit is contained in:
Rijad Zuzo
2026-09-05 18:56:44 +02:00
parent 6aae41d36f
commit da3bed67a0
60 changed files with 1222 additions and 373 deletions
+4 -4
View File
@@ -7,9 +7,9 @@ enum CanopyVariant {
}
const COLORS := {
CanopyVariant.GREEN: Color(0.18, 0.39, 0.16),
CanopyVariant.DARK_GREEN: Color(0.10, 0.28, 0.12),
CanopyVariant.YELLOW_GREEN: Color(0.34, 0.47, 0.16),
CanopyVariant.GREEN: Color(0.32, 0.51, 0.29),
CanopyVariant.DARK_GREEN: Color(0.22, 0.41, 0.30),
CanopyVariant.YELLOW_GREEN: Color(0.49, 0.60, 0.28),
}
const WIND_SHADER := preload("res://world/jajce/materials/wind.gdshader")
@@ -25,7 +25,7 @@ func _ready() -> void:
var rng := RandomNumberGenerator.new()
rng.seed = hash_seed
var canopy_variant := rng.randi() % COLORS.size() as CanopyVariant
var canopy_radius := 1.0 + rng.randf() * 0.55
var canopy_radius := 1.25 + rng.randf() * 0.6
var wind_phase := rng.randf_range(0.0, TAU)
var trunk_mesh := CylinderMesh.new()