Yincognito wrote: ↑May 10th, 2020, 11:10 pm
And this is the result, for now. I'll continue tomorrow, as I'm in the mood for relax time, a movie and such.
You can manually play with it in the meantime to see how it looks and behaves, by modifying (negatively or positively, doesn't matter) the X=0r from the sliding panel meter. Tomorrow we'll take care of the animation, unless balala arives here sooner than me and uses his ActionTimer skills to implement it, that is...
P.S. You can try making the container meter visible (i.e. commenting the Container=... line) to see its position and compare, but don't forget to uncomment afterwards, to revert to the desired behavior.
Great I'll try that.
I might be off a few days, since I have unfinished and not-wanting-to-do work that is due in a few day.
Mino_el_Nukenin wrote: ↑May 10th, 2020, 11:26 pm
Very neat !
Now I can "prepare" the next meters accordingly, I'll put them facing to the right, that will be easier.
EDIT :
-For the movement I'd like:
-> When sliding out X=0r is perfect
-> When sliding in X=105r is perfect
Ok, so it's done on my side. Let me know if you're available, cause I have a proposition if you do...
Ok. Having in mind that my code is waiting for you anyway, why not trying to make it work on your own and see what you can come up with? You have all the needed elements to succeed with this, if you browse a little through our conversations recently. Hint: the final result should not take more than 73 lines of code.
The above is only if you want to. If you don't or you're in a hurry to develop your code even further or something like that, I'll just post the result and proceed with the next stuff on the horizon (if any).
P.S. Of course, based on your edit, you should make a backup of your working code first, before trying the above, just to be sure.
Yincognito wrote: ↑May 11th, 2020, 4:43 pm
Ok. Having in mind that my code is waiting for you anyway, why not trying to make it work on your own and see what you can come up with? You have all the needed elements to succeed with this, if you browse a little through our conversations recently. Hint: the final result should not take more than 73 lines of code.
Okay, a lil work by myself is always welcomed.
I guess a [!Move] bang shoudl do it, no ?
The above is only if you want to. If you don't or you're in a hurry to develop your code even further or something like that, I'll just post the result and proceed with the next stuff on the horizon (if any).
yep i'll need for a next skin after this one.
P.S. Of course, based on your edit, you should make a backup of your working code first, before trying the above, just to be sure.
Okay I see, it's all positionned relatively so that wouldn't be such a problem after.
EDIT : actiontimer plugin actually, if I base it like the skin with the hexagons sliding.
Yincognito wrote: ↑May 11th, 2020, 5:07 pm
I won't say anything...
But one of these choices is the right one, that much I can tell you.
Okay I came up with a code, but not working.
Not sure what I missed. I based it on the hexagons one.
These are the codes i've added : [Variables] for the posisions of the panel + a [MeasureSlider] for the movement (there might be the errors) + some [Action] on the main button.
See for yourself:
Mino_el_Nukenin wrote: ↑May 11th, 2020, 5:23 pm
Okay I came up with a code, but not working.
Not sure what I missed. I based it on the hexagons one.
These are the codes i've added : [Variables] for the posisions of the panel + a [MeasureSlider] for the movement (there might be the errors) + some [Action] on the main button. See for yourself.
You came pretty close, nice attempt. Here is my code, you can compare the differences and see where you were "off track". You weren't much wrong though, and almost nailed it:
There is still a need to selectively disable / enable the mouse actions apparently, as otherwise "notepad" will get executed when clicking the opaque pixels of the panel even though they are "hidden" under the button.
P.S. If you want to slide faster (i.e. increment or decrement #Offset# by a larger amount), you should set the Repeat value so that #Repeat# * #AmountOfIncrementOrDecrement# = 105 (aka the sliding interval), or use Clamp() function to limit / restrict #Offset# +/- #AmountOfIncrementOrDecrement# to the 0, 105 interval.