Advertisement
ThatOnePandaGuy

Untitled

Aug 5th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 2.84 KB | None | 0 0
  1. void drawEndScreen() {
  2.   background(255,0,0);
  3.   textSize(50);
  4.   text("YOU WON THE GAME!",45,320);
  5.  
  6. }
  7. ////////////////////////////////////////
  8. void drawGameMenu() {
  9.     background(13, 229, 179);
  10.     noFill();
  11.     strokeWeight(2);
  12.     rect(1, 1, 597, 597, 10);
  13.     rect(1, 1, 200, 597, 10);
  14.     rect(40, 250, 100, 100, 10);
  15.     fill(0);
  16.     textSize(40);
  17.     text("Coins: ", 15, 200);
  18.     text(points, 15, 235);
  19.     textSize(20);
  20.     text("Click for",50, 300);
  21.     text("points",55,320);
  22.     //Shop Side\\
  23.     textSize(30);
  24.     text("Shop",250,40);
  25.     noFill();
  26.     rect(250,70,230,100,10);
  27.     rect(250,180,230,100,10);
  28.     rect(250,290,230,100,10);
  29.     rect(250,400,230,100,10);
  30.     //Shop Text\\
  31.     text("More Items",280,460);
  32.     textSize(20);
  33.     //Minion
  34.       text("Minion",260,100);
  35.       text("Price: "+pM,260,120);
  36.       text("Amount: "+aM,260,140);
  37.     //Peasant
  38.       text("Peasant",260,210);
  39.       text("Price: "+pP,260,230);
  40.       text("Amount: "+aP,260,250);
  41.    //Loyal Servant
  42.       text("Loyal Servant",260,320);
  43.       text("Price: "+pL,260,340);
  44.       text("Amount: "+aL,260,360);
  45.      
  46. }
  47. //////////////////////////////////////////
  48. void drawInfo() {
  49.   background(13, 229, 179);
  50.     noFill();
  51.     strokeWeight(2);
  52.     rect(1, 1, 597, 597, 10);
  53.     rect(170,400,230,100,10);
  54.     fill(0);
  55.     textSize(20);
  56.     text("Minion, produces 1 coin per 1 Minion every second.",10,30);
  57.     text("Pesant, produces 25 coin per 1 Pesant every 2 seconds.",10,50);
  58.     text("Loyal Servant, produces 45 coin per 1 Loyal Servant every 5",10,70);
  59.     text("seconds.",10, 90);
  60.     textSize(40);
  61.     text("Back",240,460);
  62. }
  63. ///////////////////////////////////////////
  64. void drawMenu() {
  65.   background(13, 229, 179);
  66.   strokeWeight(2);
  67.   noFill();
  68.   rect(1, 1, 597, 597, 10);
  69.   fill(0);
  70.   textSize(50);
  71.   text("Points Clicker",140,100);
  72.   textSize(40);
  73.   text("By: IPandaI and Exmoth",15,550);
  74.   //BUTTONS\\
  75.   noFill();
  76.   rect(160,150,250,100,10);
  77.   textSize(40);
  78.   text("Start",240,210);
  79.   noFill();
  80.   rect(160,270,250,100,10);
  81.   textSize(40);
  82.   text("Info",245,330);
  83. }
  84. /////////////////////////////////////////////////
  85. void drawMoreItems() {
  86.   background(13, 229, 179);
  87.   strokeWeight(2);
  88.   fill(0);
  89.   noFill();
  90.   textSize(20);
  91.   rect(1, 1, 597, 597, 10);
  92.   //Factory Worker//
  93.     rect(40,90,230,100,10);
  94.     text("Factory Worker",50,120);
  95.     text("Price: "+pF,50,140);
  96.     text("Amount: "+aF,50,160);
  97.   //Points Generator//
  98.     rect(40,210,230,100,10);
  99.     text("Points Generator",50,240);
  100.     text("Price: "+pG,50,260);
  101.     //text();
  102.   rect(40,330,230,100,10);
  103.   rect(330,90,230,100,10);
  104.   rect(330,210,230,100,10);
  105.   rect(330,330,230,100,10);
  106.   rect(190,450,230,100,10);
  107.   textSize(30);
  108.   text("Points: "+points,230,50);
  109.   text("Back",270,510);
  110. }
  111. ///////////////////////////////////////////////
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement