-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Game screens, loading config and colors, rendering game states
- Loading branch information
Showing
24 changed files
with
1,530 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
These JSON files are used to determine the colors for pretty much every element that's renderered. | ||
|
||
# Custom Colors | ||
|
||
You can edit these colors to display parts of the scoreboard in any way you choose. Simply copy the file corresponding to the colors you wish to customize to the same filename without the `.example` extension. These JSON files only need to contain the parts you wish to override but it's often easier to just make a copy of the full example file and edit the values you want to change. | ||
|
||
## Examples | ||
If you want to edit the color of some of the teams, copy `teams.json.example` to a new file called `teams.json`, then edit the `"r"`, `"g"` and `"b"` values for the colors you wish to change in that new file. If you want to customize the color of the scrolling text on the final screen, copy `scoreboard.json.example` to `scoreboard.json` and edit the `"final"->"scrolling_text"` keys to your liking. Your customized colors will always take precedence. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,306 @@ | ||
{ | ||
"bases": { | ||
"1B": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
}, | ||
"2B": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
}, | ||
"3B": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
} | ||
}, | ||
"final": { | ||
"inning": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
}, | ||
"scrolling_text": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
}, | ||
"nohit_text": { | ||
"r": 255, | ||
"g": 50, | ||
"b": 50 | ||
} | ||
}, | ||
"inning": { | ||
"break": { | ||
"number": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
}, | ||
"text": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
}, | ||
"due_up": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
}, | ||
"due_up_divider": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
}, | ||
"due_up_names": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
} | ||
}, | ||
"number": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
}, | ||
"arrow": { | ||
"up": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
}, | ||
"down": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
} | ||
} | ||
}, | ||
"outs": { | ||
"fill": { | ||
"1": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
} | ||
}, | ||
"1": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
}, | ||
"2": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
}, | ||
"3": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
} | ||
}, | ||
"atbat": { | ||
"batter": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
}, | ||
"pitcher": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
}, | ||
"pitch": { | ||
"r": 255, | ||
"g": 255, | ||
"b": 255 | ||
}, | ||
"pitch_count": { | ||
"r": 255, | ||
"g": 255, | ||
"b": 255 | ||
}, | ||
"play_result": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
}, | ||
"strikeout": { | ||
"r": 255, | ||
"g": 0, | ||
"b": 0 | ||
} | ||
}, | ||
"batter_count": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
}, | ||
"nohit_text": { | ||
"r": 255, | ||
"g": 110, | ||
"b": 110 | ||
}, | ||
"perfect_game_text": { | ||
"r": 255, | ||
"g": 110, | ||
"b": 110 | ||
}, | ||
"pregame": { | ||
"matchup": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
}, | ||
"scrolling_text": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
}, | ||
"start_time": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
}, | ||
"warmup_text": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
} | ||
}, | ||
"status": { | ||
"text": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
}, | ||
"scrolling_text": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
} | ||
}, | ||
"standings": { | ||
"nl": { | ||
"divider": { | ||
"r": 0, | ||
"g": 0, | ||
"b": 255 | ||
} | ||
}, | ||
"al": { | ||
"divider": { | ||
"r": 255, | ||
"g": 0, | ||
"b": 0 | ||
} | ||
}, | ||
"background": { | ||
"r": 37, | ||
"g": 102, | ||
"b": 30 | ||
}, | ||
"divider": { | ||
"r": 13, | ||
"g": 35, | ||
"b": 11 | ||
}, | ||
"stat": { | ||
"r": 171, | ||
"g": 181, | ||
"b": 170 | ||
}, | ||
"team": { | ||
"name": { | ||
"r": 171, | ||
"g": 181, | ||
"b": 170 | ||
}, | ||
"elim": { | ||
"r": 190, | ||
"g": 180, | ||
"b": 160 | ||
}, | ||
"clinched": { | ||
"r": 180, | ||
"g": 210, | ||
"b": 175 | ||
}, | ||
"stat": { | ||
"r": 171, | ||
"g": 181, | ||
"b": 170 | ||
} | ||
} | ||
}, | ||
"offday": { | ||
"scrolling_text": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
}, | ||
"time": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
}, | ||
"conditions": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
}, | ||
"temperature": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
}, | ||
"wind_speed": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
}, | ||
"wind_dir": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
}, | ||
"wind": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
}, | ||
"weather_icon": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
} | ||
}, | ||
"network": { | ||
"background": { | ||
"r": 255, | ||
"g": 0, | ||
"b": 0 | ||
}, | ||
"text": { | ||
"r": 255, | ||
"g": 255, | ||
"b": 255 | ||
} | ||
}, | ||
"default": { | ||
"background": { | ||
"r": 7, | ||
"g": 14, | ||
"b": 25 | ||
}, | ||
"text": { | ||
"r": 255, | ||
"g": 235, | ||
"b": 59 | ||
} | ||
} | ||
} |
Oops, something went wrong.