20 lines
855 B
JSON
20 lines
855 B
JSON
{
|
||
"_art": "texture/frameWidth/frameHeight/frame = the spritesheet (frame 0 = the starter ship, 256×256 frames; the ship is drawn centered in its frame and rotates about that center). artFacing = the direction the art points in its frame — the code applies a constant render offset so heading math stays identical. If the sheet is missing, the built-in procedural dart is drawn instead (it faces east). size = hull length in world px (also its collision 'diameter'); scale multiplies it (1 = as designed).",
|
||
"texture": "assets/images/ships-player.png",
|
||
"frameWidth": 256,
|
||
"frameHeight": 256,
|
||
"frame": 0,
|
||
"artFacing": "north",
|
||
"size": 46,
|
||
"color": "#dfe7ff",
|
||
"cockpitColor": "#41c7ff",
|
||
"scale": 1,
|
||
"thrust": 900,
|
||
"maxSpeed": 480,
|
||
"drag": 2.4,
|
||
"rotSpeed": 10,
|
||
"brakeDistance": 260,
|
||
"arriveRadius": 8,
|
||
"arriveSpeed": 50
|
||
}
|