Horje
how to add modding support to a haxe game Code Example
how to add modding support to a haxe game
// it's really complex, and there are many ways to do it.

// first way
// first use the command: haxelib install polymod

// add this to the project.xml: <haxelib name="polymod"/>

import polymod.Polymod;

// initialize mods

Polymod.init({
  modRoot:"modspath/",
  dirs:["mods"]
 });
 
// all if not most file loader's backends will load things correctly

// second way, much harder.

// do it yourself with a custom file loading system using multiple packages:
import openfl.display.FileSystem;
import sys.io.File;
import openfl.display.BitmapData;
import openfl.media.Sound;
// all these packages negate the manifest and are perfect for softcoded loading




Whatever

Related
ggggooddk Code Example ggggooddk Code Example
last value added odoo Code Example last value added odoo Code Example
workflow react android studio Code Example workflow react android studio Code Example
registration url Code Example registration url Code Example
Autoit loop through array Code Example Autoit loop through array Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8