Godot mechanic revival

From nix-community/nur-combined · View interactive version

Godot mechanic revival is an AI agent skill from the GitHub repository nix-community/nur-combined. Use when implementing player death, resurrection, or "second chance" mechanics.

How to use this skill

Skill file

Revival & Resurrection Mechanics

Overview

This skill provides a robust framework for handling player mortality and return. It moves beyond simple "Game Over" screens to integrated risk/reward systems like those found in Sekiro, Hades, or Dark Souls.

NEVER Do (Expert Revival Rules)

Lifecycle & State

Persistence & Data

UX & Pacing


Available Scripts

MANDATORY: Read the appropriate script before implementing the corresponding pattern.

[revival_global_manager.gd](scripts/revival_global_manager.gd)

Expert singleton for managing the global respawn loop and death transitions.

[revival_checkpoint_persistence.gd](scripts/revival_checkpoint_persistence.gd)

Resource-based system for saving last checkpoint and world state to disk.

[revival_health_restitution.gd](scripts/revival_health_restitution.gd)

Professional I-frame and health replenishment logic for post-revive stability.

[revival_soul_grave.gd](scripts/revival_soul_grave.gd)

Expert 'Soul Retrieval' mechanic for spawning graves at death coordinates.

[revival_checkpoint_validator.gd](scripts/revival_checkpoint_validator.gd)

Progress-aware validator that prevents backtracking from overwriting newer checkpoints.

[revival_death_timer.gd](scripts/revival_death_timer.gd)

Professional respawn delay manager with UI and animation hooks.

[revival_ghost_mode.gd](scripts/revival_ghost_mode.gd)

Expert 'Spirit World' transition logic involving collision layer swapping.

[revival_state_reset_guard.gd](scripts/revival_state_reset_guard.gd)

Essential utility for purging velocity and state locks upon player respawn.

[revival_checkpoint_visuals.gd](scripts/revival_checkpoint_visuals.gd)

Material-swapping logic for providing clear 'Active' feedback to players.

[revival_auto_save_manager.gd](scripts/revival_auto_save_manager.gd)

Automatic save-trigger logic for ensuring checkpoint persistence.


Reference

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.