PPLAF-animation-generator is used to create animations, that consist of multiple files in the way, PPLAF animation
lib can use them.
- Download archive and unpack it.
- Run executable file and insert path of animation folder or drag and drop it instead.
- Enter the path where the animation folder in your level will be located.
- If everything is correct, output folder will be created with:
_.lua
, containing all parametres and main function_type.lua
, containing information, that PPLAFanimation
lib needs- frames, that will be generated by main function during game
PPLAF-animation-generator requires specific template - folder, containing:
param.lua
- must have 3 parameters:frame_amount
,file_amount
,frames_per_file
.origin.lua
- used to generate certain data, that can be used to generate frames(this is the only way to make meshes, that can be random at the beginning, work properly). You must return every generated table you need at the end of the file, or they won't be added in output file.main.lua
- contains function, used to generate frames. You must return function at the end of the file. Files are loaded in orderparam.lua
->origin.lua
->main.lua
. You can add variables in any file, but onlyparam.lua
andmain.lua
will be copied to output file.