A Bit About Me
Hey everyone! If you did not know, I am very interested in UIs. I especially enjoy coming up with unique hover and click effects (I know I focus on the unnecessary things ) that are unlike any others out there and this is why this topic exists in the first place.
What I’m Trying to Recreate, Is It Possible?
As some of you may know, Windows 10 has a whole set of new buttons and their designated click effects. I especially like this button’s click effect:
Notice how where the mouse is being clicked, the button “presses back” there. The farther the mouse is being clicked, the more “deformed” the button becomes (in a good way).
I really believe this click effect is cool. I just want to know if something like this is possible in Roblox (just recreating this effect not copying).
The Idea I Have Thought of so Far
Viewport Frames (VP frames) There could be a button on top of this frame, and when it is clicked a part inside the VP frame turns the way where the mouse was clicked.
Conclusion
And that is the only idea I have. Obviously there would be a lot of maths involved with this (about where in pixels the mouse is clicked relative to the button’s top left corner, how much the “part” inside the VP frame turns depending on how close the click was to the edge, and etc.). I just do not really think the VP frame idea is efficient. I mean sure, it does the task at hand, but what about performance? I read on the Hub that moving parts inside VP frames can cause FPS drops, especially when there are multiple like in this scenario.
Any other ideas that would recreate this click effect?
Thank you.