Pretorg
Member
I have been using in my project 4 600x600 backgrounds tiled (as they are smaller than the room), the first is just a solid colour, the other backgrounds have some scattered sprites.
I am implementing random events on the game and one of them requires a different background which is a radioactive fog that I intended to use as a foreground while also using a solid colour with low opacity on top of the other backgrounds to slightly change their colour, both of these two new backgrounds are also 600x600 and tiled.
The room is 1300x900.
I haven't had any problems until yesterday, when trying to record some footage I noticed the performance drop mostly on the video itself, while playing is not that bad but still it sometimes drops down to around 50 fps, this drop seemed to happen in a specific place of the room, where the backgrounds tile vertically.
I have tried to test smaller versions of these backgrounds and also bigger but can't really see any difference, the only thing that seems to have some positive impact was lowering the number of backgrounds in use which makes sense, but even using only 3 in total one of them being the fog the performance is still bad, my guess is that it has to do with the transparency mostly but I am also wondering if using either a smaller or bigger backgrounds would help.
My apologies if this topic has been answered before, I did both a google search and forum search as well as going through the documentation but couldn't find anything that would help me.
On this picture all the backgrounds are active, as you can see there is a lot of transparency going on.
Thanks in advance for any insight you guys might have.
I am implementing random events on the game and one of them requires a different background which is a radioactive fog that I intended to use as a foreground while also using a solid colour with low opacity on top of the other backgrounds to slightly change their colour, both of these two new backgrounds are also 600x600 and tiled.
The room is 1300x900.
I haven't had any problems until yesterday, when trying to record some footage I noticed the performance drop mostly on the video itself, while playing is not that bad but still it sometimes drops down to around 50 fps, this drop seemed to happen in a specific place of the room, where the backgrounds tile vertically.
I have tried to test smaller versions of these backgrounds and also bigger but can't really see any difference, the only thing that seems to have some positive impact was lowering the number of backgrounds in use which makes sense, but even using only 3 in total one of them being the fog the performance is still bad, my guess is that it has to do with the transparency mostly but I am also wondering if using either a smaller or bigger backgrounds would help.
My apologies if this topic has been answered before, I did both a google search and forum search as well as going through the documentation but couldn't find anything that would help me.
On this picture all the backgrounds are active, as you can see there is a lot of transparency going on.
Thanks in advance for any insight you guys might have.