larsiusprime / polymod

Atomic modding framework for Haxe
MIT License
161 stars 62 forks source link

i have an idea #98

Closed ghost closed 2 years ago

ghost commented 2 years ago

here is my idea for the openfl backened we can use IAssetCache for the path
here is my example for the code

for (Cache in openfl.utils.IAssetCache.getBitmapData(id:String):BitmapData;) { openfl.utils.IAssetCache.removeBitmapData(id:String):Bool; } for (Cache in openfl.utils.IAssetCache.getFont(id:String):Bool;) { openfl.utils.IAssetCache.removeFont(id:String):Bool; } for (Cache in openfl.utils.IAssetCache.getSound(id:String):Sound;) { openfl.utils.IAssetCache.removeSound(id:String):Bool; } instead of using the assets that openfl has cause there is no line of code that says remove font on there

ghost commented 2 years ago

IAssetsCache

ghost commented 2 years ago

also please get back to me when you can @MasterEric

ghost commented 2 years ago

yeah no lol