|
RapidGameFramework
Reusable Godot managers for data-driven small games
|
Reusable match/round state for arcade, sports, and duel-style games. More...
Go to the source code of this file.
Namespaces | |
| namespace | match_manager |
Variables | |
| match_manager.Array | |
| Configure a match with player ids and a target score. | |
| match_manager.int | |
| Award points and return true if the match is now complete. | |
| list | match_manager.players = [] |
| Return score for one player. | |
| match_manager.player_id | |
| match_manager.target_score = max(1, score_to_win) | |
| int | match_manager.round = 1 |
| float | match_manager.elapsed = 0.0 |
| match_manager.active = false | |
| Start or resume match timing. | |
| str | match_manager.winner = "" |
| match_manager.scores = state.get("scores", {}).duplicate(true) | |
Reusable match/round state for arcade, sports, and duel-style games.
Definition in file match_manager.gd.