Drag and Drop and Focus Mask not working for me.
Posted: Mon Jul 04, 2016 3:38 am
Hell All!
I'm in the process of making a tester program for each of the renpy updates from 6.99.0 to our current release. For each one I go through the change log and try to test out each new change to see if I can get it.
I'm currently doing 6.99.0. I'm nearing the end of the tester, and came to the info that Drags now take focus_mask. Since this is also my first time messing with Drag and Drop, I wanted to do three different versions: 1) with screens as in the documentation example, 2) when I create drags from their classes and add those to screens as described in the documentation, but with no examples provided, and 3) where I create a subclass of the draggable with original position location so I can snap the draggable to is original position if it is not dropped on a droppable. So I got all of that working...but in none of the versions does focus_mask True seem to work. the droppables have both an idle and a hover version, so you can see when the hover is triggered, but in all versions the hover glow shows up when transparent parts of the images overlap...and I thought focus_mask True was supposed to make that not happen.
What am I doing wrong here?
I'm including the drag and drop portion of the project so that people can test it out themselves and see what I'm doing with the drag and drop code in general (perhaps it is interesting for you) as well as see how the focus_mask doesn't seem to be working for me.
Thanks!
I'm in the process of making a tester program for each of the renpy updates from 6.99.0 to our current release. For each one I go through the change log and try to test out each new change to see if I can get it.
I'm currently doing 6.99.0. I'm nearing the end of the tester, and came to the info that Drags now take focus_mask. Since this is also my first time messing with Drag and Drop, I wanted to do three different versions: 1) with screens as in the documentation example, 2) when I create drags from their classes and add those to screens as described in the documentation, but with no examples provided, and 3) where I create a subclass of the draggable with original position location so I can snap the draggable to is original position if it is not dropped on a droppable. So I got all of that working...but in none of the versions does focus_mask True seem to work. the droppables have both an idle and a hover version, so you can see when the hover is triggered, but in all versions the hover glow shows up when transparent parts of the images overlap...and I thought focus_mask True was supposed to make that not happen.
What am I doing wrong here?
I'm including the drag and drop portion of the project so that people can test it out themselves and see what I'm doing with the drag and drop code in general (perhaps it is interesting for you) as well as see how the focus_mask doesn't seem to be working for me.
Thanks!