Presets
What is "preset"?
Presets provides you a bunch of already implemented tools, game logic and mechanics to rapidly start your development! It's like examples but more powerful since can just take it and start implementing your own mod / game with minimum / without programming!
Well, how can I use them?
If you've downloaded L2DF's source code you can find them in l2df-engine/presets/
.
There're instructions below how to get working each preset.
LF2 preset
Copy
l2df-engine/presets/lf2
folder to another location (where you want to work with it).Create
libs
directory inside your copy if it doesn't exist.Do any of these steps:
- copy
l2df.lua
distributed all-in-one engine version tolibs/l2df.lua
; - copy
l2df-engine/src
tolibs/l2df/
(renamesrc
tol2df
); - * make symbolic link
libs/l2df
pointing tol2df-engine/src
:- Windows:
mklink /d libs\l2df path\to\l2df-engine\src
- Linux / Mac:
ln -s libs/l2df path/to/l2df-engine/src
- Windows:
- copy
Run your preset's copy with LÖVE.
* Use this method only for development since it's not working when you'll try to "zip" / build your project.
MUGEN preset
Coming soon...