start work
This commit is contained in:
parent
596f7f2ec8
commit
e4cae0cd74
Binary file not shown.
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.4 KiB |
Binary file not shown.
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 5.0 KiB |
17
src/start.h
17
src/start.h
|
@ -30,25 +30,23 @@ static void selectStartMenu(){
|
||||||
// draw
|
// draw
|
||||||
|
|
||||||
static void drawStartBg(){
|
static void drawStartBg(){
|
||||||
VDP_fillTileMapRect(BG_B, TILE_ATTR_FULL(PAL2, 0, 0, 0, START_I), 0, 0, START_W, START_H);
|
VDP_fillTileMapRect(BG_B, TILE_ATTR_FULL(PAL1, 0, 0, 0, START_I), 0, 0, START_W, START_H);
|
||||||
}
|
}
|
||||||
|
|
||||||
#define LOGO_X 8
|
#define LOGO_X 8
|
||||||
#define LOGO_Y 6
|
#define LOGO_Y 7
|
||||||
|
|
||||||
static void drawStartLogo(){
|
static void drawStartLogo(){
|
||||||
VDP_drawImageEx(BG_B, &startLogo1, TILE_ATTR_FULL(PAL1, 0, 0, 0, START_I + 32), LOGO_X, LOGO_Y, 0, DMA);
|
VDP_drawImageEx(BG_B, &startLogo1, TILE_ATTR_FULL(PAL1, 0, 0, 0, START_I + 32), LOGO_X, LOGO_Y, 0, DMA);
|
||||||
}
|
}
|
||||||
|
|
||||||
#define MENU_X 13
|
#define MENU_X 7
|
||||||
#define MENU_Y 14
|
#define MENU_Y 17
|
||||||
#define ARROW_X 13
|
|
||||||
|
|
||||||
static void drawStartMenu(){
|
static void drawStartMenu(){
|
||||||
// VDP_drawText(">", ARROW_X, MENU_Y);
|
VDP_drawText("PUSH START BUTTON!", MENU_X, MENU_Y);
|
||||||
VDP_drawText("start?", MENU_X, MENU_Y);
|
VDP_drawText("2 MINUTES GAME", MENU_X + 2, MENU_Y + 2);
|
||||||
VDP_drawText("HOW-TO", MENU_X, MENU_Y + 2);
|
VDP_drawText("2022 T.BODDY", MENU_X + 3, 26);
|
||||||
VDP_drawText("ABOUT!", MENU_X, MENU_Y + 4);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -62,7 +60,6 @@ void loadStart(){
|
||||||
// drawStartBg();
|
// drawStartBg();
|
||||||
// drawStartLogo();
|
// drawStartLogo();
|
||||||
// drawStartMenu();
|
// drawStartMenu();
|
||||||
// VDP_drawText("VER 0.1", 1, 26);
|
|
||||||
|
|
||||||
loadGameFromStart();
|
loadGameFromStart();
|
||||||
|
|
||||||
|
|
Reference in New Issue