Hi pygame users, just a simple question-- How can one cause variables at "function-level" to behave like variables at "line-level"? (With basic python code) I just want to avoid using "global" over and over again (in many different functions) while I want to declare, use, and delete all my game's variables inside functions.Thanks. Matt
- [pygame] Declaring variables in function as if at code's... Brian Brown
- Re: [pygame] Declaring variables in function as if ... Ciro Duran
- Re: [pygame] Declaring variables in function as... Brian Brown
- Re: [pygame] Declaring variables in functio... Christopher Night
- Re: [pygame] Declaring variables in fun... Brian Brown
- Re: [pygame] Declaring variables i... Christopher Night
- Re: [pygame] Declaring variabl... Christopher Arndt
- Re: [pygame] Declaring var... Brian Brown
- Re: [pygame] Declaring var... Brian Brown
- Re: [pygame] Declaring var... Ryan Hope
- Re: [pygame] Declaring var... Brian Brown