> 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/monster-recon.md).

# 怪物侦察

先进行记忆配对，然后触发式怪物追逐，并包含收集进度、排行榜和自定义位图文本。

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

一款记忆配对游戏：限时清空棋盘，然后追捕你揭开的怪物，别让它逃走。在图鉴中收集稀有发现，并冲击每周及历史排行榜。

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

## 项目信息

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

[查看上游源代码](https://github.com/carlosmu/dcl-monster-recon)

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

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

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

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

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

## 主要功能

* 多人游戏服务器
* 用于存储游戏进度、最佳用时、排行榜和每周奖励。
* 虚拟摄像机
* 场景表情动作
* 触发区域
* 粒子效果
* 补间动画
* 文本形状
* 3D 排行榜（带玩家头像）
* 用于 UI 的自定义位图字体
* 与其他玩家捕获情况同步的实时动态

## 探索代码

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

### 利用场景标记和触发区域构建追逐玩法

`spawnHop` 会在选定的标记处组合弹跳补间动画、球形触发器、音效和公告牌精灵图。捕获处理程序会先确认进入区域的实体是本地玩家，然后进行清理并调用奖励回调。

**项目背景：** 请结合传入的标记名称、精灵图集和回调阅读此内容： `startPrizeChase`.

**源代码参考：**

* [`spawnHop`](https://github.com/carlosmu/dcl-monster-recon/blob/eb0bc6fa87b9ebf98c8c068ebb9bba686a9467cb/src/prizeChase.ts#L216-L271)
* [捕获处理程序](https://github.com/carlosmu/dcl-monster-recon/blob/eb0bc6fa87b9ebf98c8c068ebb9bba686a9467cb/src/prizeChase.ts#L183-L214)

### 在 ReactEcs 中渲染自定义位图文本

`BitmapTextLine` 使用图集 UV、字形偏移和字距调整来排列单个字形图像。前置的测量和换行辅助函数会根据测量宽度将文本拆分成多行。

**项目背景：** 渲染器需要匹配的位图字体度量数据和纹理资源。

**源代码参考：**

* [`BitmapTextLine`](https://github.com/carlosmu/dcl-monster-recon/blob/eb0bc6fa87b9ebf98c8c068ebb9bba686a9467cb/src/bitmapFont.tsx#L268-L327)
* [测量和换行辅助函数](https://github.com/carlosmu/dcl-monster-recon/blob/eb0bc6fa87b9ebf98c8c068ebb9bba686a9467cb/src/bitmapFont.tsx#L229-L266)


---

# 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/monster-recon.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.
