classic-sequential.json 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300
  1. {
  2. "schemaVersion": "1",
  3. "version": "2026.03.25",
  4. "app": {
  5. "id": "sample-classic-001",
  6. "title": "顺序赛示例",
  7. "locale": "zh-CN"
  8. },
  9. "map": {
  10. "tiles": "../map/lxcb-001/tiles/",
  11. "mapmeta": "../map/lxcb-001/tiles/meta.json",
  12. "declination": 6.91,
  13. "initialView": {
  14. "zoom": 17
  15. }
  16. },
  17. "playfield": {
  18. "kind": "course",
  19. "source": {
  20. "type": "kml",
  21. "url": "../kml/lxcb-001/10/c01.kml"
  22. },
  23. "CPRadius": 6,
  24. "controlOverrides": {
  25. "start-1": {
  26. "template": "focus",
  27. "title": "比赛开始",
  28. "body": "从这里出发,先熟悉地图方向,再推进到第一个目标点。点击“查看详情”可打开 H5 详情页。",
  29. "autoPopup": true,
  30. "once": true,
  31. "priority": 1,
  32. "ctas": [
  33. {
  34. "type": "quiz",
  35. "label": "答题加分",
  36. "bonusScore": 1,
  37. "countdownSeconds": 10,
  38. "minValue": 10,
  39. "maxValue": 99,
  40. "allowSubtraction": true
  41. }
  42. ],
  43. "contentExperience": {
  44. "type": "h5",
  45. "url": "https://oss-mbh5.colormaprun.com/gotomars/h5/content-h5-test-template.html",
  46. "bridge": "content-v1",
  47. "presentation": "dialog"
  48. },
  49. "clickTitle": "起点说明",
  50. "clickBody": "点击起点可再次查看起跑说明与路线背景。",
  51. "clickExperience": {
  52. "type": "h5",
  53. "url": "https://oss-mbh5.colormaprun.com/gotomars/h5/content-h5-test-template.html",
  54. "bridge": "content-v1",
  55. "presentation": "dialog"
  56. }
  57. },
  58. "control-1": {
  59. "template": "story",
  60. "title": "图书馆前广场",
  61. "body": "这是第一检查点,完成后沿主路继续前进。卡片先原生弹出,再可进入 H5 详情。",
  62. "autoPopup": true,
  63. "once": false,
  64. "priority": 1,
  65. "ctas": [
  66. {
  67. "type": "photo",
  68. "label": "拍照打卡"
  69. },
  70. {
  71. "type": "detail",
  72. "label": "查看详情"
  73. }
  74. ],
  75. "clickTitle": "图书馆前广场",
  76. "clickBody": "这里是顺序赛的首个关键点位,适合确认路线方向。",
  77. "contentExperience": {
  78. "type": "h5",
  79. "url": "https://oss-mbh5.colormaprun.com/gotomars/h5/content-h5-test-template.html",
  80. "bridge": "content-v1",
  81. "presentation": "dialog"
  82. },
  83. "clickExperience": {
  84. "type": "h5",
  85. "url": "https://oss-mbh5.colormaprun.com/gotomars/h5/content-h5-test-template.html",
  86. "bridge": "content-v1",
  87. "presentation": "dialog"
  88. }
  89. },
  90. "control-2": {
  91. "template": "minimal",
  92. "pointStyle": "badge",
  93. "pointColorHex": "#27ae60",
  94. "pointSizeScale": 0.92,
  95. "pointAccentRingScale": 1.1,
  96. "pointLabelScale": 0.94,
  97. "pointLabelColorHex": "#ffffff",
  98. "title": "教学楼南侧",
  99. "body": "注意这里地形开阔,适合快速判断下一段方向。这个点配置成手动查看后可进 H5。",
  100. "autoPopup": false,
  101. "once": true,
  102. "priority": 1,
  103. "clickTitle": "教学楼南侧",
  104. "clickBody": "这个点配置成点击查看,经过时不会自动弹出。",
  105. "clickExperience": {
  106. "type": "h5",
  107. "url": "https://oss-mbh5.colormaprun.com/gotomars/h5/content-h5-test-template.html",
  108. "bridge": "content-v1",
  109. "presentation": "dialog"
  110. }
  111. },
  112. "control-3": {
  113. "template": "story",
  114. "title": "湖边步道",
  115. "body": "经过这里时可以观察水边和林带的边界关系。",
  116. "autoPopup": true,
  117. "once": false,
  118. "priority": 1,
  119. "clickTitle": "湖边步道",
  120. "clickBody": "点击可查看更详细的路线观察建议。"
  121. },
  122. "finish-1": {
  123. "template": "focus",
  124. "title": "终点到达",
  125. "body": "恭喜完成本次顺序赛,准备查看结果。这里也保留 H5 详情入口用于测试。",
  126. "autoPopup": true,
  127. "once": true,
  128. "priority": 2,
  129. "ctas": [
  130. {
  131. "type": "audio",
  132. "label": "语音留言"
  133. },
  134. {
  135. "type": "detail",
  136. "label": "查看详情"
  137. }
  138. ],
  139. "clickTitle": "终点说明",
  140. "clickBody": "点击终点可再次查看本局结束说明。",
  141. "clickExperience": {
  142. "type": "h5",
  143. "url": "https://oss-mbh5.colormaprun.com/gotomars/h5/content-h5-test-template.html",
  144. "bridge": "content-v1",
  145. "presentation": "dialog"
  146. }
  147. }
  148. },
  149. "legOverrides": {
  150. "leg-2": {
  151. "style": "glow-leg",
  152. "colorHex": "#27ae60",
  153. "widthScale": 1.12,
  154. "glowStrength": 0.82
  155. }
  156. },
  157. "metadata": {
  158. "title": "顺序赛路线示例",
  159. "code": "classic-001"
  160. }
  161. },
  162. "game": {
  163. "mode": "classic-sequential",
  164. "rulesVersion": "1",
  165. "session": {
  166. "startManually": true,
  167. "requiresStartPunch": true,
  168. "requiresFinishPunch": true,
  169. "autoFinishOnLastControl": false,
  170. "maxDurationSec": 5400
  171. },
  172. "punch": {
  173. "policy": "enter-confirm",
  174. "radiusMeters": 5
  175. },
  176. "sequence": {
  177. "skip": {
  178. "enabled": true,
  179. "radiusMeters": 30,
  180. "requiresConfirm": true
  181. }
  182. },
  183. "guidance": {
  184. "showLegs": true,
  185. "legAnimation": true,
  186. "allowFocusSelection": false
  187. },
  188. "presentation": {
  189. "track": {
  190. "mode": "full",
  191. "style": "neon",
  192. "tailLength": "medium",
  193. "colorPreset": "mint",
  194. "colorHex": "#176d5d",
  195. "headColorHex": "#54f3d8",
  196. "widthPx": 4.2,
  197. "headWidthPx": 6.6,
  198. "glowStrength": 0.18
  199. },
  200. "gpsMarker": {
  201. "visible": true,
  202. "style": "beacon",
  203. "size": "medium",
  204. "colorPreset": "cyan",
  205. "showHeadingIndicator": true,
  206. "logoUrl": "https://oss-mbh5.colormaprun.com/gotomars/test/me.jpg",
  207. "logoMode": "center-badge"
  208. },
  209. "sequential": {
  210. "controls": {
  211. "default": {
  212. "style": "classic-ring",
  213. "colorHex": "#cc006b",
  214. "sizeScale": 1,
  215. "labelScale": 1
  216. },
  217. "current": {
  218. "style": "pulse-core",
  219. "colorHex": "#38fff2",
  220. "sizeScale": 1.1,
  221. "accentRingScale": 1.32,
  222. "glowStrength": 0.95,
  223. "labelScale": 1.08,
  224. "labelColorHex": "#fff8fb"
  225. },
  226. "completed": {
  227. "style": "solid-dot",
  228. "colorHex": "#7e838a",
  229. "sizeScale": 0.88,
  230. "labelScale": 0.94
  231. },
  232. "skipped": {
  233. "style": "badge",
  234. "colorHex": "#8a9198",
  235. "sizeScale": 0.9,
  236. "accentRingScale": 1.12,
  237. "labelScale": 0.96
  238. },
  239. "start": {
  240. "style": "double-ring",
  241. "colorHex": "#2f80ed",
  242. "sizeScale": 1.04,
  243. "accentRingScale": 1.28,
  244. "labelScale": 1.02
  245. },
  246. "finish": {
  247. "style": "double-ring",
  248. "colorHex": "#f2994a",
  249. "sizeScale": 1.08,
  250. "accentRingScale": 1.34,
  251. "glowStrength": 0.3,
  252. "labelScale": 1.06,
  253. "labelColorHex": "#fff4de"
  254. }
  255. },
  256. "legs": {
  257. "default": {
  258. "style": "dashed-leg",
  259. "colorHex": "#cc006b",
  260. "widthScale": 1
  261. },
  262. "completed": {
  263. "style": "progress-leg",
  264. "colorHex": "#7a8088",
  265. "widthScale": 0.92,
  266. "glowStrength": 0.22
  267. }
  268. }
  269. }
  270. },
  271. "visibility": {
  272. "revealFullPlayfieldAfterStartPunch": true
  273. },
  274. "finish": {
  275. "finishControlAlwaysSelectable": false
  276. },
  277. "telemetry": {
  278. "heartRate": {
  279. "age": 30,
  280. "restingHeartRateBpm": 62,
  281. "userWeightKg": 65
  282. }
  283. },
  284. "feedback": {
  285. "audioProfile": "default",
  286. "hapticsProfile": "default",
  287. "uiEffectsProfile": "default"
  288. }
  289. },
  290. "resources": {
  291. "audioProfile": "default",
  292. "contentProfile": "default",
  293. "themeProfile": "default-race"
  294. },
  295. "debug": {
  296. "allowModeSwitch": false,
  297. "allowMockInput": false,
  298. "allowSimulator": false
  299. }
  300. }