Screenshot for transition
Posted: Mon Jul 02, 2018 3:52 pm
Hi,
I have a problem with screenshots and I am not sure what exactly is happening.
You can find the code in the "uiblob" branch on the repository: https://gitlab.com/uiblob/deorum/tree/uiblob
The background: In my scene manager (src/scene.lua) I take a screenshot of the current scene. However the layers seem to be adding up, with some transparency, I have no idea where the transparency comes from. You can watch the behaviour in the issue: https://gitlab.com/uiblob/deorum/issues/3
Scene.lua important functions
Line 53: Scene switch. This is where I take the screenshot.
Line 76: Draw function.
I am out off ideas about the issue. Hopefully you can help.
Greetings,
uiblob
I have a problem with screenshots and I am not sure what exactly is happening.
You can find the code in the "uiblob" branch on the repository: https://gitlab.com/uiblob/deorum/tree/uiblob
The background: In my scene manager (src/scene.lua) I take a screenshot of the current scene. However the layers seem to be adding up, with some transparency, I have no idea where the transparency comes from. You can watch the behaviour in the issue: https://gitlab.com/uiblob/deorum/issues/3
Scene.lua important functions
Line 53: Scene switch. This is where I take the screenshot.
Line 76: Draw function.
I am out off ideas about the issue. Hopefully you can help.
Greetings,
uiblob