The problem is this, I wrote the color from the picker to a file, and I need to load it. However! Godot does not understand the resulting values
Sample code (I wrote it separately, because half of the project needs to be disassembled to show these particular lines):
extends Node2D
var savecolor = Color(1, 1, 1, 1)
var truecolor = Color(savecolor)
func _process(delta):
savecolor = $test/ColorPicker.color
func _on_Start_Game_pressed():
Saver1.save({
"main" : {
"color" : savecolor
}
})
func loading():
savecolor = Saver3.saveData.main.color
I tried many solutions. I would be grateful for your help