Python Forum
[pygame] Improvement with code
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[pygame] Improvement with code
#2
I am very anti-nested-while loop in games. I find it to be ugly and hard to maintain. I find creating some form of state machine creates order from this kind of chaos. I'll save you my speech because i could of sworn i gave it to you before about this very thing.
Recommended Tutorials:
Reply


Messages In This Thread
[pygame] Improvement with code - by SheeppOSU - Jul-24-2019, 10:08 AM
RE: [pygame] Improvement with code - by metulburr - Jul-24-2019, 11:09 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  question about my pygame code for space shooter Than999 4 2,713 Feb-07-2022, 03:55 AM
Last Post: metulburr
  question about my Pygame code Than999 2 1,815 Feb-06-2022, 10:03 PM
Last Post: Than999
  [PyGame] Problems with jump code in pygame Joningstone 4 5,537 Aug-23-2021, 08:23 PM
Last Post: deanhystad
  Distributing Python/Pygame code with CX_Freeze jfng75 2 2,931 Jan-11-2021, 10:23 PM
Last Post: snippsat
  My Pygame Code always says "(Not responding") noodlespinbot 3 8,397 Feb-29-2020, 10:50 PM
Last Post: Windspar
  Python Pygame code help Trajme 1 4,121 Dec-07-2017, 04:55 PM
Last Post: nilamo
  Appropriately delay this PyGame code kleynah22 2 4,523 Nov-09-2017, 02:00 PM
Last Post: Windspar

Forum Jump:

User Panel Messages

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