Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add lives system config #105

Closed
jakubg1 opened this issue Jun 23, 2023 · 1 comment
Closed

Add lives system config #105

jakubg1 opened this issue Jun 23, 2023 · 1 comment
Assignees
Labels
A: Game Data Issue with game data. D: Feature Request A feature that may be implemented in a future version. R: Implemented A suggestion has been added into the code.

Comments

@jakubg1
Copy link
Owner

jakubg1 commented Jun 23, 2023

In gameplay.json, add a new lives section. Here are some example configs:

"lives": {
    "type": "none",
    "rollbackScoreAfterFailure": true
}

No lives system at all. The player has infinite attempts for any level.

"lives": {
    "type": "coins",
    "coinsForLife": 30,
    "rollbackScoreAfterFailure": false
}

Classic Luxor lives system.

"lives": {
    "type": "score",
    "scoreForLife": 50000,
    "countUnmultipliedScore": true,
    "rollbackScoreAfterFailure": false
}

Zuma-like lives system. The global score multiplier which would base on difficulty does not matter, even if not turned off by the score event.

Move this to difficulty configs once they're introduced.

@jakubg1 jakubg1 added D: Feature Request A feature that may be implemented in a future version. A: Modding Issue which will impact modders if worked on. Potentially a breaking change. labels Jun 23, 2023
@jakubg1 jakubg1 added this to the Full 1.0 release milestone Jun 23, 2023
@jakubg1 jakubg1 added A: Game Data Issue with game data. and removed A: Modding Issue which will impact modders if worked on. Potentially a breaking change. labels May 19, 2024
@jakubg1 jakubg1 added the R: Implemented A suggestion has been added into the code. label Nov 20, 2024
@jakubg1 jakubg1 self-assigned this Nov 20, 2024
@jakubg1
Copy link
Owner Author

jakubg1 commented Nov 20, 2024

Implemented in 3f4b8dc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: Game Data Issue with game data. D: Feature Request A feature that may be implemented in a future version. R: Implemented A suggestion has been added into the code.
Projects
None yet
Development

No branches or pull requests

1 participant