Difficult-Rocket/configs/sys_value/parts.json5
2021-04-02 23:31:04 +08:00

52 lines
1001 B
Plaintext

{
/*
'part id': [
[
'part name',
// part name can be reuse
'description',
// 描述
],
// about names and other
[
'float',
// mass
'bool',
// hidden in part list
'bool',
// hidden in mission (even thought that is not done yet)
'float'
// buoyancy(浮力) in the water
],
// about config
[
'xxx.png',
// texture file name
//可以为包含文件夹的 比如:./engine/xxx.png
[
'float',
'float'
]
// 贴图偏移量
// 指的是部件的碰撞箱左上角到贴图左上角的距离
],
// about texture
[
'float',
'float'
],
// 碰撞箱大小 (暂时只支持方形碰撞箱)
//坐标轴也是从左上开始
[
'特殊值(懒得写)'
]
],
*/
test1: [
['test1', '一个测试用部件'],
[1.0, false, 0.1],
['parts/Beam.png', [0.0, 0.0]],
[3.0, 2.0]
]
}