> 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-ko/tutorials-and-examples/published-games/dead-surge.md).

# 데드 서지

무기 진행, 풀링된 보상 텍스트, 다른 좀비와 장애물을 피하는 로컬 적 스티어링이 있는 좀비 생존.

![Dead Surge 미리 보기](https://3980763956-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-5446b11a043e078db26d258897a3c9242b0dcde5%2FdeadSurge-preview.webp?alt=media)

전투와 무기 성장 요소를 갖춘 좀비 생존 게임.

* [Decentraland에서 플레이하기](https://decentraland.org/jump?realm=deadsurge.dcl.eth)

## 프로젝트 정보

**유지 관리:** Decentraland DAO

[소스 보기](https://github.com/dcl-regenesislabs/dead-surge)

**라이선스:** 이 카탈로그에서는 확인되지 않았습니다. 재사용하기 전에 적용되는 조건을 업스트림 저장소와 관리자에게 확인하세요.

## 코드 살펴보기

이 링크는 특정 소스 스냅샷을 가리키므로, 상위 프로젝트의 개발이 계속되어도 설명을 유용하게 참고할 수 있습니다. 학습을 위한 참고 자료이며 보안 평가 자료는 아닙니다.

### 화면에 뜨는 보상 텍스트에 엔티티 재사용

`spawnZcRewardTextAtPosition` 와 풀 초기화 함수는 고정된 텍스트 엔티티 집합을 순환하며 사용합니다.  `rewardTextSystem` 은 텍스트를 위로 띄우고 카메라를 향하게 한 뒤, 페이드아웃시켜 재사용할 수 있도록 숨깁니다.

**프로젝트 맥락:** 씬의 `RewardTextComponent` 와 게임 시간 업데이트를 살펴보며 이 함수들이 엔티티의 수명을 추적하는 방식을 이해하세요.

**소스 참고:**

* [`spawnZcRewardTextAtPosition` 와 풀 초기화 함수](https://github.com/dcl-regenesislabs/dead-surge/blob/4e967ba0590e0cdf7d6550ebbf56ea3b246a36dd/src/zombie.ts#L592-L640)
* [`rewardTextSystem`](https://github.com/dcl-regenesislabs/dead-surge/blob/4e967ba0590e0cdf7d6550ebbf56ea3b246a36dd/src/zombie.ts#L815-L850)

### 적과 간단한 장애물을 서로 피해 이동시키기

`getZombieSeparationDirection` 은 주변 좀비의 반발력을 결합합니다. `resolveZombieMovePosition` 는 원형 벽돌 장애물을 피해 원하는 방향, 대체 방향, 각 이동 축을 차례로 시도합니다.

**프로젝트 맥락:** 이는 국소적인 이동 조향을 보여 줍니다. 동작은 씬의 이동 항목, 장애물 위치, 반경 상수에 따라 달라집니다.

**소스 참고:**

* [`getZombieSeparationDirection`](https://github.com/dcl-regenesislabs/dead-surge/blob/4e967ba0590e0cdf7d6550ebbf56ea3b246a36dd/src/zombie.ts#L868-L896)
* [`resolveZombieMovePosition`](https://github.com/dcl-regenesislabs/dead-surge/blob/4e967ba0590e0cdf7d6550ebbf56ea3b246a36dd/src/zombie.ts#L898-L939)


---

# 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-ko/tutorials-and-examples/published-games/dead-surge.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.
