wider
This commit is contained in:
parent
57d8c7a2b7
commit
7d1a5a3653
4 changed files with 3 additions and 4 deletions
BIN
game/client
BIN
game/client
Binary file not shown.
|
|
@ -1081,18 +1081,18 @@ int main(void) {
|
|||
|
||||
// Room state overlay
|
||||
if (roomState == 0) { // Waiting
|
||||
DrawRectangle(sw / 2 - 150, sh / 2 - 50, 300, 100, (Color){0, 0, 0, 200});
|
||||
DrawRectangle(sw / 2 - 150, sh / 2 - 50, 350, 100, (Color){0, 0, 0, 200});
|
||||
DrawText("WAITING FOR PLAYERS", sw / 2 - 120, sh / 2 - 30, 24, RAYWHITE);
|
||||
DrawText("Need at least 2 players", sw / 2 - 100, sh / 2 - 5, 18,
|
||||
(Color){200, 200, 200, 255});
|
||||
} else if (roomState == 1) { // Counting down
|
||||
DrawRectangle(sw / 2 - 150, sh / 2 - 50, 300, 100, (Color){0, 0, 0, 200});
|
||||
DrawRectangle(sw / 2 - 150, sh / 2 - 50, 350, 100, (Color){0, 0, 0, 200});
|
||||
DrawText("GAME STARTING SOON", sw / 2 - 120, sh / 2 - 30, 24,
|
||||
(Color){255, 255, 80, 255});
|
||||
DrawText(TextFormat("%.1f seconds", countdownRemaining), sw / 2 - 60,
|
||||
sh / 2 - 5, 20, RAYWHITE);
|
||||
} else if (roomState == 3) { // Finished
|
||||
DrawRectangle(sw / 2 - 200, sh / 2 - 50, 400, 100, (Color){0, 0, 0, 200});
|
||||
DrawRectangle(sw / 2 - 200, sh / 2 - 50, 450, 100, (Color){0, 0, 0, 200});
|
||||
DrawText("GAME FINISHED", sw / 2 - 80, sh / 2 - 30, 28,
|
||||
(Color){255, 80, 80, 255});
|
||||
if (winnerName[0]) {
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
../libfishsoup
|
||||
BIN
game/server
BIN
game/server
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue