feat(aklive2d): update content processor to support multiple custom functions and config template

This commit is contained in:
Haoyu Xu
2023-01-02 05:30:06 -05:00
parent 68581ed0c4
commit dc52417f2e
25 changed files with 216 additions and 291 deletions

View File

@@ -8,19 +8,13 @@ _operator_settings.js:
viewport_left: 2
viewport_right: 3
viewport_top: 10
invert_filter: true
index.html:
fallback_name: char_1014_nearl2_2
id: char_1014_nearl2
operator_logo: logo_kazimierz
title: 'Arknights: Nearl the Radiant Knight - 明日方舟:耀骑士临光'
version: ${func:get_version()}
project.json:
description: 'Arknights: Nearl the Radiant Knight Live 2D\n明日方舟耀骑士临光 Live 2D\nThe model is extracted from game with Spine support.\n模型来自游戏内提取支持Spine\nPlease set your FPS target in Wallpaper Engine > Settings > Performance > FPS\n请在 Wallpaper Engine > 设置 > 性能 > FPS 下设置FPS\n\nLive preview on: https://arknights.halyul.dev/nearl\nGithub: https://github.com/Halyul/aklive2d'
title: ${var:index.html->title}
ui_logo_opacity: ${var:_operator_settings.js->opacity}
ui_logo_ratio: 61.8
ui_operator_logo: 'true'
ui_position_padding_bottom: ${var:_operator_settings.js->viewport_bottom}
ui_position_padding_left: ${var:_operator_settings.js->viewport_left}
ui_position_padding_right: ${var:_operator_settings.js->viewport_right}
ui_position_padding_top: ${var:_operator_settings.js->viewport_top}
project.json: !include config/_project.json.yaml
link: nearl
type: operator