I made a simple game, then i want that i the game is over (if player lives gets to 0), it will show me a black screen and ask me if i want to restart or quit, here is my code the problem is i can't make a black screen because i can't hide the objects.
here is my code:
Game_Over:
stop music 1
stop sound 1
stop sound 2
backdrop off
for i = 1 to 4
hide object i
next i
set text size 80
ink rgb(255,255,255),rgb(0,0,0)
center text 320,240,"Game-Over"
set text size 40
center text 320,280,"You're score is: " + str$(Score)
center text 320,320,"Press R to restart" + " " + "Press Q to.."
do
sync
loop
return
why this is happening?