Skip to content
Snippets Groups Projects
Commit cbbf1a0b authored by Claudio Hoffmann's avatar Claudio Hoffmann
Browse files

Scoreb: Add a drop shadow behind the numbers

Better readability on the Game Over screen.
parent a7863aa8
No related branches found
No related tags found
No related merge requests found
......@@ -43,85 +43,95 @@ static StaticPixelBuffer<34,18> constexpr gameover= {
{"00FFFFFF00000F000FFFFFFFF0FF00FFF0"}
}}};
static StaticPixelBuffer<3,5> constexpr eins= {
static StaticPixelBuffer<4,6> constexpr eins= {
{{
{" 1 "},
{"11 "},
{" 1 "},
{" 1 "},
{" 1 "}
{"110 "},
{" 10 "},
{" 10 "},
{" 10 "},
{" 0 "}
}}};
static StaticPixelBuffer<3,5> constexpr zwei= {
static StaticPixelBuffer<4,6> constexpr zwei= {
{{
{"222 "},
{" 2"},
{" 20"},
{"2220"},
{"2000"},
{"222 "},
{"2 "},
{"222"}
{" 000"}
}}};
static StaticPixelBuffer<3,5> constexpr drei= {
static StaticPixelBuffer<4,6> constexpr drei= {
{{
{"333 "},
{" 3"},
{"333"},
{" 3"},
{"333"}
{" 030"},
{"3330"},
{" 030"},
{"3330"},
{" 000"}
}}};
static StaticPixelBuffer<3,5> constexpr vier= {
static StaticPixelBuffer<4,6> constexpr vier= {
{{
{"4 4 "},
{"4 4"},
{"444"},
{" 4"},
{" 4"}
{"4040"},
{"4440"},
{" 040"},
{" 40"},
{" 0"}
}}};
static StaticPixelBuffer<3,5> constexpr funf= {
static StaticPixelBuffer<4,6> constexpr funf= {
{{
{"555 "},
{"5 "},
{"5000"},
{"555 "},
{" 5"},
{"555"}
{" 050"},
{"5550"},
{" 000"}
}}};
static StaticPixelBuffer<3,5> constexpr sechs= {
static StaticPixelBuffer<4,6> constexpr sechs= {
{{
{"666 "},
{"6 "},
{"6000"},
{"666 "},
{"6 6"},
{"666"}
{"6060"},
{"6660"},
{" 000"},
}}};
static StaticPixelBuffer<3,5> constexpr sieben= {
static StaticPixelBuffer<4,6> constexpr sieben= {
{{
{"777 "},
{" 7 "},
{" 7"},
{" 7 "},
{" 7 "}
{" 70"},
{" 7 0"},
{" 70 "},
{" 0 "},
}}};
static StaticPixelBuffer<3,5> constexpr acht= {
static StaticPixelBuffer<4,6> constexpr acht= {
{{
{"888 "},
{"8 8"},
{"888"},
{"8 8"},
{"888"}
{"8080"},
{"8880"},
{"8080"},
{"8880"},
{" 000"},
}}};
static StaticPixelBuffer<3,5> constexpr neun= {
static StaticPixelBuffer<4,6> constexpr neun= {
{{
{"999 "},
{"9 9"},
{"999"},
{" 9"},
{"999"}
{"9090"},
{"9990"},
{" 90"},
{"9990"},
{" 000"},
}}};
static StaticPixelBuffer<3,5> constexpr null= {
static StaticPixelBuffer<4,6> constexpr null= {
{{
{"AAA "},
{"A A"},
{"A A"},
{"A A"},
{"AAA"}
{"A0A0"},
{"A0A0"},
{"A0A0"},
{"AAA0"},
{" 000"},
}}};
const PixelBuffer& Score::getGameOverSprite()
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment