ENIGMA:FAQ - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Question: Why does it take so long to compile/run my game the first time?
- Short Answer: This is a first-time installation procedure to ensure that the game binaries match up with your system.
- Long Answer: It takes a long time the first time because, unlike Game Maker, it's not just slapping game data onto the end of runner data to be interpreted later. Your game is actually being compiled into machine readable byte code. Even the "runner" of your code, or the core code behind everything that happens, needs to be compiled the first time. However, after you've compiled the first time, the second and later times will all be relatively quick, since they only need to recompile whatever you've changed.
- See Also: This is also explained on our Install#Compiling_a_Sample_Game page, which walks you through your first compile with a sample game, to essentially finish installation, and also to ensure that the binaries link up correctly. It's ok to attempt a first-time compile with one of your own games, but if you run into any errors, it will be more difficult to tell if it was some internal problem with ENIGMA trying to link up, or just some erroneous/unsupported aspect of your game, and later runs will still need to finish the installation procedure from where it left off.
Question: How do I add a custom action library to ENIGMA and the GUI (LateralGM)?
- Answer: Create a folder called "lib" in the same directory as lgm*.jar (should be the root ENIGMA installation directory). Then you can copy any lib file into there. LateralGM also supports its own, smaller format, LGL format. This location may be customized by altering LateralGM's preferences, value "userLibraryPath" from its default value "./lib"