Asset-aliases now reference the three baked subterrain atlas-sets (subterrain_player, subterrain_tiles, subterrain_world) rather than the legacy indexed pack labels. The rig asset_pack updates to subterrain_player and each bone gains a calibrated anchor offset. Furniture-draw loads the subterrain_world atlas once and renders via source-rect draw_sprite_transform. The map tilemap field updates to subterrain_tiles to match the new atlas-id. Dep-bumps for lib-core.maps 0.3.0, lib-core.puppet 0.5.0, and lib-asset.prototype-subterrain 0.2.0. Replace r_lib.draw_map with draw_map_pre/post_entities. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
50 lines
2.1 KiB
JSON
50 lines
2.1 KiB
JSON
{
|
|
"id": "vagrant_test",
|
|
"tilemap": "subterrain_tiles",
|
|
"size": { "w": 20, "h": 20 },
|
|
"tiles": [
|
|
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
|
|
4,1,1,1,1,1,1,2,2,2,2,1,1,1,1,1,1,1,1,4,
|
|
4,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,1,4,
|
|
4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,4,
|
|
4,1,1,1,1,1,3,3,1,1,1,1,1,1,1,1,1,1,1,4,
|
|
4,1,1,1,1,1,3,3,1,1,1,1,1,1,2,1,1,1,1,4,
|
|
4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,4,
|
|
4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,4,
|
|
4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,4,
|
|
4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,4,
|
|
4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,4,
|
|
4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,4,
|
|
4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,4,
|
|
4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,4,
|
|
4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