https://metaplay.io logo
Missing Metaplay/Create Default Game Config Build ...
# questions-and-feedback
a
Hi, I don't have the menu entry "Metaplay/Create Default Game Config Build Window". Is it because I'm still on the previous SDK version, or should I have it and can I maybe install it somehow?
j
Which version are you on currently?
a
the previous one 🙂 i don't remember the number and didn't find it in the dashboard
j
Ah it's under Runtime Options > Deployment > Metaplay Version
a
"major": 27,
j
Ah yeah, it was only introduced in r28, however Idler has an example implementation that you can copy and might work for you?
It's not as productized as the new version but it should work for most cases with some small fixes
Or you can try to copy it from the r28 release package and move it into your project, iirc it's all in a single file there
a
ok. we will upgrade to the new one in early Sep and I'm not in a hurry with this, am already using Config for very simple things and now will just try out Experiments a little bit i'll try the Idler one for a very simple thing, but if there are probs I'll just return to this in Sep once we've upgraded to the upcoming new one then
j
It's fairly simple to add a menuitem that builds the game config as well
The idler sample also has an example for that
a
i actually already had that, from the hello world example i think, have been building the config happily
j
👍
a
i have just a single bool for a feature flag for which is fine now to just change the value in code, and then rebuild the archive, so i've been using public class SharedGlobalConfig : GameConfigKeyValue & public class SharedGameConfig : SharedGameConfigBase { [GameConfigEntry("Global")] public SharedGlobalConfig Global { get; set; } happily, just editing the val in SharedGlobalConfig there, without having any google sheets or CSVs but i wanna try out Experiments now and didn't figure out how to define Variants in code, so was thinking of trying to use e.g. a CSV now
j
It is possible to create variants through code but it's a bit more involved since it requires overriding the GameConfigBuild pipeline
a
ok. we want to use google sheets eventually so it makes sense for me to continue learning that route
yay am all done with that now, I have a google sheet where define my variants and a simple experiment which is the first A/B thing we'll use 🙂