2022-06-12 17:49:42 +00:00
|
|
|
/*
|
|
|
|
- Avoid ~ a game by Canneddonuts
|
|
|
|
- Filename ~ Credits.c
|
|
|
|
- Author ~ Return0ne
|
|
|
|
- 2022
|
|
|
|
- *no license*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "../include/raylib.h"
|
|
|
|
|
|
|
|
#include "Screens.h"
|
|
|
|
#include "Controls.h"
|
2022-06-17 02:17:26 +00:00
|
|
|
#include "Textures.h"
|
2022-06-12 17:49:42 +00:00
|
|
|
|
|
|
|
void UpdateCreditsScreen(void)
|
|
|
|
{
|
|
|
|
if (INPUT_OPTION_PRESSED) currentScreen = TITLE;
|
|
|
|
}
|
|
|
|
|
|
|
|
void DrawCreditsScreen(void)
|
|
|
|
{
|
2022-06-17 02:17:26 +00:00
|
|
|
DrawTexture(background, 0, 0, DARKGRAY);
|
|
|
|
DrawText("CREDITS", 290, 20, 50, BLUE);
|
2022-06-12 17:49:42 +00:00
|
|
|
DrawText("Programming and Art by Return0ne", 10, 210, 20, BLUE);
|
|
|
|
DrawText("Powered by raylib 4.0", 10, 240, 20, BLUE);
|
2022-06-17 02:17:26 +00:00
|
|
|
DrawText("A Canneddonuts project 2022", 10, 270, 40, BLUE);
|
2022-06-14 00:33:35 +00:00
|
|
|
DrawText(TextFormat("Build compiled on %s", __DATE__), 10, 310, 30, YELLOW);
|
2022-06-12 17:49:42 +00:00
|
|
|
DrawText("Press 'ENTER' ", 10, 350, 20, WHITE);
|
|
|
|
}
|