refinaments estétics
This commit is contained in:
@@ -3024,15 +3024,6 @@ void Game::renderMessages()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// D E M O
|
|
||||||
if (demo.enabled)
|
|
||||||
{
|
|
||||||
if (demo.counter % 30 > 8)
|
|
||||||
{
|
|
||||||
textNokiaBig2->writeDX(TXT_CENTER, PLAY_AREA_CENTER_X, PLAY_AREA_FIRST_QUARTER_Y, lang->getText(37), 0, noColor, 2, shdwTxtColor);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// STAGE NUMBER
|
// STAGE NUMBER
|
||||||
if (stageBitmapCounter < STAGE_COUNTER)
|
if (stageBitmapCounter < STAGE_COUNTER)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -215,20 +215,21 @@ void Scoreboard::fillBackgroundTexture()
|
|||||||
|
|
||||||
else if (mode[SCOREBOARD_LEFT_SIDE] == SCOREBOARD_MODE_DEMO)
|
else if (mode[SCOREBOARD_LEFT_SIDE] == SCOREBOARD_MODE_DEMO)
|
||||||
{
|
{
|
||||||
|
textScoreBoard->writeCentered(offsetScoreP1Label.x, offsetScoreP1Label.y + 4, "Mode demostracio");
|
||||||
if (counter % 10 < 8)
|
if (counter % 10 < 8)
|
||||||
{
|
{
|
||||||
textScoreBoard->writeCentered(offsetScoreP1Label.x, offsetScoreP1Label.y+4, "Mode DEMO");
|
textScoreBoard->writeCentered(offsetMultP1Label.x, offsetMultP1Label.y - 2, "Pulsa START");
|
||||||
textScoreBoard->writeCentered(offsetMultP1Label.x, offsetMultP1Label.y-2, "Pulsa START");
|
textScoreBoard->writeCentered(offsetMultP1.x, offsetMultP1.y - 2, "per jugar");
|
||||||
textScoreBoard->writeCentered(offsetMultP1.x, offsetMultP1.y-2, "per jugar");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (mode[SCOREBOARD_LEFT_SIDE] == SCOREBOARD_MODE_GAME_OVER)
|
else if (mode[SCOREBOARD_LEFT_SIDE] == SCOREBOARD_MODE_GAME_OVER)
|
||||||
{
|
{
|
||||||
|
textScoreBoard->writeCentered(offsetScoreP1Label.x, offsetScoreP1Label.y + 4, "Game Over");
|
||||||
|
if (counter % 10 < 8)
|
||||||
{
|
{
|
||||||
textScoreBoard->writeCentered(offsetScoreP1Label.x, offsetScoreP1Label.y+4, "Game Over");
|
textScoreBoard->writeCentered(offsetMultP1Label.x, offsetMultP1Label.y - 2, "Pulsa START");
|
||||||
textScoreBoard->writeCentered(offsetMultP1Label.x, offsetMultP1Label.y-2, "Pulsa START");
|
textScoreBoard->writeCentered(offsetMultP1.x, offsetMultP1.y - 2, "per jugar");
|
||||||
textScoreBoard->writeCentered(offsetMultP1.x, offsetMultP1.y-2, "per jugar");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -245,20 +246,21 @@ void Scoreboard::fillBackgroundTexture()
|
|||||||
|
|
||||||
else if (mode[SCOREBOARD_RIGHT_SIDE] == SCOREBOARD_MODE_DEMO)
|
else if (mode[SCOREBOARD_RIGHT_SIDE] == SCOREBOARD_MODE_DEMO)
|
||||||
{
|
{
|
||||||
|
textScoreBoard->writeCentered(offsetScoreP2Label.x, offsetScoreP2Label.y + 4, "Mode demostracio");
|
||||||
if (counter % 10 < 8)
|
if (counter % 10 < 8)
|
||||||
{
|
{
|
||||||
textScoreBoard->writeCentered(offsetScoreP2Label.x, offsetScoreP2Label.y+4, "Mode DEMO");
|
textScoreBoard->writeCentered(offsetMultP2Label.x, offsetMultP2Label.y - 2, "Pulsa START");
|
||||||
textScoreBoard->writeCentered(offsetMultP2Label.x, offsetMultP2Label.y-2, "Pulsa START");
|
textScoreBoard->writeCentered(offsetMultP2.x, offsetMultP2.y - 2, "per jugar");
|
||||||
textScoreBoard->writeCentered(offsetMultP2.x, offsetMultP2.y-2, "per jugar");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (mode[SCOREBOARD_RIGHT_SIDE] == SCOREBOARD_MODE_GAME_OVER)
|
else if (mode[SCOREBOARD_RIGHT_SIDE] == SCOREBOARD_MODE_GAME_OVER)
|
||||||
{
|
{
|
||||||
|
textScoreBoard->writeCentered(offsetScoreP2Label.x, offsetScoreP2Label.y + 4, "Game Over");
|
||||||
|
if (counter % 10 < 8)
|
||||||
{
|
{
|
||||||
textScoreBoard->writeCentered(offsetScoreP2Label.x, offsetScoreP2Label.y+4, "Game Over");
|
textScoreBoard->writeCentered(offsetMultP2Label.x, offsetMultP2Label.y - 2, "Pulsa START");
|
||||||
textScoreBoard->writeCentered(offsetMultP2Label.x, offsetMultP2Label.y-2, "Pulsa START");
|
textScoreBoard->writeCentered(offsetMultP2.x, offsetMultP2.y - 2, "per jugar");
|
||||||
textScoreBoard->writeCentered(offsetMultP2.x, offsetMultP2.y-2, "per jugar");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -181,10 +181,11 @@ void Title::render()
|
|||||||
|
|
||||||
if (section->subsection == SUBSECTION_TITLE_2)
|
if (section->subsection == SUBSECTION_TITLE_2)
|
||||||
{
|
{
|
||||||
|
const color_t shadow = {0x14, 0x87, 0xc4};
|
||||||
// 'PULSA 1P o 2P PARA JUGAR'
|
// 'PULSA 1P o 2P PARA JUGAR'
|
||||||
if (counter % 50 > 14 && !defineButtons->isEnabled())
|
if (counter % 50 > 14 && !defineButtons->isEnabled())
|
||||||
{
|
{
|
||||||
text1->writeDX(TXT_CENTER | TXT_SHADOW, GAMECANVAS_CENTER_X, param->pressStart, lang->getText(23), 1, noColor, 1, shdwTxtColor);
|
text1->writeDX(TXT_CENTER | TXT_SHADOW, GAMECANVAS_CENTER_X, param->pressStart, lang->getText(23), 1, noColor, 1, shadow);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Mini logo
|
// Mini logo
|
||||||
@@ -194,7 +195,7 @@ void Title::render()
|
|||||||
miniLogoSprite->render();
|
miniLogoSprite->render();
|
||||||
|
|
||||||
// Texto con el copyright
|
// Texto con el copyright
|
||||||
text1->writeDX(TXT_CENTER | TXT_SHADOW, GAMECANVAS_CENTER_X, pos2, TEXT_COPYRIGHT, 1, noColor, 1, shdwTxtColor);
|
text1->writeDX(TXT_CENTER | TXT_SHADOW, GAMECANVAS_CENTER_X, pos2, TEXT_COPYRIGHT, 1, noColor, 1, shadow);
|
||||||
}
|
}
|
||||||
|
|
||||||
defineButtons->render();
|
defineButtons->render();
|
||||||
|
|||||||
Reference in New Issue
Block a user