-
Notifications
You must be signed in to change notification settings - Fork 1
/
menu.c
29 lines (23 loc) · 1.05 KB
/
menu.c
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
#include "raylib.h"
#include <stdio.h>
#include "gm.h"
void Menu()
{
if(IsKeyPressed(KEY_A)) currentScreen=GAME1;
BeginDrawing();
ClearBackground(BLACK);
if(FileExists("You Won.")) DrawCircle(1000,10,10,YELLOW);
if(FileExists("Another_Reward_for_ya"))DrawCircle(1000,20,10,YELLOW);
DrawText("The Only Way To Keep It Away",1,100,40,BLUE);
DrawText("You are a Loser Who got Exclusive Printed NFTS And",1,250,30,WHITE);
DrawText("There is a black figure outside your window",1,300,40,WHITE);
DrawText("you saw him and called the police",1,350,40,WHITE);
DrawText("but until they come",1,400,40,WHITE);
DrawText("you have to make this thing far away from you",1,450,35,RED);
if(FileExists("FirstTime?"))
DrawText("Hint: flashing the light on him frequently will do the job",1,500,35,YELLOW);
DrawText("Press A to Play",500,550,35,GREEN);
DrawText("Made By Boxstop For The One Button Game Jam",1,610,5,BLUE);
DrawText("v0.1.1",1000,610,5,BLUE);
EndDrawing();
}