Version 1.4.2
·
162 commits
to master
since this release
[1.4.2] - 2022-02-06
Version 1.4.2 includes a large number of bug fixes and tweaks to improve reliability.
Added
- Added the optional
assetsPrefix
option to theframeworkParams
.- Use this if your project's
assets/
folder uses a different name.
- Use this if your project's
- Added a new Flixel sample project which ensures cache clearing when reloading mods.
- Added several convenience functions to handle loading and unloading of mods at runtime.
- These convenience functions perform the proper steps to reload Polymod. Note you may need to call
clearCache()
depending on your framework and your app's current state. loadMod()
andloadMods()
enables an individual (or multiple) mods, by re-initializing the framework with the appropriate mods enabled.unloadMod()
andunloadMods()
disables an individual (or multiple) mods, by re-initializing the framework with the appropriate mods disabled.unloadAllMods()
disables all mods, by re-initializing the framework with no mods enabled.- Localized asset replacements will still work, but no user-defined mods will be loaded.
disable()
fully disables Polymod, destroying the asset handler.- Neither user-defined mods nor localized asset replacements will work until you call
init()
again.
- Neither user-defined mods nor localized asset replacements will work until you call
- These convenience functions perform the proper steps to reload Polymod. Note you may need to call
Changed
- Added additional testing to the
openfl_firetongue
sample.mod5
now loads a different image depending on the selected locale.
- Performed many internal code style improvements (please use template strings)
- Improvements to documentation
- Renamed and cleaned up the
Localization
page (formerly known asTranslation
) - Added a section to the
Localization
page describing its partial support (only available in Lime/OpenFL/Flixel as of this update).
- Renamed and cleaned up the
Fixed
- Fixed several issues that stopped the Flixel backend from working. It's finally actually working I swear check the sample.
- Fixed several bugs related to asset retrieval.
- Fixed a bug where debug printing would sometimes not enable.
- Fixed a bug where the project would not build if Firetongue was not installed.
- Fixed several issues with the HEAPS sample (seriously was it ever working?).
Removed
- Temporarily disabled the
HScript-EX
feature.- Additional work to implement the scripted class functionality is required.
- REMOVED the existing modpack functionality (based on the
_polymod_pack.txt
file).- This will be replaced with a revamped system for modpacks in the future.
- REMOVED the documentation associated with modpacks.
Known Issues
- The
openfl_firetongue
sample mod which implements an additional language is currently broken.