r/programminghelp • • Mar 27 '21

Python Help with Menu Changing using Python

So I'm making the old "fishy" game from the old Flash days, where you eat little fish while avoiding big ones. I am currently struggling to handle bringing the game to start in my start menu (in menu.py), and then changing to the main game once a mouse click is input. I was wondering if I could have some help in that. I was wondering how I should go about putting the "mouse_press" function, I think for the sake of style it's better to have main call it, but I'm not sure of how to best do it. Here is the repository for the game:

https://github.com/phi1ny3/FishyTest

In particular, in either main on line 42 or 48, or in menu on line 21.

Thanks in advance!

4 Upvotes

1 comment sorted by