@indiegems/gem-web-sdk 15.2.0 → 15.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/game.d.ts +2 -0
- package/dist/gem-web-sdk.bridge.js +1 -1
- package/dist/gem-web-sdk.conformance.js +2 -2
- package/dist/gem-web-sdk.esm.js +1 -1
- package/dist/gem-web-sdk.function.js +1 -1
- package/dist/gem-web-sdk.game.js +3 -3
- package/dist/gem-web-sdk.min.js +2 -2
- package/dist/gem-web-sdk.sdk.js +2 -2
- package/dist/gem-web-sdk.server.js +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/sdk.d.ts +2 -0
- package/docs/api/api-reference-function.md +1 -1
- package/docs/api/api-reference-game.md +19 -1
- package/docs/api/api-reference-server.md +1 -1
- package/docs/api/reference.json +17 -1
- package/docs/changelog.md +12 -0
- package/docs/getting-started.md +1 -1
- package/docs/manifest.json +8 -8
- package/docs/server-bundles.md +2 -2
- package/docs/what-a-game-must-do.md +24 -14
- package/package.json +1 -1
- package/schema/bridge.v1.json +28 -4
package/schema/bridge.v1.json
CHANGED
|
@@ -972,10 +972,11 @@
|
|
|
972
972
|
"The player's ARCADE-WIDE DEFAULTS for this device, which the Arcade",
|
|
973
973
|
"keeps in its own Settings: a starting volume, battery saver, a keyboard",
|
|
974
974
|
"layout, the gamepad's confirm button, vibration, the camera and",
|
|
975
|
-
"controls settings
|
|
976
|
-
"ONLY. The game's own saved settings win: a game starts
|
|
977
|
-
"here only while the player has made no choice of their
|
|
978
|
-
"game, and never overwrites one the player made because
|
|
975
|
+
"controls settings, a starting graphics quality and Color help.",
|
|
976
|
+
"RECOMMENDATIONS ONLY. The game's own saved settings win: a game starts",
|
|
977
|
+
"a setting from here only while the player has made no choice of their",
|
|
978
|
+
"own in that game, and never overwrites one the player made because",
|
|
979
|
+
"this changed.",
|
|
979
980
|
"A game may ignore it entirely.",
|
|
980
981
|
"",
|
|
981
982
|
"OPTIONAL because it is additive: a parent that predates it sends the",
|
|
@@ -1002,6 +1003,10 @@
|
|
|
1002
1003
|
"(`low` when it is on, `medium` otherwise) and `graphicsQualityAuto`",
|
|
1003
1004
|
"with true, so on the game side both are present whenever the object is.",
|
|
1004
1005
|
"",
|
|
1006
|
+
"`colorHelp` IS OPTIONAL INSIDE IT AND STAYS ABSENT (owner decision",
|
|
1007
|
+
"2026-10-23): the SDK does NOT fill it. An older parent omits it and the",
|
|
1008
|
+
"game reads `null`, \"no recommendation\", never false.",
|
|
1009
|
+
"",
|
|
1005
1010
|
"`muted`, `reducedMotion` and `showFrameStats` stay where they are, at",
|
|
1006
1011
|
"the top of this message, and keep their meaning: they are the Arcade's",
|
|
1007
1012
|
"own state the frame acts on, not a recommendation. The Arcade starts",
|
|
@@ -1103,6 +1108,25 @@
|
|
|
1103
1108
|
"kind": "boolean",
|
|
1104
1109
|
"optional": true,
|
|
1105
1110
|
"$comment": "True when the Arcade detected `graphicsQuality` for this device (the player left Graphics on Auto), so the game may step its quality up or down from there as it measures frames; false when the player picked it by hand, so the game holds it and changes it only when the player does (in the Arcade or in the game's own settings). Default true when absent."
|
|
1111
|
+
},
|
|
1112
|
+
"colorHelp": {
|
|
1113
|
+
"kind": "boolean",
|
|
1114
|
+
"optional": true,
|
|
1115
|
+
"$comment": [
|
|
1116
|
+
"The player's Arcade-wide Color help default for this device (owner",
|
|
1117
|
+
"decision 2026-10-23): true asks a game that offers colour-blind aids",
|
|
1118
|
+
"-- patterns or symbols beside colours, a colour-blind palette -- to",
|
|
1119
|
+
"start with them ON; false asks it to start with them off. A DEFAULT",
|
|
1120
|
+
"ONLY, like every field here: a game applies it on first run, or",
|
|
1121
|
+
"while the player has made no choice of their own in that game, and",
|
|
1122
|
+
"never overrides the player's in-game choice. A game with no such",
|
|
1123
|
+
"aids ignores it.",
|
|
1124
|
+
"",
|
|
1125
|
+
"ABSENT IS NOT FALSE. A parent built against an older SDK omits it,",
|
|
1126
|
+
"and that absence means the Arcade made no recommendation: the SDK",
|
|
1127
|
+
"reports `null` and the game keeps its own default. Unlike the",
|
|
1128
|
+
"camera and controls fields there is no neutral value to invent."
|
|
1129
|
+
]
|
|
1106
1130
|
}
|
|
1107
1131
|
}
|
|
1108
1132
|
}
|