> 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).

# 豪华鸽子

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

![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.
