head_001.png is drawn with face pointing +X (right) at rot=0, but the look-at math assumes sprite-top (-Y) is forward. Without compensation, head visually appears 90° clockwise off when math says 'point at mouse'. sprite_rot=-90 on head bone aligns sprite-top with bone-forward at render time. Body, shoulder, and arm sprites already match the sprite-top=forward convention so no sprite_rot needed there. Also bumps puppet dep to 0.3.3 and removes the temporary debug print.
22 lines
765 B
Plaintext
22 lines
765 B
Plaintext
{
|
|
"id": "vagrant-skeleton",
|
|
"version": "0.3.0",
|
|
"kind": "module",
|
|
"api": "^0.1",
|
|
"ci_frames": 60,
|
|
"entry_point": "init.lua",
|
|
"asset_aliases": {
|
|
"player": "lib-asset.prototype-subterrain",
|
|
"tiles": "lib-asset.prototype-subterrain",
|
|
"world": "lib-asset.prototype-subterrain"
|
|
},
|
|
"deps": [
|
|
{"id": "lib-core.input", "version": "0.4.0"},
|
|
{"id": "lib-core.camera", "version": "0.3.0"},
|
|
{"id": "lib-core.render", "version": "0.1.0"},
|
|
{"id": "lib-core.maps", "version": "0.1.2"},
|
|
{"id": "lib-core.puppet", "version": "0.3.3"},
|
|
{"id": "lib-asset.prototype-subterrain", "version": "0.1.1"}
|
|
]
|
|
}
|