added pause screen
This commit is contained in:
@@ -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")
|
||||
}
|
Reference in New Issue
Block a user