Honestly this is not a big surprise: In line 269 I try to load a new background image. A PNG with transparent parts that has a size of nearly 22.000px x 15.000px and that uses around 22MB on the harddisk. I now know that I just have to do it different – but: Does anyone know how much memory such a PNG uses in RAM? It must be by far more than just 22MB. I do have 3GB RAM here and the RAM gets not full. The loading of the image also needs some seconds in the image viewer already until it shows up… But it doesn't crash at least…While running game code:
File "game/script.rpy", line 270, in script
" "
error: Out of memory
This might be a load problem somewhere in python, pygame or in Ren'Py… I don't know. But where is the breaking point? What is still possible?
Just as an explanation: In my current project I use large background images where the scenes take place. I use zoom to navigate from one point to the next.
I wish there would be something that could stick background images together! Maybe like: 6 hex fields and new hex fields would be added to the surrounding background while navigating and moving.
Are there different ideas to work with large backgrounds?