Compose planet surfaces from profiles
This commit is contained in:
parent
bcbf1b6515
commit
2f68515f33
19 changed files with 123 additions and 39 deletions
13
PlanetSurfaceProfile.gd
Normal file
13
PlanetSurfaceProfile.gd
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
class_name PlanetSurfaceProfile
|
||||
extends Resource
|
||||
|
||||
# Declarative recipe for a landed planet surface. The host scene only knows
|
||||
# how to apply one of these; the feature scene owns the actual resource nodes.
|
||||
|
||||
@export var profile_id: String = "rocky"
|
||||
@export var features_scene: PackedScene
|
||||
@export var base_color: Color = Color(0.75, 0.75, 0.76, 1.0)
|
||||
@export var crater_color: Color = Color(0.44, 0.44, 0.45, 1.0)
|
||||
@export var highlight_color: Color = Color(0.89, 0.89, 0.9, 1.0)
|
||||
@export var caption_color: Color = Color(0.08, 0.16, 0.2, 1.0)
|
||||
@export var caption_outline_color: Color = Color(0.9, 0.95, 0.96, 0.8)
|
||||
Loading…
Reference in a new issue