Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Auto FlxG.save.bind when switching mods (so no mods override other mod saves and removes bloat) #501

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

ItsLJcool
Copy link
Contributor

There probably is a better way to do it than just FlxG.save.bind("save-default", 'CodenameEngine/${ModsFolder.currentModFolder.trim()}'); in MainState, though when people download the newest action build they will lose all their saves for mods (example: YTP Invastion) because they relied on FlxG.save from CodenameEngine saves.

This won't override the Options.__save because they differ from base Flixel's FlxSave, and now I can actually do something niche with this feature that im going to be adding 👀

ItsLJcool and others added 5 commits December 11, 2024 02:12
KeyModifier somehow returned an int outside of the KeyModifier's range 😭

Apparently there is a boolean that just checks for you called `ctrlKey`.........
…xactly the way YoshiCrafterEngine did it but someone else can prob make it better, but doing this BECAUSE FUCKING HELL IT BLOATS MY FUCKASS SAVE!!!!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant