Skip to content

Grant the player effectively infinite lives - #1963

Merged
manuq merged 1 commit into
mainfrom
wjt/grant-the-player-effectively-infinite-lives
Feb 20, 2026
Merged

manuq merged 1 commit into
mainfrom
wjt/grant-the-player-effectively-infinite-lives

Conversation

@wjt

@wjt wjt commented Feb 20, 2026 •

Copy link
Copy Markdown
Member

We currently have a partial implementation of lives in the game. The player starts with 3 lives; they lose a life each time they are defeated; and when they run out of lives, they are kicked back to the start of the current challenge.

However, we have no visible indication of the number of lives the player has remaining. As a result, the game feels broken when the player unexpectedly loses their progress after being defeated.

In addition, some recent playtesters felt that the game-over behaviour is unfair, even if it were visible.

For now, set the number of lives to be effectively infinite (the largest positive integer that Godot can represent), to effectively disable the feature. This hexadecimal number is 9,223,372,036,854,775,807 in decimal: 9 quintillion in the short scale.

Helps #1957

We currently have a partial implementation of lives in the game. The
player starts with 3 lives; they lose a life each time they are
defeated; and when they run out of lives, they are kicked back to the
start of the current challenge.

However, we have no visible indication of the number of lives the player
has remaining. As a result, the game feels broken when the player
unexpectedly loses their progress after being defeated.

In addition, some recent playtesters felt that the game-over behaviour
is unfair, even if it were visible.

For now, set the number of lives to be effectively infinite (the largest
positive integer that Godot can represent), to effectively disable the
feature. This hexadecimal number is 9,223,372,036,854,775,807 (9
quintillion) in decimal.

Helps #1957
@wjt
wjt requested a review from a team as a code owner February 20, 2026 15:40
@github-actions

Copy link
Copy Markdown

Play this branch at https://play.threadbare.game/branches/endlessm/wjt/grant-the-player-effectively-infinite-lives.

(This launches the game from the start, not directly at the change(s) in this pull request.)

@wjt

wjt commented Feb 20, 2026 •

Copy link
Copy Markdown
Member Author

Note that this is 9 quintillion in the short scale; in the long scale it is 9 trillion.

const COMPLETED_QUESTS_KEY := "completed_quests"
const LIVES_KEY := "current_lives"
const MAX_LIVES := 3
const MAX_LIVES := 0x7fffffffffffffff

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, smart. Simpler than reverting.

@manuq
manuq merged commit 77aa438 into main Feb 20, 2026
6 checks passed
@manuq
manuq deleted the wjt/grant-the-player-effectively-infinite-lives branch February 20, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants