Galactica/content/ship.toml

59 lines
967 B
TOML
Raw Normal View History

2023-12-27 19:51:58 -08:00
[ship."Gypsum"]
2023-12-30 11:25:51 -08:00
sprite_texture = "ship::gypsum"
2023-12-26 22:21:18 -08:00
size = 100
2023-12-30 16:57:03 -08:00
mass = 1
hull = 200
2023-12-26 22:21:18 -08:00
2023-12-28 20:19:33 -08:00
engines = [{ x = 0.0, y = -1.05, size = 50.0 }]
guns = [{ x = 0.0, y = 1 }, { x = 0.1, y = 0.80 }, { x = -0.1, y = 0.80 }]
collision.points = [
#[rustfmt:skip],
[0.53921, 1.0000],
[0.53921, 0.29343],
[0.63725, 0.29343],
[0.63725, -0.03088],
[0.90019, -0.03088],
[0.90019, -0.61776],
[0.66666, -0.61776],
[0.66666, -0.86486],
[0.24509, -0.86486],
[0.24509, -1.00000],
[-0.24509, -1.00000],
[-0.24509, -0.86486],
[-0.66666, -0.86486],
[-0.66666, -0.61776],
[-0.90019, -0.61776],
[-0.90019, -0.03088],
[-0.63725, -0.03088],
[-0.63725, 0.29343],
[-0.53921, 0.29343],
[-0.53921, 1.0000],
]
# TODO: generate this automatically
collision.indices = [
#[rustfmt:skip],
[0, 1],
[1, 2],
[2, 3],
[3, 4],
[4, 5],
[5, 6],
[6, 7],
[7, 8],
[8, 9],
[9, 10],
[10, 11],
[11, 12],
[12, 13],
[13, 14],
[14, 15],
[15, 16],
[16, 17],
[17, 18],
[18, 19],
[19, 0],
]