For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Dead Surge

Zombie survival with weapon progression, pooled reward text, and local enemy steering around other zombies and obstacles.

Dead Surge preview

Zombie survival game with combat and weapon progression.

Project information

Maintained by: Decentraland DAO

View source

License: Not identified in this catalog. Consult the upstream repository and maintainer for applicable terms before reuse.

Explore the code

These links point to a specific source snapshot so the explanations remain useful as upstream development continues. They are learning references, not a security assessment.

Reuse entities for floating reward text

spawnZcRewardTextAtPosition and its pool initializer cycle through a fixed set of text entities. The rewardTextSystem makes them rise, face the camera, and fade before hiding them for reuse.

Project context: Read the scene's RewardTextComponent and game-time updates with these functions to understand their lifetime tracking.

Source references:

Steer enemies around each other and simple obstacles

getZombieSeparationDirection combines repulsion from nearby zombies. resolveZombieMovePosition tries the desired direction, a fallback, and individual movement axes against circular brick obstacles.

Project context: This illustrates local steering; the behavior depends on the scene's movement entries, obstacle positions, and radius constants.

Source references:

Last updated