Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Refactored current show locked fade overlay logic #64

Merged
merged 15 commits into from
Mar 16, 2025

Conversation

moinm3uw
Copy link
Owner

421240175-428bddf6-7075-4c6e-bec1-fd10a4e928c0.mp4

@moinm3uw moinm3uw requested a review from JanSeliv March 12, 2025 19:29
@moinm3uw moinm3uw changed the base branch from develop to fade-for-skins March 12, 2025 19:30
@moinm3uw moinm3uw changed the title Refactoring fade Refactored current show locked fade overlay logic Mar 12, 2025
@JanSeliv JanSeliv self-assigned this Mar 15, 2025
@JanSeliv JanSeliv merged commit acba6e6 into fade-for-skins Mar 16, 2025
@JanSeliv JanSeliv deleted the refactoring-fade branch March 16, 2025 21:51
JanSeliv pushed a commit that referenced this pull request Mar 22, 2025
* added skins overlay showup whenever user switch to locked skins

* removed nesting

* renamed i to beter name

* renamed bool to correct naming

* simplified if else

* removed unused include

* added const

* moved logic to separet methode to make easier to maintain even method

* simplified bool checkers and improved code readability

* reverted fade changed since they are arriving in the next PR

* Refactored current show locked fade overlay logic  (#64)

* refactoring

* renamed the properties for shorter names

* drastically improved comments

* fixed code style issues

* code style updates

* made const elements

* simplified if statement

* added pointer handle

* added additional state for the FadeOut to return early, renamed one more time variable for better naming

* simplified same verification

* improved naming to be clear

* fixed ticket with state none

* fixed issue with skins get unlocked accidentally

* added ability to have instant switch for skin change but keep animation for plat change

* added const

* added blueprint protected, reformatted code

* added missing comments on functiom

* simplified isCurrentSpot function

* added const fucntion and made it blueprintPrue

* refactored to calculate the previous character on the fly instead of caching value

* fixed boolNaming to CamelCase

* extra space removed

* revisited namings to better explain what is it

* Updated references after refactoring
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants