Pixel-Composer/objects/Obj_FirebaseFirestore_Document_Update/Mouse_7.gml

11 lines
199 B
Text
Raw Normal View History

2023-11-14 14:29:11 +01:00
randomize()
var map = ds_map_create()
map[?"value"] = "Opera"
map[?"points"] = random(999999)
var json = json_encode(map)
ds_map_destroy(map)
FirebaseFirestore("Collection/Document").Update(json)