Advertisement
drakon-firestone

Untitled

Nov 6th, 2024
14
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. if (status == GameStatus.Ready)
  2. {
  3. Raylib.DrawText(countdown.ToString(), screenWidth / 2 - 20, screenHeight / 2 - 20, 60, Color.Black);
  4. }
  5. else
  6. {
  7. if (status == GameStatus.GameOver)
  8. {
  9. Raylib.DrawText("Game Over", screenWidth / 2 - 160,screenHeight / 2 - 50, 70, Color.Red);
  10.  
  11. Raylib.DrawText("Press Enter to Restart", screenWidth / 2 - 170, screenHeight / 2 + 30, 30, Color.White);
  12.  
  13. }
  14. Raylib.DrawText("Score: " + score, 10, 10, 30, Color.Black);
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement