Problem: at some point during development, renpy started flashing a seemingly random image from the game for a fraction of a second during startup.
Solution: my wife, the content person, had innocently named an image 'black'. It turns out 1) that renpy (6.11.1) tests whether it can use gl by trying to display an image called 'black', and 2) it uses the same image namespace as the game. So 'black' is effectively a reserved image name, though not documented as far as I ever noticed.
Suggestion: as long as 2) above is true, follow Python's internal name convention and use a name like __gl_test_black__, or, if it is used for other internal purposed, __internal_black_image__, for the test image that effectively will not conflict with user names.
Suggestion: make startup gl check independent of game code
- PyTom
- Ren'Py Creator
- Posts: 15893
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Suggestion: make startup gl check independent of game co
This can be configured using config.gl_test_image - but your point stands.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
Who is online
Users browsing this forum: No registered users