> For the complete documentation index, see [llms.txt](https://docs.decentraland.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.decentraland.org/creator/content-creator-zh/jiao-cheng-yu-shi-li/published-games/kick-off.md).

# 开球

一个世界杯预测场景，包含蓄力踢球、即时本地运动反馈和响应式赛程面板。

![Kick Off 预览](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-c6ade0fbe4eda4e666a8949c5d60095565294433%2FdclKickoff-preview.webp?alt=media)

一款世界杯主题的季节性预测游戏。

* [在 Decentraland 上游玩](https://decentraland.org/jump?realm=kickoff.dcl.eth)

## 项目信息

**维护者：** Decentraland DAO

[查看源代码](https://github.com/dcl-regenesislabs/kickoff-2026)

**许可证：** 此目录中未标明许可证。重用前，请查阅上游代码库并咨询维护者，确认适用条款。

## 探索代码

这些链接指向特定的源代码快照，因此随着上游持续开发，这些说明仍然有用。它们是学习参考资料，并非安全评估。

### 让蓄力踢球与即时视觉反馈相结合

蓄力并释放的操作循环结合了键盘和移动设备输入，会让蓄力条逐渐增长并改变颜色、发送踢球消息，并启动本地球体运动。 `releaseOptimistic` 会初始化该运动。

**项目背景：** 结合项目的 `prodeNet` 房间和球体消息处理程序进行研究，以了解输入、反馈和多人游戏消息之间的关系。

**源代码参考：**

* [蓄力并释放的操作循环](https://github.com/dcl-regenesislabs/kickoff-2026/blob/1813434548c1c56d9eec46575cc001d2bbdcebfd/client/ball.ts#L491-L536)
* [`releaseOptimistic`](https://github.com/dcl-regenesislabs/kickoff-2026/blob/1813434548c1c56d9eec46575cc001d2bbdcebfd/client/ball.ts#L155-L178)

### 根据参考画布缩放 UI

`layoutScale` 会读取 `UiCanvasInformation`，将宽高分别与 1920×1080 的设计空间进行比较，限制计算结果，并额外应用移动设备缩放系数。

**项目背景：** 这是一个简洁的共享布局辅助函数示例；其限制值和移动设备缩放系数均针对本项目的面板进行了调整。

**源代码参考：**

* [`layoutScale`](https://github.com/dcl-regenesislabs/kickoff-2026/blob/1813434548c1c56d9eec46575cc001d2bbdcebfd/schedule/responsive.ts#L1-L21)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.decentraland.org/creator/content-creator-zh/jiao-cheng-yu-shi-li/published-games/kick-off.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
