Craftero
|
  |
| Joined: 24 Jun 2011 |
| Total Posts: 1451 |
|
|
| 16 Jan 2016 01:09 PM |
How can you slide an ImageLabel slide out of, or under, a Frame? Not just Resizing, as this would flatten the image.
For example, how can you make an ImageLabel of a meter stick slide out of the Frame without coming out of the Frame itself?
So, to help visulaise what I'm saying: The meter stick would glide out of the frame increment by increment (meter mark by meter mark), and wouldn't just be compiled or squashed as it would be if you just used :TweenSize().
Kind of like gliding under and out of the Frame, if you know what I mean.
If I'm not clear enough, please let me know. Any help or advice would be greatly appreciated. |
|
|
| Report Abuse |
|
|
|
| 16 Jan 2016 01:11 PM |
Zindex.
Make the Frame apply over the ImageLabel |
|
|
| Report Abuse |
|
|
Craftero
|
  |
| Joined: 24 Jun 2011 |
| Total Posts: 1451 |
|
|
| 16 Jan 2016 01:23 PM |
@KAMIKAZEPOLO
Thanks for the suggestion. I gave it a quick try, but it didn't work.
The ImageLabel is inside the Frame. Frame Zindex = 10 ImageLabel Zindex = 5
But when I change the position of the ImageLabel, it just comes out of the frame - it doesn't gradually vanish under the Frame as it should. Perhaps I've gone about this the wrong way..?
Does anybody have any other ideas or suggestions? |
|
|
| Report Abuse |
|
|
|
| 16 Jan 2016 02:07 PM |
I am not sure if this is what you mean: Use a scrolingframe, change canvas size to 0,0 and scrollingbarthickness to 0. Place the image in here. |
|
|
| Report Abuse |
|
|
Orced
|
  |
| Joined: 08 Apr 2010 |
| Total Posts: 1301 |
|
|
| 16 Jan 2016 02:12 PM |
Ez, just do this: Set Frame's ClipsDescendants to true (I guess it's called like that) and then use picture:TweenPosition function to make it move smoothly :) I recommend Quint type and 0.5 seconds. Also set the last index to true, so it wont bug or any kind of that stuff
A long time ago, in a galaxy, far far away... they haz lazors? |
|
|
| Report Abuse |
|
|