Advertisement
Guest User

Untitled

a guest
Sep 9th, 2011
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. while(1) {
  2.  
  3. sceCtrlReadBufferPositive(&pad, 1);
  4.  
  5. clearScreen(WHITE);
  6. blitImageToScreen(0,0,480,272,PIC1,0,0);
  7. blitImageToScreen(0,0,480,90,HUKIDASHI,0,182);
  8.  
  9. guStart();
  10.  
  11. float x = 5 ; float y = 20; // 20で一番上。後は10ずつyをずらす。xは知らん。
  12. intraFontSetStyle(jpn0, 1.0f,BLACK,WHITE,0);
  13. intraFontPrint(jpn0, x, y, "あかり"); x+=20; y+=180;
  14.  
  15. // ○を押してるときしか表示されない・・・。離すと消えるんだけど何で?
  16. if(pad.Buttons & PSP_CTRL_CIRCLE){
  17. intraFontSetStyle(jpn0, 1.0f,BLACK,WHITE,0);
  18. intraFontPrint(jpn0, x, y, "おわた");
  19. }
  20.  
  21. sceGuFinish();
  22. sceGuSync(0,0);
  23.  
  24. sceDisplayWaitVblankStart();
  25. flipScreen();
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement