Python Forum
Suggestions/Improvements (pygame)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Suggestions/Improvements (pygame)
#3
i have mentioned a few suggestions here and here.

Since you didnt heed my advice on the numerous pygame updates, you will find out what happens when you make spaghetti code. You can make spaghetti code all you want. The problem arises when other people (us on the forum) need to help you. Its a turn off when trying to help people that refuse to take the advice given. As you can see Windspar doesnt even want to respond anymore.

Please read and compare the two code snippets at the bottom of this thread. The first looks like yours. It needs to look more like the second snippet. There are comments in the second code snippet as to why the old is commented out. You can apply this to your own code.

I would also read the organization tutorial here.
Recommended Tutorials:
Reply


Messages In This Thread
Suggestions/Improvements (pygame) - by SheeppOSU - Apr-15-2019, 02:47 AM
RE: Suggestions/Improvements (pygame) - by Windspar - Apr-16-2019, 01:54 PM
RE: Suggestions/Improvements (pygame) - by metulburr - Apr-16-2019, 04:38 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020