I'm creating a 4 Pics 1 Word-like game, now I'm having problems on how to show the images in TextureRect that stored in my JSON file. Here's the format of my json file.
{
"1": {
"gold" : 5,
"pictures" : [ "res://icon.png", "res://icon1.png", "res://icon2.png", "res://icon3.png" ],
"letters" : [ "T", "E", "S", "T" ]
},
"2": {
"gold" : 5,
"pictures" : [ "res://icon.png", "res://icon1.png", "res://icon2.png", "res://icon3.png" ],
"letters" : [ "B", "E", "S", "T" ]
},
"3": {
"gold" : 5,
"pictures" : [ "res://icon.png", "res://icon1.png", "res://icon2.png", "res://icon3.png" ],
"letters" : [ "W", "E", "S", "T" ]
}
}