[ENHANCEMENT] Smooth lerp scaling for Touch to Play button#6966
Closed
AnimatingLegend wants to merge 1 commit intoFunkinCrew:developfrom
Closed
[ENHANCEMENT] Smooth lerp scaling for Touch to Play button#6966AnimatingLegend wants to merge 1 commit intoFunkinCrew:developfrom
AnimatingLegend wants to merge 1 commit intoFunkinCrew:developfrom
Conversation
7f6b98e to
6c615a5
Compare
4ea225d to
eac8684
Compare
EliteMasterEric
approved these changes
Mar 10, 2026
Hundrec
requested changes
Mar 15, 2026
Member
Hundrec
left a comment
There was a problem hiding this comment.
I tested this and clicking on the Touch here to play button doesn't do anything.
eac8684 to
f9e8dd6
Compare
Contributor
Author
Well, what do you want the button to do? I honestly just added a tween to the button to make it more visually appealing when hovering and clicking. I didn't really think that far ahead |
07e5e7e to
0329976
Compare
- Added a lerp calculation so the sprite's scale catches up to the target scale. - Swapped `MOUSE_OVER` and `MOUSE_OUT` events out for a `hitTestPoint()` check. - Added logic to handle a small scale when the mouse is pressed. - Implemented a small delay timer in `mouseDownTouchHereToPlay()` to allow the button to quickly 'rise up' before the game starts. - Left old mouse functions blank since the scaling is now being handled in `updateGraphics()`.
0329976 to
178fce8
Compare
Member
|
We ended up implementing this in our own way. Thanks for your submission! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Updated
touchHereToPlaybutton inFunkinPreloader.hxto make it feel more polished, instead of scale jumping instantly.Changes:
MOUSE_OVERandMOUSE_OUTevents out for ahitTestPoint()check.mouseDownTouchHereToPlay()to allow the button to quickly 'rise up' before the game starts.updateGraphics().Screenshots/Videos
Before (itch.io build):
2026-02-22.00-26-47.mp4
After (FINAL):
2026-02-22.15-36-27.mp4