get more stuff here:
zeranthium-extras -----> PreConfigured Themes
Assets can be found in the zeranthium-extras repo. You can download the assets using this command:
git clone --depth=1 https://github.com/powermode-zeranthium/zeranthium-extras-vol1
git clone --depth=1 https://github.com/powermode-zeranthium/zeranthium-extras-vol2
git clone --depth=1 https://github.com/powermode-zeranthium/zeranthium-extras-vol3
zeranthium-extras ---> chicken Theme
zeranthium-extras ---> fire1 Theme
Customizing your own theme pack
basically you need a folder with a manifest.json file, with sibling folders containing the assets the manifest.json file will point to:
my_theme_folder
----manifest.json
----SOUND
----sound1.mp3
----sound2.mp3
----sound3.mp3
----LOCKED_LAYER
----layer_foo
----- 000.png
----- 001.png
...
----- 099.png
----MULTI_LAYER
----layer_bar
----- 000.png
----- 001.png
...
----- 099.png
Once the manifest.json file is created with the assets, from inside the plugin settings you can open that custom pack file. The plugin will autoload all configurations specified in the manifest.
Here is an example manifest.json file for a theme that provides settings for SOUND, MULTI_LAYER, and LOCKED_LAYER options. See individual settings section for Option specific details.
{
"configsToLoad": ["SOUND","MULTI_LAYER", "LOCKED_LAYER"],
"configSettings": {
"SOUND": {
"tableData": [
{"weight": 20, "customPath": "./SOUND/sound1.mp3"},
{"weight": 20, "customPath": "./SOUND/sound2.mp3"},
{"weight": 20, "customPath": "./SOUND/sound3.mp3"},
{"weight": 20, "customPath": "./SOUND/sound4.mp3"}
]
},
"LOCKED_LAYER": {
"tableData": [
{"customPath":"./LOCKED_LAYER/layer_foo", "alpha":1, "offset":20,
"scale":1.0, "val2": 3, "enabled":true,
"speedRate":2, "isCyclic": true}
]
},
"MULTI_LAYER": {
"tableData": [
{"customPath":"./MULTI_LAYER/layer_bar", "alpha":1, "offset":20,
"scale":1.0, "enabled":false,"speedRate":2, "isCyclic": true}
]
}
}
}
Option Settings
LockedLayerConfig
val1: unused
val2: screenposition
Stretch -> 0
Top/Right -> 1
Top/Left -> 2
Bot/Right -> 3
Bot/Left -> 4
val3: unused
"LOCKED_LAYER": {
"tableData": [
{"customPath":"./lockedlayer1",
"alpha":1, "scale":1.0,
"val2": 3,
"enabled":true,"speedRate":2, "isCyclic": true},
{"customPath":"./lockedlayer2", ...}
]
}
MultiLayerChanceConfig
val1: chance of spawn 1-1000
val2: unused
val3: unused
fromBottom: used as a flag to spawn from bottom or top
"MULTI_LAYER_CHANCE": {
"tableData": [
{"customPath":"./MULTI_LAYER/layer1",
"alpha":1,"scale":1.0,
"val1":1000,
"fromBottom": true
"enabled":false, "speedRate":2 },
{"customPath":"./MULTI_LAYER/layer2", ... }
{"customPath":"./MULTI_LAYER/layer3", ... }
]
}
CopyPasteVoidConfig
//TODO
DrosteConfig
val1: Offset for each new expanding layer (10-400)
val2:
val3:
"DROSTE": {
"tableData": [
{"customPath":"./DROSTE/layer1",
"alpha":1, "scale":1.0,
"val1":20,
"enabled":true,"speedRate":2, "isCyclic": true},
{"customPath":"./DROSTE/layer2", ...}
]
}
TapAnimConfig
val1: yoffset from caret
val2: xoffset from caret
val3: unused
"TAP_ANIM": {
"tableData": [
{"customPath":"./TAP_ANIM/layer1", "alpha":1,
"val1":15,
"val2":-30,
"scale":0.8,
"enabled":true,"speedRate":4, "isCyclic": true
}
]
}
MultiLayerConfig
val1: unused
val2: max particles 1-10
val3: unused
"MULTI_LAYER": {
"moveWithCaretEnabled": true,
"moveSpeed": 0.1,
"tableData": [
{"customPath":"./MULTI_LAYER/layer1",
"alpha":1,"scale":1.0,
"val2":10,
"enabled":false, "speedRate":2, "isCyclic": true},
{"customPath":"./MULTI_LAYER/layer2", ... }
{"customPath":"./MULTI_LAYER/layer3", ... }
]
}
LinkerConfig
val1: Offset to start on links
val2: Repeat every N links
val3: unused
"LINKER":{
"tracerEnabled": false,
"isCyclicEnabled" false,
"distanceToCenter": 290,
"tableData":[
{
"defaultPath": "./linker1/",
"val2": 100,
"isCyclic": false,
"alpha": 1,
"val1": 1,
"scale": 0.3,
"enabled": true,
"speedRate": 2
}
]
}
LizardConfig
val1: weight for spawn chance (1-1000)
val2: unused
val3: unused
"LIZARD": {
"tableData": [
{"customPath":"./lizard",
"alpha":1,
"val1":2,
"scale":0.4,
"enabled":true,
"speedRate":3},
{"customPath":"./lizard2", ...},
{"customPath":"./lizard3", ...}
]
}
LanternConfig
val1: Offset to start on links
val2: Repeat every N links
val3: max length of links per sprite type
"LANTERN":{
"maxParticles": 40,
"tracerEnabled": false,
"isCyclicEnabled": false,
"tableData":[
{
"defaultPath": "./lantern1/",
"isCyclic": false,
"alpha": 1,
"val1": 1,
"val2": 2,
"val3": 12,
"scale": 0.3,
"enabled": true,
"speedRate": 2
}
]
}
SoundConfig
"SOUND": {
"tableData": [
{"weight": 20, "customPath": "./SOUND/sound1.mp3"},
{"weight": 20, "customPath": "./SOUND/sound2.mp3"},
{"weight": 20, "customPath": "./SOUND/sound3.mp3"},
{"weight": 20, "customPath": "./SOUND/sound4.mp3"}
]
}
TextCompletionSoundConfig
"TEXT_COMPLETION_SOUND": {
"tableData": [
{"enabled": true, "soundExtra1": "my_word_1", "customPath": "./SOUND/sound1.mp3"},
{"enabled": true, "soundExtra1": "spaced words 20", "customPath": "./SOUND/sound2.mp3"},
{"enabled": false, "soundExtra1": "functionName500", "customPath": "./SOUND/sound3.mp3"},
{"enabled": true, "soundExtra1": "import", "customPath": "./SOUND/sound4.mp3"}
]
}
Action Sound
Todo