Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void drawEndScreen() {
- background(255,0,0);
- textSize(50);
- text("YOU WON THE GAME!",45,320);
- }
- ////////////////////////////////////////
- void drawGameMenu() {
- background(13, 229, 179);
- noFill();
- strokeWeight(2);
- rect(1, 1, 597, 597, 10);
- rect(1, 1, 200, 597, 10);
- rect(40, 250, 100, 100, 10);
- fill(0);
- textSize(40);
- text("Coins: ", 15, 200);
- text(points, 15, 235);
- textSize(20);
- text("Click for",50, 300);
- text("points",55,320);
- //Shop Side\\
- textSize(30);
- text("Shop",250,40);
- noFill();
- rect(250,70,230,100,10);
- rect(250,180,230,100,10);
- rect(250,290,230,100,10);
- rect(250,400,230,100,10);
- //Shop Text\\
- text("More Items",280,460);
- textSize(20);
- //Minion
- text("Minion",260,100);
- text("Price: "+pM,260,120);
- text("Amount: "+aM,260,140);
- //Peasant
- text("Peasant",260,210);
- text("Price: "+pP,260,230);
- text("Amount: "+aP,260,250);
- //Loyal Servant
- text("Loyal Servant",260,320);
- text("Price: "+pL,260,340);
- text("Amount: "+aL,260,360);
- }
- //////////////////////////////////////////
- void drawInfo() {
- background(13, 229, 179);
- noFill();
- strokeWeight(2);
- rect(1, 1, 597, 597, 10);
- rect(170,400,230,100,10);
- fill(0);
- textSize(20);
- text("Minion, produces 1 coin per 1 Minion every second.",10,30);
- text("Pesant, produces 25 coin per 1 Pesant every 2 seconds.",10,50);
- text("Loyal Servant, produces 45 coin per 1 Loyal Servant every 5",10,70);
- text("seconds.",10, 90);
- textSize(40);
- text("Back",240,460);
- }
- ///////////////////////////////////////////
- void drawMenu() {
- background(13, 229, 179);
- strokeWeight(2);
- noFill();
- rect(1, 1, 597, 597, 10);
- fill(0);
- textSize(50);
- text("Points Clicker",140,100);
- textSize(40);
- text("By: IPandaI and Exmoth",15,550);
- //BUTTONS\\
- noFill();
- rect(160,150,250,100,10);
- textSize(40);
- text("Start",240,210);
- noFill();
- rect(160,270,250,100,10);
- textSize(40);
- text("Info",245,330);
- }
- /////////////////////////////////////////////////
- void drawMoreItems() {
- background(13, 229, 179);
- strokeWeight(2);
- fill(0);
- noFill();
- textSize(20);
- rect(1, 1, 597, 597, 10);
- //Factory Worker//
- rect(40,90,230,100,10);
- text("Factory Worker",50,120);
- text("Price: "+pF,50,140);
- text("Amount: "+aF,50,160);
- //Points Generator//
- rect(40,210,230,100,10);
- text("Points Generator",50,240);
- text("Price: "+pG,50,260);
- //text();
- rect(40,330,230,100,10);
- rect(330,90,230,100,10);
- rect(330,210,230,100,10);
- rect(330,330,230,100,10);
- rect(190,450,230,100,10);
- textSize(30);
- text("Points: "+points,230,50);
- text("Back",270,510);
- }
- ///////////////////////////////////////////////
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement