-
Notifications
You must be signed in to change notification settings - Fork 5
/
Winner_Page.pde
51 lines (41 loc) · 1.08 KB
/
Winner_Page.pde
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
class Winner_Page{
void Winner(){
image(winn, 0, 0,width,height);
image(player,1100,200, 400,200);
image(sharkr,50,380,500,200);
fill(#FFFFFF);
textSize(200);
text(" ScOre 30 ", 400, 250);
fill(#FFFFFF);
textSize(200);
text(" You Win ", 550, 500);
/* noStroke();
fill(18,153,175);
ellipse(850,500, 600, 150);
fill(#FFFFFF);
textSize(70);
text(" Play Again ", 650, 540);
start_page main_page= new start_page(0);
if(mouseX>=(850-300) && mouseX<=(850+300) && mouseY>=(500-75) && mouseY<=(500+75))
{
//fill(18,153,175);
//stroke(18,153,170);
//ellipse(825,400,300,100);
//fill(255,255,255);
//textSize(45);
//text("Level 3",770,410);
if(mousePressed==true){
//image(start_back,0,0,width,height);
//page_flag=0;
score=-789;
main_page.page_flag=0;
// peace.init_food();
//peace.init_green();
//peace.init_shark();
//intialize player
// nemo.intial_player();//width_player, hieght_player
print("I won");
}
}*/
}
}