added pause screen

This commit is contained in:
Mees Roelofsz
2024-01-10 16:27:53 +01:00
parent 4547d792f2
commit 62477ab28d
2 changed files with 13 additions and 5 deletions

View File

@@ -62,4 +62,10 @@ function button(r, g, b, buttonX, buttonY, buttonWidth, buttonHeight, buttonText
// }
// }
pop()
}
function pauseMenu(){
textAlign(CENTER);
button(255, 255, 255, width / 2 - 90, height / 2, 200, 40, "Resume")
button(255, 255, 255, width / 2 - 90, height / 2 + 50, 200, 40, "Main Menu")
}