Daniel Pope
Daniel Pope
I don't have a Mac to develop on, but I escalated this with Pygame maintainers on Discord and they said that it might be a Mac OS X quirk with...
This may not end up relevant but @geofft just pointed out that the screen buffer starts initialised to `(0, 0, 0, 0)` on Mac OS but `(0, 0, 0, 255)`...
Are there any specific sound files this occurs for or does not? Is this on Raspberry Pi?
*Original comment by* **Daniel Pope (Bitbucket: [lordmauve](https://bitbucket.org/lordmauve), GitHub: [lordmauve](https://github.com/lordmauve))**: ---------------------------------------- They are defined in pgzero.builtins: https://bitbucket.org/lordmauve/pgzero/src/1ed52dc0bf91e06d9158c7717590f8e36babd0f8/pgzero/builtins.py?at=default&fileviewer=file-view-default I could add this to the documentation, but I would like to fix this...
In Pyflakes (and flake8), you can work around this by setting the `PYFLAKES_BUILTINS` environment variable to `Actor,Rect,ZRect,animate,clock,exit,images,keyboard,keymods,keys,mouse,music,screen,sounds,storage,tone`. eg. on Linux ```bash PYFLAKES_BUILTINS=Actor,Rect,ZRect,animate,clock,exit,images,keyboard,keymods,keys,mouse,music,screen,sounds,storage,tone export PYFLAKES_BUILTINS ``` and on Windows ```bash set...
This thread has some ideas: https://mail.python.org/archives/list/[email protected]/thread/OOAVXALDJXGRXRZYWWIHU7MWGZ5436N2/
This feature is available in Pygame 2.0, and would be relatively easy to map through to Pygame Zero if available.
*Original comment by* **Lumír Balhar (Bitbucket: [frenzymadness](https://bitbucket.org/frenzymadness), GitHub: [frenzymadness](https://github.com/frenzymadness))**: ---------------------------------------- I am building RPM for Fedora so pgzero is built from source code from BitBucket. Should I install some additional...
*Original comment by* **Daniel Pope (Bitbucket: [lordmauve](https://bitbucket.org/lordmauve), GitHub: [lordmauve](https://github.com/lordmauve))**: ---------------------------------------- Thanks for the bug report. It seems likely that your Pygame is not compiled with the same audio codecs as...
This could be a new built-in. What would the API look like?