The Ctrl + V Game

smileyhead

I like cute stuff.
OP
Member
Joined
Aug 31, 2015
Messages
4,743
Trophies
3
Age
22
Location
Budakeszi, Hungary
Website
sites.google.com
XP
9,796
Country
Hungary
avxi1V7.jpg
 

cheuble

squid
Member
Joined
Feb 6, 2016
Messages
747
Trophies
0
Age
21
Location
Fourside
XP
1,297
Country
France
Code:
void mainMenu(sftd_font *font){
   bool menurun =true;
   int txtsiz = 50;
   button bplay(105, 50, font, TEXT_COLOR, 30, "PLAY");
   button bquit(105, 150, font, TEXT_COLOR, 30, "QUIT");
   ndspChnWaveBufClear(1);
   playWav("sdmc:/NAMELESS/menu.wav");
   while(menurun){
   hidScanInput();
   sf2d_start_frame(GFX_TOP, GFX_LEFT);

     sftd_draw_text(font,0+2  , txtsiz, RGBA8(255,  25,  38, 255), txtsiz, "N");
     sftd_draw_text(font,txtsiz  +2, txtsiz, RGBA8(255, 127,  0, 255), txtsiz, "A");
     sftd_draw_text(font,txtsiz * 2+2, txtsiz, RGBA8(242, 255,  25, 255), txtsiz, "M");
     sftd_draw_text(font,txtsiz * 3+2, txtsiz, RGBA8( 89, 255,  0, 255), txtsiz, "E");
     sftd_draw_text(font,txtsiz * 4+2, txtsiz, RGBA8( 77, 217, 255, 255), txtsiz, "L");
     sftd_draw_text(font,txtsiz * 5+2, txtsiz, RGBA8( 59,  61, 255, 255), txtsiz, "E");
     sftd_draw_text(font,txtsiz * 6+2, txtsiz, RGBA8( 72,  0, 255, 255), txtsiz, "S");
     sftd_draw_text(font,txtsiz * 7+2, txtsiz, RGBA8(255,  0, 220, 255), txtsiz, "S");
     sftd_draw_text(font,130, txtsiz*2+30, RGBA8(255, 255, 255, 255), txtsiz-10, "DEMO");

   sf2d_end_frame();
   sf2d_start_frame(GFX_BOTTOM, GFX_LEFT);
     bplay.update();
     bquit.update();
   sf2d_end_frame();
   sf2d_swapbuffers();
   if (bplay.isPressed()) menurun = false;
   if (bquit.isPressed()){run = false; menurun = false;}  

   }
}

--------------------- MERGED ---------------------------

I just leaked a start menu and sound support for NAMELESS...
 
  • Like
Reactions: hobbledehoy899
General chit-chat
Help Users
    Skelletonike @ Skelletonike: and building gundams out of nowhere +1