Table of Contents
Presets
There are a few types of presets used throughout LWT; They are as follows:
LivelyWebGLPreset
This is the preset used to store your different build configurations. this way, if you have different platforms youll be uploading to, you can create specific presets for those platforms. furthermore, you can import your presets into other projects, allowing for quick deployment.
You can easily create a new preset inside the Lively WebGl Editor; youll be prompted where youd like to save the preset.
These files should be saved outside of the WebGLTemplates folder.
A list of definitions are available for each property in the Lively WebGL Preset
MenuButtonsPreset
This is the preset used to store your different button configurations in the hamburger menu.
Just like the Lively webgl presets, these can be used in other projects with lively webgl template.
in order for the template to use the button preset, you need to include the menubuttonspreset into the livelywebglpreset under Hamburger Menu section.
Once youve included a menu buttons preset, after you save your webgl preset it stores your buttons into a json file.
If no menu button preset is used, no updates will take effect to the menu buttons, and it will use the already generated buttons in the json file.
AvatarPreset
These are used to create avatar lists for the supabase auth login, profile addon. The list of avatars must be urls of images already uploaded to a server. Supported types are png, jpg. The only acception is using dicebear SVG - the lively webgl template asset will convert those to png.
https://www.dicebear.com/playground/
