Hi, I'm using the Properties feature to show news text inside my game that I can update in properties in the GS portal. Do I need to publish a snapshot everytime I update the property with new news? If so, is there a better way to make this feature so that I can just update the text and it goes live right away?
-JJ
Best Answer
T
Tech Support
said
about 5 years ago
Yes, since Property Sets are configurables, you will have to republish to effectively see changes. Runtime collections are intended to be changed and their details retrieved over the course of the game's life which makes sense for you to have a news runtime collection. Here you can save previous news too. You can have a few admin accounts with the correct credentials be the only accounts able to add news to the runtime collection.
You can add a value to the collection entry to specify it's the latest entry and display that to the player, the rest can be retrieved by the player if they wish to see previous news in a different tab or screen.
If you have your news saved in a runtime collection your players will be able to receive them in real-time without having to publish or upload anything.
Cheers,
Omar
J
Jedrzej Jonasz
said
about 5 years ago
Ok I see, so instead of using the properties feature I could just create a cloud code that retrieved the news from a runtime collection?
So with the properties, the only way to make a change to them live is to publish a new snapshot right?
Tech Support
said
about 5 years ago
Answer
Yes, since Property Sets are configurables, you will have to republish to effectively see changes. Runtime collections are intended to be changed and their details retrieved over the course of the game's life which makes sense for you to have a news runtime collection. Here you can save previous news too. You can have a few admin accounts with the correct credentials be the only accounts able to add news to the runtime collection.
You can add a value to the collection entry to specify it's the latest entry and display that to the player, the rest can be retrieved by the player if they wish to see previous news in a different tab or screen.
Jedrzej Jonasz
Hi, I'm using the Properties feature to show news text inside my game that I can update in properties in the GS portal. Do I need to publish a snapshot everytime I update the property with new news? If so, is there a better way to make this feature so that I can just update the text and it goes live right away?
-JJ
Yes, since Property Sets are configurables, you will have to republish to effectively see changes. Runtime collections are intended to be changed and their details retrieved over the course of the game's life which makes sense for you to have a news runtime collection. Here you can save previous news too. You can have a few admin accounts with the correct credentials be the only accounts able to add news to the runtime collection.
You can add a value to the collection entry to specify it's the latest entry and display that to the player, the rest can be retrieved by the player if they wish to see previous news in a different tab or screen.
Hope this helps,
Omar
- Oldest First
- Popular
- Newest First
Sorted by PopularTech Support
Hey Jedrzej,
If you have your news saved in a runtime collection your players will be able to receive them in real-time without having to publish or upload anything.
Cheers,
Omar
Jedrzej Jonasz
Ok I see, so instead of using the properties feature I could just create a cloud code that retrieved the news from a runtime collection?
So with the properties, the only way to make a change to them live is to publish a new snapshot right?
Tech Support
Yes, since Property Sets are configurables, you will have to republish to effectively see changes. Runtime collections are intended to be changed and their details retrieved over the course of the game's life which makes sense for you to have a news runtime collection. Here you can save previous news too. You can have a few admin accounts with the correct credentials be the only accounts able to add news to the runtime collection.
You can add a value to the collection entry to specify it's the latest entry and display that to the player, the rest can be retrieved by the player if they wish to see previous news in a different tab or screen.
Hope this helps,
Omar
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2487 topics