That works great. I would reccomend adding it so everyone can use it. I do have a few suggestions though.
To make it not obvious that the buttons are gone, add them to the actual backdrop in a static state, the slider would have just the bar and the buttons would only show the "on" bmap, this way it wouldn't be "obvious" to the user that the buttons went away. You might just have to update that in the comment section.
One thing that would make it look better, but I'm not sure if it can be done or how, would be to make it size_y from the top and slide into place at the same rate. If there was a gradient or something like the border edge on your one it would look better, but I don't know how to do size_y from the top, not the bottom...
this is a very bad way to show it, but add this to the main() script at the end and once you hit the down arrow, you'll kind of see what I mean, unfortunately this is upside down... but it is one way to do it, now I just need to flip it. lol
this just loops it to show you easily.
while(1)
{
if(drop_open == 1)
{
while(DropDown.size_y < 146 && drop_moving ==2) // 146 = height of dropdown.png.
{
drop_moving =2;
DropDown.size_y += drop_speed*time_step;
DropDown.pos_y -= drop_speed*time_step;
wait(1);
}
if(DropDown.size_y >= 146){drop_moving = 1;}
while(DropDown.size_y > 1 && drop_moving ==1)
{
drop_moving =1;
DropDown.size_y -= drop_speed*time_step;
DropDown.pos_y += drop_speed*time_step;
wait(1);
}
if(DropDown.size_y <= 1){drop_moving = 2;}
}
wait(1);
}
thanks for the help, I didn't think the size thing would work because of scaling the background and text etc, but it just crops which is nice.
one way to fix the upside down problem would be to use something like mouse_spot but for panels to change it's default location away from vector(0,0)
p.s. it would be better to add a gradient to dropdown.png before hand to see my idea work better