Add title screen and make GUI dark
Before Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 22 KiB |
@ -8,15 +8,14 @@ button_shadow.png
|
|||||||
button_msg.png
|
button_msg.png
|
||||||
button_msg_shadow.png
|
button_msg_shadow.png
|
||||||
cursor.png
|
cursor.png
|
||||||
emblem_back.png
|
|
||||||
icon_female.png
|
icon_female.png
|
||||||
icon_male.png
|
icon_male.png
|
||||||
icon_msg.png
|
icon_msg.png
|
||||||
icon_question.png
|
icon_question.png
|
||||||
item_button.png
|
item_button.png
|
||||||
phone_bg.png
|
|
||||||
photo_bg.png
|
photo_bg.png
|
||||||
logo_horiHD.png
|
logo_horiHD.png
|
||||||
logo_rocketrobz.png
|
logo_rocketrobz.png
|
||||||
|
title.png
|
||||||
logo_UniversalCore.png
|
logo_UniversalCore.png
|
||||||
homeicon.png
|
homeicon.png
|
||||||
|
BIN
assets/gfx/title.png
Normal file
After Width: | Height: | Size: 30 KiB |
@ -205,15 +205,10 @@ void PhotoStudio::Draw(void) const {
|
|||||||
|
|
||||||
if (this->displayStudioBg) {
|
if (this->displayStudioBg) {
|
||||||
GFX::showBgSprite(zoomIn);
|
GFX::showBgSprite(zoomIn);
|
||||||
|
} else if (this->showScrollingBg) {
|
||||||
|
GFX::DrawSprite(sprites_title_idx, 0, 0, 0.5);
|
||||||
} else {
|
} else {
|
||||||
Gui::Draw_Rect(0, 0, 400, 240, WHITE); // Fill gaps of BG
|
Gui::Draw_Rect(0, 0, 400, 240, WHITE);
|
||||||
if (this->showScrollingBg) {
|
|
||||||
for(int w = 0; w < 7; w++) {
|
|
||||||
for(int h = 0; h < 3; h++) {
|
|
||||||
GFX::DrawSprite(sprites_phone_bg_idx, -72+bg_xPos+w*72, bg_yPos+h*136);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if (this->previewCharacter) {
|
if (this->previewCharacter) {
|
||||||
if (this->previewCharacterFound) {
|
if (this->previewCharacterFound) {
|
||||||
@ -246,29 +241,29 @@ void PhotoStudio::Draw(void) const {
|
|||||||
// Game name
|
// Game name
|
||||||
switch (this->char_highlightedGame) {
|
switch (this->char_highlightedGame) {
|
||||||
case 4:
|
case 4:
|
||||||
Gui::DrawStringCentered(0, 8, 0.50, BLACK, "Your character files");
|
Gui::DrawStringCentered(0, 8, 0.50, WHITE, "Your character files");
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
Gui::DrawStringCentered(0, 8, 0.50, BLACK, ss4Title());
|
Gui::DrawStringCentered(0, 8, 0.50, WHITE, ss4Title());
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
Gui::DrawStringCentered(0, 8, 0.50, BLACK, ss3Title());
|
Gui::DrawStringCentered(0, 8, 0.50, WHITE, ss3Title());
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
Gui::DrawStringCentered(0, 8, 0.50, BLACK, ss2Title());
|
Gui::DrawStringCentered(0, 8, 0.50, WHITE, ss2Title());
|
||||||
break;
|
break;
|
||||||
case 0:
|
case 0:
|
||||||
Gui::DrawStringCentered(0, 8, 0.50, BLACK, ss1Title());
|
Gui::DrawStringCentered(0, 8, 0.50, WHITE, ss1Title());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
Gui::DrawString(8, 8, 0.50, BLACK, "<");
|
Gui::DrawString(8, 8, 0.50, WHITE, "<");
|
||||||
Gui::DrawString(304, 8, 0.50, BLACK, ">");
|
Gui::DrawString(304, 8, 0.50, WHITE, ">");
|
||||||
|
|
||||||
if (char_highlightedGame != 4) {
|
if (char_highlightedGame != 4) {
|
||||||
// Selected season
|
// Selected season
|
||||||
Gui::DrawString(120-32, 208, 0.65, BLACK, "L");
|
Gui::DrawString(120-32, 208, 0.65, WHITE, "L");
|
||||||
Gui::DrawStringCentered(-32, 210, 0.50, BLACK, this->seasonName());
|
Gui::DrawStringCentered(-32, 210, 0.50, WHITE, this->seasonName());
|
||||||
Gui::DrawString(192-32, 208, 0.65, BLACK, "R");
|
Gui::DrawString(192-32, 208, 0.65, WHITE, "R");
|
||||||
}
|
}
|
||||||
|
|
||||||
Gui::DrawString(192, 208, 0.65, BLUE, "SELECT: Robz");
|
Gui::DrawString(192, 208, 0.65, BLUE, "SELECT: Robz");
|
||||||
@ -280,23 +275,23 @@ void PhotoStudio::Draw(void) const {
|
|||||||
if (i >= numberOfExportedCharacters) break;
|
if (i >= numberOfExportedCharacters) break;
|
||||||
GFX::DrawSprite(sprites_item_button_idx, 16, i2-20);
|
GFX::DrawSprite(sprites_item_button_idx, 16, i2-20);
|
||||||
GFX::DrawSprite((getExportedCharacterGender(i) ? sprites_icon_male_idx : sprites_icon_female_idx), 12, i2-8);
|
GFX::DrawSprite((getExportedCharacterGender(i) ? sprites_icon_male_idx : sprites_icon_female_idx), 12, i2-8);
|
||||||
Gui::DrawString(64, i2, 0.65, BLACK, getExportedCharacterName(i));
|
Gui::DrawString(64, i2, 0.65, WHITE, getExportedCharacterName(i));
|
||||||
} else if (char_highlightedGame == 3) {
|
} else if (char_highlightedGame == 3) {
|
||||||
GFX::DrawSprite(sprites_item_button_idx, 16, i2-20);
|
GFX::DrawSprite(sprites_item_button_idx, 16, i2-20);
|
||||||
GFX::DrawSprite((import_ss4CharacterGenders[i] ? sprites_icon_male_idx : sprites_icon_female_idx), 12, i2-8);
|
GFX::DrawSprite((import_ss4CharacterGenders[i] ? sprites_icon_male_idx : sprites_icon_female_idx), 12, i2-8);
|
||||||
Gui::DrawString(64, i2, 0.65, BLACK, import_ss4CharacterNames[i]);
|
Gui::DrawString(64, i2, 0.65, WHITE, import_ss4CharacterNames[i]);
|
||||||
} else if (char_highlightedGame == 2) {
|
} else if (char_highlightedGame == 2) {
|
||||||
GFX::DrawSprite(sprites_item_button_idx, 16, i2-20);
|
GFX::DrawSprite(sprites_item_button_idx, 16, i2-20);
|
||||||
GFX::DrawSprite((import_ss3CharacterGenders[i] ? sprites_icon_male_idx : sprites_icon_female_idx), 12, i2-8);
|
GFX::DrawSprite((import_ss3CharacterGenders[i] ? sprites_icon_male_idx : sprites_icon_female_idx), 12, i2-8);
|
||||||
Gui::DrawString(64, i2, 0.65, BLACK, import_ss3CharacterNames[i]);
|
Gui::DrawString(64, i2, 0.65, WHITE, import_ss3CharacterNames[i]);
|
||||||
} else if (char_highlightedGame == 1) {
|
} else if (char_highlightedGame == 1) {
|
||||||
GFX::DrawSprite(sprites_item_button_idx, 16, i2-20);
|
GFX::DrawSprite(sprites_item_button_idx, 16, i2-20);
|
||||||
GFX::DrawSprite((import_ss2CharacterGenders[i] ? sprites_icon_male_idx : sprites_icon_female_idx)/*+import_ss2CharacterTieColors[i]*/, 12, i2-8);
|
GFX::DrawSprite((import_ss2CharacterGenders[i] ? sprites_icon_male_idx : sprites_icon_female_idx)/*+import_ss2CharacterTieColors[i]*/, 12, i2-8);
|
||||||
Gui::DrawString(64, i2, 0.65, BLACK, import_SS2CharacterNames(i));
|
Gui::DrawString(64, i2, 0.65, WHITE, import_SS2CharacterNames(i));
|
||||||
} else if (char_highlightedGame == 0) {
|
} else if (char_highlightedGame == 0) {
|
||||||
GFX::DrawSprite(sprites_item_button_idx, 16, i2-20);
|
GFX::DrawSprite(sprites_item_button_idx, 16, i2-20);
|
||||||
GFX::DrawSprite((import_ss1CharacterGenders[i] ? sprites_icon_male_idx : sprites_icon_female_idx), 12, i2-8);
|
GFX::DrawSprite((import_ss1CharacterGenders[i] ? sprites_icon_male_idx : sprites_icon_female_idx), 12, i2-8);
|
||||||
Gui::DrawString(64, i2, 0.65, BLACK, import_ss1CharacterNames[i]);
|
Gui::DrawString(64, i2, 0.65, WHITE, import_ss1CharacterNames[i]);
|
||||||
}
|
}
|
||||||
i2 += 48;
|
i2 += 48;
|
||||||
}
|
}
|
||||||
@ -307,23 +302,23 @@ void PhotoStudio::Draw(void) const {
|
|||||||
// Game name
|
// Game name
|
||||||
switch (this->photo_highlightedGame) {
|
switch (this->photo_highlightedGame) {
|
||||||
case 4:
|
case 4:
|
||||||
Gui::DrawStringCentered(0, 8, 0.50, BLACK, "Your character files");
|
Gui::DrawStringCentered(0, 8, 0.50, WHITE, "Your character files");
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
Gui::DrawStringCentered(0, 8, 0.50, BLACK, ss4Title());
|
Gui::DrawStringCentered(0, 8, 0.50, WHITE, ss4Title());
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
Gui::DrawStringCentered(0, 8, 0.50, BLACK, ss3Title());
|
Gui::DrawStringCentered(0, 8, 0.50, WHITE, ss3Title());
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
Gui::DrawStringCentered(0, 8, 0.50, BLACK, ss2Title());
|
Gui::DrawStringCentered(0, 8, 0.50, WHITE, ss2Title());
|
||||||
break;
|
break;
|
||||||
case 0:
|
case 0:
|
||||||
Gui::DrawStringCentered(0, 8, 0.50, BLACK, ss1Title());
|
Gui::DrawStringCentered(0, 8, 0.50, WHITE, ss1Title());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
Gui::DrawString(8, 8, 0.50, BLACK, "<");
|
Gui::DrawString(8, 8, 0.50, WHITE, "<");
|
||||||
Gui::DrawString(304, 8, 0.50, BLACK, ">");
|
Gui::DrawString(304, 8, 0.50, WHITE, ">");
|
||||||
|
|
||||||
/*if (photo_highlightedGame != 4) {
|
/*if (photo_highlightedGame != 4) {
|
||||||
// Selected season
|
// Selected season
|
||||||
@ -337,16 +332,16 @@ void PhotoStudio::Draw(void) const {
|
|||||||
for (int i = import_bgShownFirst; i < import_bgShownFirst+3; i++) {
|
for (int i = import_bgShownFirst; i < import_bgShownFirst+3; i++) {
|
||||||
if (photo_highlightedGame == 3) {
|
if (photo_highlightedGame == 3) {
|
||||||
GFX::DrawSprite(sprites_item_button_idx, 16, i2-20);
|
GFX::DrawSprite(sprites_item_button_idx, 16, i2-20);
|
||||||
Gui::DrawString(32, i2, 0.65, BLACK, import_ss4BgNames[i]);
|
Gui::DrawString(32, i2, 0.65, WHITE, import_ss4BgNames[i]);
|
||||||
} else if (photo_highlightedGame == 2) {
|
} else if (photo_highlightedGame == 2) {
|
||||||
GFX::DrawSprite(sprites_item_button_idx, 16, i2-20);
|
GFX::DrawSprite(sprites_item_button_idx, 16, i2-20);
|
||||||
Gui::DrawString(32, i2, 0.65, BLACK, import_ss3BgNames[i]);
|
Gui::DrawString(32, i2, 0.65, WHITE, import_ss3BgNames[i]);
|
||||||
} else if (photo_highlightedGame == 1) {
|
} else if (photo_highlightedGame == 1) {
|
||||||
GFX::DrawSprite(sprites_item_button_idx, 16, i2-20);
|
GFX::DrawSprite(sprites_item_button_idx, 16, i2-20);
|
||||||
Gui::DrawString(32, i2, 0.65, BLACK, import_ss2BgNames[i]);
|
Gui::DrawString(32, i2, 0.65, WHITE, import_ss2BgNames[i]);
|
||||||
} else if (photo_highlightedGame == 0) {
|
} else if (photo_highlightedGame == 0) {
|
||||||
GFX::DrawSprite(sprites_item_button_idx, 16, i2-20);
|
GFX::DrawSprite(sprites_item_button_idx, 16, i2-20);
|
||||||
Gui::DrawString(32, i2, 0.65, BLACK, import_ss1BgNames[i]);
|
Gui::DrawString(32, i2, 0.65, WHITE, import_ss1BgNames[i]);
|
||||||
}
|
}
|
||||||
i2 += 48;
|
i2 += 48;
|
||||||
}
|
}
|
||||||
@ -354,17 +349,17 @@ void PhotoStudio::Draw(void) const {
|
|||||||
} else {
|
} else {
|
||||||
this->cursorY = 64+(48*this->characterChangeMenu_cursorPositionOnScreen);
|
this->cursorY = 64+(48*this->characterChangeMenu_cursorPositionOnScreen);
|
||||||
|
|
||||||
Gui::DrawString(8, 8, 0.50, BLACK, "What do you want to do?");
|
Gui::DrawString(8, 8, 0.50, WHITE, "What do you want to do?");
|
||||||
|
|
||||||
Gui::DrawString(192, 206, 0.65, BLACK, ": Take photo");
|
Gui::DrawString(192, 206, 0.65, WHITE, ": Take photo");
|
||||||
|
|
||||||
int i2 = 0;
|
int i2 = 0;
|
||||||
i2 += 48;
|
i2 += 48;
|
||||||
GFX::DrawSprite(sprites_item_button_idx, 16, i2-20);
|
GFX::DrawSprite(sprites_item_button_idx, 16, i2-20);
|
||||||
Gui::DrawString(32, i2, 0.65, BLACK, "Change location");
|
Gui::DrawString(32, i2, 0.65, WHITE, "Change location");
|
||||||
i2 += 48;
|
i2 += 48;
|
||||||
GFX::DrawSprite(sprites_item_button_idx, 16, i2-20);
|
GFX::DrawSprite(sprites_item_button_idx, 16, i2-20);
|
||||||
Gui::DrawString(32, i2, 0.65, BLACK, "Change character");
|
Gui::DrawString(32, i2, 0.65, WHITE, "Change character");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this->subScreenMode != 0) {
|
if (this->subScreenMode != 0) {
|
||||||
|
@ -8,12 +8,7 @@ char txt_frameRate[24];
|
|||||||
void Settings::Draw(void) const {
|
void Settings::Draw(void) const {
|
||||||
Gui::ScreenDraw(Top);
|
Gui::ScreenDraw(Top);
|
||||||
|
|
||||||
Gui::Draw_Rect(0, 0, 400, 240, WHITE); // Fill gaps of BG
|
GFX::DrawSprite(sprites_title_idx, 0, 0, 0.5);
|
||||||
for(int w = 0; w < 7; w++) {
|
|
||||||
for(int h = 0; h < 3; h++) {
|
|
||||||
GFX::DrawSprite(sprites_phone_bg_idx, -72+bg_xPos+w*72, bg_yPos+h*136);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (fadealpha > 0) Gui::Draw_Rect(0, 0, 400, 240, C2D_Color32(fadecolor, fadecolor, fadecolor, fadealpha)); // Fade in/out effect
|
if (fadealpha > 0) Gui::Draw_Rect(0, 0, 400, 240, C2D_Color32(fadecolor, fadecolor, fadecolor, fadealpha)); // Fade in/out effect
|
||||||
|
|
||||||
@ -24,17 +19,12 @@ void Settings::Draw(void) const {
|
|||||||
|
|
||||||
if (shiftBySubPixel) return;
|
if (shiftBySubPixel) return;
|
||||||
Gui::ScreenDraw(Bottom);
|
Gui::ScreenDraw(Bottom);
|
||||||
Gui::Draw_Rect(0, 0, 320, 240, WHITE); // Fill gaps of BG
|
GFX::DrawSprite(sprites_photo_bg_idx, 0, 0);
|
||||||
for(int w = 0; w < 7; w++) {
|
|
||||||
for(int h = 0; h < 3; h++) {
|
|
||||||
GFX::DrawSprite(sprites_phone_bg_idx, -76+bg_xPos+w*72, bg_yPos+h*136);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
this->cursorX = 248;
|
this->cursorX = 248;
|
||||||
this->cursorY = 64+(48*cursorPositionOnScreen);
|
this->cursorY = 64+(48*cursorPositionOnScreen);
|
||||||
|
|
||||||
Gui::DrawStringCentered(0, 8, 0.55, BLACK, "Settings");
|
Gui::DrawStringCentered(0, 8, 0.55, WHITE, "Settings");
|
||||||
|
|
||||||
int i2 = 48;
|
int i2 = 48;
|
||||||
for (int i = settingShownFirst; i < settingShownFirst+3; i++) {
|
for (int i = settingShownFirst; i < settingShownFirst+3; i++) {
|
||||||
@ -44,11 +34,11 @@ void Settings::Draw(void) const {
|
|||||||
switch (i) {
|
switch (i) {
|
||||||
case 0:
|
case 0:
|
||||||
sprintf(txt_cinemaWide, "Aspect Ratio: %s", cinemaWide ? "Cinema" : "Normal");
|
sprintf(txt_cinemaWide, "Aspect Ratio: %s", cinemaWide ? "Cinema" : "Normal");
|
||||||
Gui::DrawString(32, i2, 0.65, BLACK, txt_cinemaWide);
|
Gui::DrawString(32, i2, 0.65, WHITE, txt_cinemaWide);
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
sprintf(txt_frameRate, "Frame Rate: %iFPS", iFps);
|
sprintf(txt_frameRate, "Frame Rate: %iFPS", iFps);
|
||||||
Gui::DrawString(32, i2, 0.65, BLACK, txt_frameRate);
|
Gui::DrawString(32, i2, 0.65, WHITE, txt_frameRate);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|