0

someone gave me an example on how to make a start end screen put my code is long and I don't know how to apply or how to put my code in a game function

while True:
    menu_result = start_menu()

    if menu_result == "start":
        game()
    elif menu_result == "settings":
        settings()
    else:  # this means it returned "quit"
        pygame.quit()
        exit()

my code is long so I put it on pastebin script

Habib Ismail
  • 21
  • 3
  • 14
  • Can you please clarify the question. You need help with writing a menu system? There is a problem with this code in the question? – Kingsley Jun 08 '20 at 01:33
  • I need help writing a start and end screen system I am confused on how it works that is an example someone showed me but my code is long and I don't know how to apply it – Habib Ismail Jun 08 '20 at 02:24
  • lke for the end screen if my playerman.health reaches 0 then it should load in a death screen something like that – Habib Ismail Jun 08 '20 at 03:32

0 Answers0