- Dec 28, 2018
- 1,716
- 3,308
Hi!
In order to keep in touch with Daz assets I wanted to create another shit prototype, just to keep things fresh. But I come across something and I'm not even sure it's a problem (you tell me). Thait said it's quite difficult to explain, so bear with me for a minute. First thing first, the goal is to recreate simili-2.5D in Renpy (one could argue you shouldn't, but hey). So in order to do just that I use first that one (extremely helpful)
Now, second thing, in order to create my simili-2.5D, I also need to use a parallax script for every single scene. Before I go further here the script I use :
Basically parallax use mouse tracking to move layer in XYZ positions. Script is great because it allow me to use transform to tweak every layers to create what I have in mind. And here the weird thing - everything work great. No problem except for one thing, if I open my super cool 3D camera plugin - as it can keep track of every layers. That's where it goes weird.
Imagine you're playing the game and went 30 scenes in. Master is the usual renpy layer; l0 l1 l2 l3 and so on are what compose my master2 (parallax) layer. Basically for each "scene" it recreate a master2 layer without pruning the last one. No matter how hard I try to modify my parallax script with my shit coding skill, it just won't leave me alone. Trust me I tried various things, with no luck so far. So endless master2 (empty) layer for each scene is my problem. Those layers (except the one shown) are empty of images, and no memory usage so far, but I fell it's gonna bite me in the ass somehow. Here the thing: is Renpy keeping track of my layers or is just my 3D camera plugin, if problematic how could I purge them?
In order to keep in touch with Daz assets I wanted to create another shit prototype, just to keep things fresh. But I come across something and I'm not even sure it's a problem (you tell me). Thait said it's quite difficult to explain, so bear with me for a minute. First thing first, the goal is to recreate simili-2.5D in Renpy (one could argue you shouldn't, but hey). So in order to do just that I use first that one (extremely helpful)
You must be registered to see the links
, not only it can put a camera in a 3D space but also come with very handy features if you deal with several layers (I will come to that later). Plugin itself is far (a galaxy away) beyond my coding skills but I used it recklessly without any problems.Now, second thing, in order to create my simili-2.5D, I also need to use a parallax script for every single scene. Before I go further here the script I use :
You don't have permission to view the spoiler content.
Log in or register now.
Basically parallax use mouse tracking to move layer in XYZ positions. Script is great because it allow me to use transform to tweak every layers to create what I have in mind. And here the weird thing - everything work great. No problem except for one thing, if I open my super cool 3D camera plugin - as it can keep track of every layers. That's where it goes weird.
Imagine you're playing the game and went 30 scenes in. Master is the usual renpy layer; l0 l1 l2 l3 and so on are what compose my master2 (parallax) layer. Basically for each "scene" it recreate a master2 layer without pruning the last one. No matter how hard I try to modify my parallax script with my shit coding skill, it just won't leave me alone. Trust me I tried various things, with no luck so far. So endless master2 (empty) layer for each scene is my problem. Those layers (except the one shown) are empty of images, and no memory usage so far, but I fell it's gonna bite me in the ass somehow. Here the thing: is Renpy keeping track of my layers or is just my 3D camera plugin, if problematic how could I purge them?
Last edited: