@3d-dice/fui 中文文档教程
FUI
出色的用户界面
Purpose
FUI 提供了一个前端组件库,可与 Dice Box 一起使用。 这些模块被设计为独立的,彼此不依赖。 只添加你想要的模块到你的骰子滚筒。 有关如何使用特定模块的说明,请参阅该模块目录下的自述文件。
Modules
| 模组 | 说明 | |-|-| |显示结果|根据表示最终结果的JSON对象显示最终的掷骰结果| |Advanced Roller|渲染和输入字段并启用对完整Roll20 骰子规格| |Box Controls|创建带有滑块的控制框以动态调整骰子框配置|
TODO's
|模块|描述|状态| |-|-|-| |主题选择器|选择要使用的骰子纹理|WIP| |颜色选择器|使用颜色选择器小部件将骰子设置为特定颜色|WIP| |骰子选择器|用于快速选择 1-5 个特定类型骰子的 UI 菜单|TODO| |掷骰子历史|最近掷骰子的简短历史|TODO| |Roll Favorites|保存您最喜欢的骰子的地方|TODO| |骰子分布|以图表的形式显示随时间滚动的内容|TODO| |选项滑块|调整物理世界的用户界面|完成|
FUI
Fantastic User Interface
Purpose
FUI provides a library of front-end components for use with Dice Box. These are modules are designed to be stand-alone without dependencies on each other. Add only the modules you want to your dice roller. For instructions on how to use a specific module, see the readme file under that module's directory.
Modules
| Module | Description | |-|-| |Display Results|Displays the final roll results based on the JSON object representing the final results| |Advanced Roller|Renders and input field and enables support for the full Roll20 Dice Specification| |Box Controls|Creates a control box with sliders to adjust the dice box configurations dynamically|
TODO's
|Module|Description|Status| |-|-|-| |Theme picker|Select the dice texture to use|WIP| |Color picker|Set the dice to a specific color using a color picker widget|WIP| |Dice Picker|UI menu to quickly select 1-5 dice of a specific type|TODO| |Roll History|A short history of recent dice rolls|TODO| |Roll Favorites|A place to save your favorite dice rolls|TODO| |Dice Distribution|Shows what's been rolled over time as a chart|TODO| |Options slider|UI to adjust physics world|Done|