> 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/pigeon-deluxe.md). Agents can also search and read this documentation through its [MCP server](https://docs.decentraland.org/~gitbook/mcp).

# 豪华鸽子

限时包裹投递，包含取件和投递区域、安装在头像上的方向指示器，以及与投递动画分离的计分。

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

一款限时配送游戏：玩家收集包裹，将其运送到另一个平台，并通过完成配送获得额外时间。

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

## 项目信息

**维护者：** 社区 · PepeGawd

[查看上游源代码](https://github.com/PepeGawd/Pigeon-Deluxe)

**许可证：** 本目录中未标明许可证。复用前，请咨询上游代码库和维护者，确认适用条款。

{% hint style="warning" %}
**由社区维护的代码——使用前请先审查**

此社区项目由 Decentraland Foundation 和 DAO 的 GitHub 组织之外的团队维护。其源代码和线上部署可能独立发生变化。

收录于此目录并不代表经过安全审计，也不保证安全。运行或复用前，请审查代码、依赖项和安装脚本。

[报告目录相关问题](https://github.com/decentraland/docs/issues/new)。如怀疑存在漏洞，请遵循上游项目的安全政策。请勿在公开问题中包含漏洞利用细节或凭据。
{% endhint %}

## 探索代码

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

### 附加到头像时指向目标

`initParcelDirectionPointer` 及其更新系统会在头像名称标签上方附加一个箭头，计算指向当前目标的世界空间方向，并将该旋转转换到父对象的局部空间。旋转会根据 `dt`逐步推进，因此箭头会随着时间转向目标。

**项目背景：** 目标由包裹系统提供，箭头使用场景中的 `FaceDirection1.glb` 资源。

**源代码参考：**

* [`initParcelDirectionPointer` 及其更新系统](https://github.com/PepeGawd/Pigeon-Deluxe/blob/1c24bcb3c82d73dbb1aad8b1035f3f7edab5d315/src/Game/parcelDirectionPointer.ts#L26-L96)

### 将计分与配送动画分开

`startNewRound` 和 `handleSpawnAreaEnter` 为平台分配取件和配送角色，跟踪包裹是否正在被携带，并在进入配送平台时立即奖励分数和时间。投放动画结束后，下一轮便会开始。

**项目背景：** 结合场景中的游戏计时器和包裹附加辅助函数阅读，可了解游戏状态与视觉反馈如何协同运作。

**源代码参考：**

* [`startNewRound` 和 `handleSpawnAreaEnter`](https://github.com/PepeGawd/Pigeon-Deluxe/blob/1c24bcb3c82d73dbb1aad8b1035f3f7edab5d315/src/Game/parcelCollectDeliver.ts#L363-L433)


---

# 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/pigeon-deluxe.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.
