{"id":5879,"date":"2021-09-30T13:42:28","date_gmt":"2021-09-30T04:42:28","guid":{"rendered":"https:\/\/www.sria.co.jp\/blog\/?p=5879"},"modified":"2021-12-08T13:25:03","modified_gmt":"2021-12-08T04:25:03","slug":"5879","status":"publish","type":"post","link":"https:\/\/www.sria.co.jp\/blog\/2021\/09\/5879\/","title":{"rendered":"JS\u596e\u95d8\u8a18\u30102D\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u88fd\u4f5c\u30c4\u30fc\u30eb Spine\u3068JavaScript\u3011"},"content":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3002\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u8fbb\u3067\u3059\u3002<br \/>\n\u3060\u3044\u3076\u4e45\u3005\u306e\u66f4\u65b0\u3067\u3059\u306d\u3002\u524d\u56de\u306b\u4f55\u3092\u66f8\u3044\u305f\u306e\u304b\u5fd8\u308c\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002\u3002<\/p>\n<p>\u3055\u3066\u3001\u6c17\u3092\u53d6\u308a\u76f4\u3057\u3066\u3001\u4eca\u56de\u306e\u30c6\u30fc\u30de\u306f<strong>2D\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u88fd\u4f5c\u30c4\u30fc\u30eb Spine\u3068JavaScript<\/strong>\u3067\u3059\u3002<br \/>\n\u3053\u306e2\u3064\u3092\u4f7f\u3063\u3066\u3001Web\u30da\u30fc\u30b8\u306ecanvas\u4e0a\u306b2D\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u8868\u793a\u3057\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h2>canvas\u4e0a\u3067\u306espine\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u30c7\u30e2<\/h2>\n<p>\u3055\u3066\u3001\u4eca\u56de\u306e\u6210\u679c\u7269\u3067\u3059\u304c\u2026\u3001\u672c\u30da\u30fc\u30b8\u53f3\u4e0b\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<br \/>\n\u6771\u5317\u305a\u3093\u5b50\u3061\u3083\u3093\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002<br \/>\n\uff08IE11\u7b49\u306e\u53e4\u3044\u30d6\u30e9\u30a6\u30b6\u3067\u306f\u3001\u8868\u793a\u3055\u308c\u306a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u2026\u3002\u3054\u3081\u3093\u306a\u3055\u3044\u3002\uff09<\/p>\n<p>\u3053\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306f<a href=\"https:\/\/zunko.jp\/\" rel=\"noopener\" target=\"_blank\">\u6771\u5317\u305a\u3093\u5b50 \u516c\u5f0fHP<\/a>\u306b\u3042\u3063\u305f\u30a4\u30e9\u30b9\u30c8\u7d20\u6750\u3092\u5143\u306b\u3001Spine\u3067\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u3064\u3051\u305f\u30e2\u30ce\u3067\u3059\u3002<br \/>\n\u4f7f\u3063\u305f\u7d20\u6750\u306f\u30b3\u30c1\u30e9\u2193<br \/>\n<img src=\"https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/09\/zzm_seimon_b.png\" alt=\"\u6771\u5317\u305a\u3093\u5b50\u3061\u3083\u3093 \u30a4\u30e9\u30b9\u30c8\" width=\"200\" class=\"aligncenter size-full wp-image-5914\" srcset=\"https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/09\/zzm_seimon_b.png 800w, https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/09\/zzm_seimon_b-300x300.png 300w, https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/09\/zzm_seimon_b-150x150.png 150w, https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/09\/zzm_seimon_b-768x768.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>\u3053\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306f\u3001gif\u30a2\u30cb\u30e1\u3067\u3082\u306a\u304f\u3001video\u30bf\u30b0\u306e\u52d5\u753b\u3067\u3082\u306a\u304f\u3001css\u30b9\u30d7\u30e9\u30a4\u30c8\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3067\u3082\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n<strong>canvas\u4e0a\u3067\u52d5\u3044\u3066\u3044\u308b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3067\u3059\uff01<\/strong><\/p>\n<p>canvas\u4e0a\u3067\u306e\u8868\u793a\u3067\u3059\u306e\u3067\u3001\u3082\u3061\u308d\u3093\u3001JavaScript\u3067\u5236\u5fa1\u3067\u304d\u307e\u3059\u3002<br \/>\n\u8a66\u3057\u306b\u3001\u305a\u3093\u5b50\u3061\u3083\u3093\u3092\u30af\u30ea\u30c3\u30af\uff08\u30b9\u30de\u30db\u3067\u3054\u89a7\u306e\u65b9\u306f\u30bf\u30c3\u30d7\uff09\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304c\u5207\u308a\u66ff\u308f\u308a\u307e\u3059\u3002<br \/>\n\u3055\u3089\u306b\u3082\u3046\u4e00\u5ea6\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u5143\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306b\u623b\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u3088\u3046\u306b\u4efb\u610f\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u5236\u5fa1\u3067\u304d\u308b\u306e\u3067\u3001Spine\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3068JavaScript\u3092\u4f7f\u3048\u3070\u3001Web\u30da\u30fc\u30b8\u306e\u30ea\u30c3\u30c1\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3084\u30d6\u30e9\u30a6\u30b6\u30b2\u30fc\u30e0\u306a\u3069\u306e\u6f14\u51fa\u306b\u5927\u304d\u306a\u82b1\u3092\u6dfb\u3048\u3089\u308c\u307e\u3059\u3002<br \/>\n\u5922\u304c\u5e83\u304c\u308a\u307e\u3059\u306d\uff01<\/p>\n<p>\u3053\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306f<a href=\"https:\/\/github.com\/sriaTsuji\/public\/tree\/main\/canvas07_spine\" rel=\"noopener\" target=\"_blank\">\u30b3\u30c1\u30e9<\/a>\u3067\u3059\u3002<br \/>\n<a href=\"https:\/\/pixijs.io\/examples\/#\/plugin-spine\/spineboy-pro.js\" rel=\"noopener\" target=\"_blank\">PixiJS \u30b5\u30f3\u30d7\u30eb\u306eSpineBoy\u306e\u30b3\u30fc\u30c9<\/a>\u3092\u53c2\u8003\u306b\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>Spine\u3068\u306f<\/h2>\n<p><a href=\"http:\/\/ja.esotericsoftware.com\/\" rel=\"noopener\" target=\"_blank\">Spine<\/a>\u306f\u3001Esoteric Software\u793e\u88fd\u306e2D\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u88fd\u4f5c\u30bd\u30d5\u30c8\u3067\u3001\u4e3b\u306b\u30b2\u30fc\u30e0\u75282D\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306b\u7279\u5316\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u30ad\u30e3\u30e9\u30af\u30bf\u30fc\u306e\u9aa8\u7d44\u307f\u3068\u306a\u308b<strong>&#8220;\u30dc\u30fc\u30f3&#8221;<\/strong>\u3092\u30a4\u30e9\u30b9\u30c8\u306b\u7d44\u307f\u8fbc\u307f\u3001\u30dc\u30fc\u30f3\u3092\u52d5\u304b\u3059\u3053\u3068\u3067\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u88fd\u4f5c\u3057\u307e\u3059\u3002<\/p>\n<div id=\"attachment_5990\" style=\"width: 1010px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/09\/image03.png\"><img aria-describedby=\"caption-attachment-5990\" loading=\"lazy\" src=\"https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/09\/image03.png\" alt=\"Spine\u7de8\u96c6\u753b\u9762\" width=\"1000\" height=\"400\" class=\"size-full wp-image-5990\" srcset=\"https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/09\/image03.png 1000w, https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/09\/image03-300x120.png 300w, https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/09\/image03-768x307.png 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/a><p id=\"caption-attachment-5990\" class=\"wp-caption-text\">Spine\u7de8\u96c6\u753b\u9762<\/p><\/div>\n<p>\u4ee5\u4e0b\u306e\u52d5\u753b\u306e\u77e2\u53701\u30641\u3064\u304c\u30dc\u30fc\u30f3\u3067\u3059\u3002\uff08\u9078\u629e\u4e2d\u306e\u30dc\u30fc\u30f3\u306f\u6c34\u8272\u3067\u8868\u793a\u3055\u308c\u307e\u3059\u3002\uff09<br \/>\n\u52d5\u753b\u3067\u3084\u3063\u3066\u3044\u308b\u3088\u3046\u306b\u3001\u30dc\u30fc\u30f3\u3092\u52d5\u304b\u3059\u3068\u30dc\u30fc\u30f3\u306b\u7d10\u4ed8\u3044\u305f\u30a4\u30e9\u30b9\u30c8\u3082\u4e00\u7dd2\u306b\u52d5\u304d\u307e\u3059\u3002<br \/>\n\u3053\u3046\u3057\u3066\u30ad\u30fc\u30d5\u30ec\u30fc\u30e0\u3054\u3068\u306b\u5404\u30dc\u30fc\u30f3\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u304d\u3001\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u88fd\u4f5c\u3057\u3066\u3044\u304f\u308f\u3051\u3067\u3059\u3002<\/p>\n<p>\n<div style=\"width: 700px;\" class=\"wp-video\"><!--[if lt IE 9]><script>document.createElement('video');<\/script><![endif]-->\n<video class=\"wp-video-shortcode\" id=\"video-5879-1\" width=\"700\" height=\"360\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/09\/spine-zunko.mp4?_=1\" \/><a href=\"https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/09\/spine-zunko.mp4\">https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/09\/spine-zunko.mp4<\/a><\/video><\/div><br \/>\n<\/p>\n<p>\u3053\u306e\u4ed6\u306b\u3082\u3001\u30e1\u30c3\u30b7\u30e5\u6a5f\u80fd\u3084\u30a4\u30f3\u30d0\u30fc\u30b9\u30ad\u30cd\u30de\u30c6\u30a3\u30af\u30b9\u306a\u3069\u3001Spine\u306b\u306f\u69d8\u3005\u306a\u6a5f\u80fd\u304c\u5099\u308f\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001Spine\u306f\u516c\u5f0f\u3088\u308a\u69d8\u3005\u306a\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u5411\u3051\u306e\u30e9\u30f3\u30bf\u30a4\u30e0\u304c\u63d0\u4f9b\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n<a href=\"http:\/\/ja.esotericsoftware.com\/spine-runtimes\" rel=\"noopener\" target=\"_blank\">Spine\u30e9\u30f3\u30bf\u30a4\u30e0\u4e00\u89a7<\/a><\/p>\n<p>\u4eca\u56de\u306e\u305a\u3093\u5b50\u3061\u3083\u3093\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306b\u306f\u3001<a href=\"https:\/\/pixijs.com\/\" rel=\"noopener\" target=\"_blank\">PixiJS<\/a>\u7528\u306e<a href=\"https:\/\/github.com\/pixijs\/spine\" rel=\"noopener\" target=\"_blank\">\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u88fdSpine\u30e9\u30f3\u30bf\u30a4\u30e0<\/a>\u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u4ed6\u306b\u3082<strong>three.js<\/strong>\u3084<strong>Phaser<\/strong>\u5411\u3051\u306eJavaScript\u30e9\u30f3\u30bf\u30a4\u30e0\u3082\u63c3\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>Spine\u88fd\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092Web\u30da\u30fc\u30b8\u3078\u7d44\u307f\u8fbc\u3080\u65b9\u6cd5<\/h2>\n<p>Spine\u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u306f\u3001\u5148\u9054\u306e\u826f\u8cea\u306a\u89e3\u8aac\u8a18\u4e8b\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u305d\u3061\u3089\u306b\u4efb\u305b\u308b\u4e8b\u306b\u3057\u3066\u2026\u3002<br \/>\n\u4eca\u56de\u306f\u3001Spine\u88fd\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092Web\u30da\u30fc\u30b8\u3078\u7d44\u307f\u8fbc\u3080\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<br \/>\n\u5177\u4f53\u7684\u306b\u306f\u3001Spine\u3067\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u88fd\u4f5c\u3057\u305f\u5f8c\u306b\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u2192Spine JavaScript\u30e9\u30f3\u30bf\u30a4\u30e0\u3092\u4f7f\u3063\u3066\u3001canvas\u306b\u7d44\u307f\u8fbc\u3093\u3067\u8868\u793a\u3059\u308b\u3068\u3053\u308d\u307e\u3067\u3067\u3059\u3002<br \/>\n\u203bSpine\u306f\u30d0\u30fc\u30b8\u30e7\u30f34.0.37\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u8a73\u7d30\u306a\u624b\u9806\u306f\u4ee5\u4e0b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li>Spine\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u30a8\u30af\u30b9\u30dd\u30fc\u30c8<\/li>\n<li>Spine JavaScript\u30e9\u30f3\u30bf\u30a4\u30e0\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/li>\n<li>Spine\u306e\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u683c\u7d0d\u3059\u308b<\/li>\n<li>JavaScript\uff08TypeScript\uff09\u3067\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u51e6\u7406\u3092\u8a18\u8ff0<\/li>\n<li>\u5b9f\u969b\u306b\u8868\u793a\u3057\u3066\u307f\u308b<\/li>\n<\/ol>\n<h3>Spine\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u30a8\u30af\u30b9\u30dd\u30fc\u30c8<\/h3>\n<p>Spine\u3067\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u88fd\u4f5c\u304c\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3089\u3001\u88fd\u4f5c\u3057\u305f\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>Spine\u7de8\u96c6\u753b\u9762\u5de6\u4e0a\u306e\u300cSpine PRO\u300d\u306e\u30ed\u30b4\u3092\u62bc\u4e0b\u3057\u307e\u3059\u3002<br \/>\n\u30e1\u30cb\u30e5\u30fc\u304c\u5c55\u958b\u3055\u308c\u307e\u3059\u306e\u3067\u3001\u305d\u306e\u4e2d\u306e\u300c\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30d1\u30cd\u30eb\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<div id=\"attachment_5933\" style=\"width: 1010px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/09\/image01-1.png\"><img aria-describedby=\"caption-attachment-5933\" loading=\"lazy\" src=\"https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/09\/image01-1.png\" alt=\"Spine \u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u30d1\u30cd\u30eb\" width=\"1000\" height=\"400\" class=\"size-full wp-image-5933\" srcset=\"https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/09\/image01-1.png 1000w, https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/09\/image01-1-300x120.png 300w, https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/09\/image01-1-768x307.png 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/a><p id=\"caption-attachment-5933\" class=\"wp-caption-text\">Spine \u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u30d1\u30cd\u30eb<\/p><\/div>\n<p>\u4e0a\u8a18\u30ad\u30e3\u30d7\u30c1\u30e3\u306e\u901a\u308a\u3001\u300c\u30c7\u30fc\u30bf\u300d\u306f\u300cJSON\u300d\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n\u300cJSON\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u300d\u306e\u9805\u76ee\u3082\u540c\u3058\u3088\u3046\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u7d42\u3048\u305f\u3089\u3001\u30d1\u30cd\u30eb\u53f3\u4e0b\u306e<strong>\u300c\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u300d<\/strong>\u30dc\u30bf\u30f3\u3092\u62bc\u4e0b\u3057\u307e\u3059\u3002<\/p>\n<p>\u30dc\u30bf\u30f3\u62bc\u4e0b\u5f8c\u306b\u3001<strong>.json<\/strong>\u3001<strong>.png<\/strong>\u3001<strong>.atlas<\/strong>\u306e3\u3064\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u3002<br \/>\n\u3053\u308c\u3089\u304c<strong>Spine\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u30d5\u30a1\u30a4\u30eb<\/strong>\u3067\u3059\u3002<br \/>\n3\u3064\u30671\u30bb\u30c3\u30c8\u3067\u3059\u306e\u3067\u3001\u524a\u9664\u3057\u305f\u308a\u305b\u305a\u306b\u4e00\u3064\u306b\u307e\u3068\u3081\u3066\u7ba1\u7406\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>Spine JavaScript\u30e9\u30f3\u30bf\u30a4\u30e0\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>\u6b21\u306bSpine JavaScript\u30e9\u30f3\u30bf\u30a4\u30e0\u3092npm\uff08yarn\uff09\u7d4c\u7531\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\n\u6700\u7d42\u7684\u306bJS\u3092\u30d0\u30f3\u30c9\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001JavaScript\u306e\u30d0\u30f3\u30c9\u30eb\u30c4\u30fc\u30eb\u3082\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u4f8b\u3068\u3057\u3066\u3001<a href=\"https:\/\/github.com\/sriaTsuji\/public\/tree\/main\/canvas07_spine\" rel=\"noopener\" target=\"_blank\">\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9<\/a>\u3092\u53c2\u8003\u306b\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n\u4e0a\u8a18\u3067\u306f\u3001webpack\u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3055\u3066\u3001\u4eca\u56de\u306f<a href=\"https:\/\/pixijs.com\/\" rel=\"noopener\" target=\"_blank\">PixiJS<\/a>\u7528\u306e<a href=\"https:\/\/github.com\/pixijs\/spine\" rel=\"noopener\" target=\"_blank\">\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u88fdSpine\u30e9\u30f3\u30bf\u30a4\u30e0<\/a>\u3092\u4f7f\u3063\u3066\u3044\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u7528\u610f\u304c\u3067\u304d\u307e\u3057\u305f\u3089\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre>\nyarn add pixi.js pixi-spine\n<\/pre>\n<h3>\u3061\u3087\u3063\u3068\u5bc4\u308a\u9053\u2026\u3002PixiJS\u3068\u306f\uff1f<\/h3>\n<p>\u5148\u306b\u9032\u3080\u524d\u306b\u2026\u3001\u4eca\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f<a href=\"https:\/\/pixijs.com\/\" rel=\"noopener\" target=\"_blank\">PixiJS<\/a>\u306b\u3064\u3044\u3066\u3001\u30b5\u30e9\u30c3\u3068\u89e3\u8aac\u3057\u307e\u3059\u3002<br \/>\n<a href=\"https:\/\/pixijs.com\/\" rel=\"noopener\" target=\"_blank\">PixiJS<\/a>\u306f\u3001JavaScript \u88fd\u306e2D\u63cf\u753b\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3001\u5185\u90e8\u3067\u306fWebGL\u304c\u4f7f\u308f\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n\u516c\u5f0f\u30b5\u30a4\u30c8\u3067 Fast \u3068\u8b33\u3063\u3066\u3044\u308b\u3088\u3046\u306b\u3001\u8efd\u91cf\u306a\u52d5\u4f5c\u304c\u9b45\u529b\u7684\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002<br \/>\n\u30bf\u30c3\u30c1\u3084\u30af\u30ea\u30c3\u30af\u64cd\u4f5c\u306e\u30a4\u30d9\u30f3\u30c8\u3092\u6bd4\u8f03\u7684\u7c21\u5358\u306b\u6271\u3048\u308b\u70b9\u304c\u512a\u79c0\u3067\u3057\u3066\u3001\u500b\u4eba\u7684\u306b\u3082\u91cd\u5b9d\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u30da\u30fc\u30b8\u53f3\u4e0b\u306e\u305a\u3093\u5b50\u3061\u3083\u3093\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u304c\u3001\u670d\u3084\u9aea\u304c\u52d5\u3044\u305f\u5f8c\u306e\u4f55\u3082\u306a\u3044\u7a7a\u767d\u90e8\u5206\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3082\u53cd\u5fdc\u3057\u307e\u305b\u3093\u3002<br \/>\n\u3057\u3063\u304b\u308a\u3068\u305a\u3093\u5b50\u3061\u3083\u3093\u306e\u753b\u50cf\u3092\u30af\u30ea\u30c3\u30af\u3057\u306a\u3044\u3068\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304c\u5207\u308a\u66ff\u308f\u3089\u306a\u3044\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3053\u3046\u3044\u3063\u305f\u53b3\u5bc6\u306a\u30af\u30ea\u30c3\u30af\u5224\u5b9a\u304c\u3067\u304d\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u306e\u3067\u3001\u5927\u5909\u4fbf\u5229\u3067\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001PixiJS\u3068PixiJS\u7528Spine JavaScript\u30e9\u30f3\u30bf\u30a4\u30e0\u3092\u4f7f\u7528\u3057\u307e\u3059\u304c\u3001\u5225\u306bPixiJS\u3092\u4f7f\u308f\u306a\u3044\u3068\u52d5\u4f5c\u3057\u306a\u3044\u2026\u306a\u3093\u3066\u4e8b\u306f\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n\u305f\u3060\u5358\u7d14\u306b\u3001\u79c1\u304cPixiJS\u3092\u89e6\u3063\u305f\u4e8b\u304c\u3042\u308a\u3001\u3061\u3087\u3046\u3069JavaScript\u30e9\u30f3\u30bf\u30a4\u30e0\u304c\u3042\u3063\u305f\u306e\u3067\u4f7f\u3063\u305f\u3060\u3051\u3067\u3059\u3002<br \/>\n\u7d20\u306eSpine JavaScript\u30e9\u30f3\u30bf\u30a4\u30e0\u3092\u4f7f\u3063\u3066\u52d5\u4f5c\u3055\u305b\u308b\u4e8b\u306f\u53ef\u80fd\u3067\u3059\u306e\u3067\u3001\u304a\u4f7f\u3044\u306e\u74b0\u5883\u306b\u5408\u308f\u305b\u3066\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>Spine\u306e\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u683c\u7d0d\u3059\u308b<\/h3>\n<p>\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3057\u3066\u3044\u305f3\u30d5\u30a1\u30a4\u30eb\u3092\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u7d44\u307f\u8fbc\u307f\u307e\u3057\u3087\u3046\u3002<br \/>\n\u3053\u306e\u5f8c\u306b\u3001json\u3092JavaScript\u3067\u8aad\u307f\u8fbc\u3080\u306e\u3067\u3001\u5206\u304b\u308a\u3084\u3059\u3044\u5834\u6240\u306b\u683c\u7d0d\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<br \/>\n<a href=\"https:\/\/github.com\/sriaTsuji\/public\/tree\/main\/canvas07_spine\" rel=\"noopener\" target=\"_blank\">\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b8\u30a7\u30af\u30c8<\/a>\u3067\u306f\u3001\u51fa\u529b\u5148\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff08out\uff09\u306b\u683c\u7d0d\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u6ce8\u610f\u70b9\u3068\u3057\u3066.json\u3001.png\u3001.atlas\u306f\u3001<strong>\u5fc5\u305a\u540c\u3058\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u683c\u7d0d\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/strong><br \/>\n\u3069\u308c\u304b1\u3064\u3067\u3082\u6b20\u3051\u3066\u3057\u307e\u3063\u305f\u308a\u3001\u30d1\u30b9\u304c\u9593\u9055\u3063\u3066\u3044\u305f\u308a\u3059\u308b\u3068\u3001\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304c\u6b63\u3057\u304f\u8868\u793a\u3055\u308c\u307e\u305b\u3093\u3002<\/p>\n<h3>JavaScript\uff08TypeScript\uff09\u3067\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u51e6\u7406\u3092\u8a18\u8ff0<\/h3>\n<p>\u3067\u306f\u3001Spine\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u5236\u5fa1\u3059\u308bJavaScript\uff08TypeScript\uff09\u3092\u7528\u610f\u3057\u307e\u3059\u3002<br \/>\n\u4ee5\u4e0b\u304c\u3001\u30e1\u30a4\u30f3\u3068\u306a\u308b\u30b3\u30fc\u30c9\u5168\u6587\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/github.com\/sriaTsuji\/public\/tree\/main\/canvas07_spine\" rel=\"noopener\" target=\"_blank\">\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b8\u30a7\u30af\u30c8<\/a>\u3067\u306f\u3001TypeScript\u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u304c\u3001JavaScript\u3067\u3082\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n\u6700\u7d42\u7684\u306b\u3001pixi.js\u3068pixi-spine\u3092\u30d0\u30f3\u30c9\u30eb\u3067\u304d\u308c\u3070OK\u3067\u3059\u3002<\/p>\n<p>\u25bc\/canvas07_spine\/src\/main.ts<\/p>\n<pre>\nimport * as PIXI from 'pixi.js'\nimport { Spine } from 'pixi-spine'\n\nconst app = new PIXI.Application({ \u2026 \u2460\n  backgroundAlpha: 0,\n  height: 600,\n  width: 600\n})\n\ndocument.body.appendChild(app.view) \u2026 \u2461\n\n\/\/ \u305a\u3093\u5b50\u306espine\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u3093\u3060\u5f8c\u306e\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\nconst onAssetsLoaded = (loader: any, res: any) => {\n  \/\/ Spine \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u751f\u6210\n  const zunko = new Spine(res.zunko.spineData)\n  \/\/ \u305a\u3093\u5b50\u306e\u4f4d\u7f6e\u3092\u30bb\u30c3\u30c8\n  zunko.x = app.screen.width \/ 2\n  zunko.y = app.screen.height\n  \/\/ \u305a\u3093\u5b50\u306e\u5927\u304d\u3055\u3092\u30bb\u30c3\u30c8\n  zunko.scale.set(0.5)\n  \/\/ stage \u306b\u305a\u3093\u5b50\u3092\u8ffd\u52a0\n  app.stage.addChild(zunko)\n  \/\/ \u521d\u671f\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3068\u3057\u3066 idle \u3092\u30bb\u30c3\u30c8\n  let currentAnimation = 'idle'\n  let isCurrentAnimationIdle = currentAnimation === 'idle'\n  zunko.state.setAnimation(0, currentAnimation, isCurrentAnimationIdle)\n\n  \/\/ \u305a\u3093\u5b50\u3092\u62bc\u4e0b\u6642\u306e\u51e6\u7406\n  app.stage.on('pointerdown', () => {\n    isCurrentAnimationIdle = currentAnimation === 'idle'\n    currentAnimation = isCurrentAnimationIdle === true ? 'pose' : 'idle'\n    zunko.state.setAnimation(0, currentAnimation, !isCurrentAnimationIdle)\n  })\n}\n\n\/\/ \u305a\u3093\u5b50\u306espine\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u3080\napp.loader.add('zunko', '\/zunko.json').load(onAssetsLoaded) \u2026 \u2462\u301c\u2463\n\/\/ \u30af\u30ea\u30c3\u30af\u30fb\u30bf\u30c3\u30d7\u3092ON\u306b\u3059\u308b\napp.stage.interactive = true \u2026 \u2464\n<\/pre>\n<p>\u51e6\u7406\u306e\u5168\u4f53\u7684\u306a\u6d41\u308c\u306f\u3001\u4ee5\u4e0b\u306b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li>PIXI\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u751f\u6210<\/li>\n<li>body\u306bPIXI\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30d3\u30e5\u30fc\uff08app.view\uff09\u3092\u8ffd\u52a0<\/li>\n<li>\u305a\u3093\u5b50\u3061\u3083\u3093\u306espine\u30c7\u30fc\u30bf\uff08zunko.json\uff09\u3092\u8aad\u307f\u8fbc\u3080<\/li>\n<li>\u305a\u3093\u5b50\u3061\u3083\u3093\u306espine\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u3093\u3060\u5f8c\u306b\u3001\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\uff08onAssetsLoaded\uff09\u3092\u767a\u706b\u3055\u305b\u308b<\/li>\n<li>PIXI\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30af\u30ea\u30c3\u30af\u30fb\u30bf\u30c3\u30d7\u3092ON\u306b\u3059\u308b<\/li>\n<\/ol>\n<p>\n&nbsp;<br \/>\n<\/p>\n<p>\u3067\u306f\u3001\u7d30\u304b\u3044\u70b9\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre>\nimport * as PIXI from 'pixi.js'\nimport { Spine } from 'pixi-spine'\n\nconst app = new PIXI.Application({\n  backgroundAlpha: 0,\n  height: 600,\n  width: 600\n})\n\ndocument.body.appendChild(app.view)\n<\/pre>\n<p>\u307e\u305a\u3001npm\uff08yarn\uff09\u7d4c\u7531\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f<strong>pixi.js<\/strong>\u3068<strong>pixi-spine<\/strong>\u3092\u8aad\u307f\u8fbc\u3093\u3067\u304a\u304d\u307e\u3059\u3002<br \/>\n\u305d\u3057\u3066\u3001\u8aad\u307f\u8fbc\u3093\u3060<strong>PIXI<\/strong>\u3092\u4f7f\u3063\u3066\u3001PIXI\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\uff08const app = new PIXI.Application()\uff09\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p>PIXI\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068\u306f\u3001PixiJS\u306e\u6a5f\u80fd\u3092\u8a70\u3081\u8fbc\u3093\u3060\u30a2\u30d7\u30ea\u306e\u57fa\u790e\u3068\u306a\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3059\u3002<br \/>\n\u57fa\u672c\u7684\u306bPixiJS\u3067\u306f\u3001\u306f\u3058\u3081\u306bPIXI\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3057\u3001PIXI\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f7f\u3063\u3066\u63cf\u753b\u3084\u72b6\u614b\u306a\u3069\u3092\u7ba1\u7406\u30fb\u66f4\u65b0\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\nVue.js\u3067\u3044\u3046 new Vue({\u2026})\u3068\u4f3c\u305f\u3088\u3046\u306a\u30e2\u30ce\u2026\u3068\u6349\u3048\u3066\u3044\u305f\u3060\u3051\u308c\u3070\u3001OK\u3067\u3059\u3002<\/p>\n<p>PIXI\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u5f8c\u306b\u3001Web\u30da\u30fc\u30b8\u306b\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306bhtml\u306ebody\u306bcanvas\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<br \/>\n\u8ffd\u52a0\u3059\u308b\u306e\u306f\u3001PIXI\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u305d\u306e\u3082\u306e\uff08app\uff09\u3067\u306f\u306a\u304f\u3001app.view\u3067\u3059\u3002<br \/>\nview\u306f\u6587\u5b57\u901a\u308a\u3001PIXI\u306e\u8868\u793a\u3092\u62c5\u3046\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u3001\u305d\u306e\u5b9f\u614b\u306fHTMLCanvasElement\u3067\u3059\u3002<br \/>\n\u3057\u305f\u304c\u3063\u3066\u3001app.view\u3092\u8ffd\u52a0\u3059\u308b\u3068\u3001body\u30bf\u30b0\u76f4\u4e0b\u306bcanvas\u30bf\u30b0\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\n&nbsp;<br \/>\n<\/p>\n<pre>\n\/\/ \u305a\u3093\u5b50\u306espine\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u3093\u3060\u5f8c\u306e\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\nconst onAssetsLoaded = (loader: any, res: any) => {\n  \/\/ Spine \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u751f\u6210\n  const zunko = new Spine(res.zunko.spineData)\n  \/\/ \u305a\u3093\u5b50\u306e\u4f4d\u7f6e\u3092\u30bb\u30c3\u30c8\n  zunko.x = app.screen.width \/ 2\n  zunko.y = app.screen.height\n  \/\/ \u305a\u3093\u5b50\u306e\u5927\u304d\u3055\u3092\u30bb\u30c3\u30c8\n  zunko.scale.set(0.5)\n  \/\/ stage \u306b\u305a\u3093\u5b50\u3092\u8ffd\u52a0\n  app.stage.addChild(zunko)\n  \/\/ \u521d\u671f\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3068\u3057\u3066 idle \u3092\u30bb\u30c3\u30c8\n  let currentAnimation = 'idle'\n  let isCurrentAnimationIdle = currentAnimation === 'idle'\n  zunko.state.setAnimation(0, currentAnimation, isCurrentAnimationIdle)\n \n  \/\/ \u305a\u3093\u5b50\u3092\u62bc\u4e0b\u6642\u306e\u51e6\u7406\n  app.stage.on('pointerdown', () => {\n    isCurrentAnimationIdle = currentAnimation === 'idle'\n    currentAnimation = isCurrentAnimationIdle === true ? 'pose' : 'idle'\n    zunko.state.setAnimation(0, currentAnimation, !isCurrentAnimationIdle)\n  })\n}\n<\/pre>\n<p>\u6b21\u306f\u3001\u305a\u3093\u5b50\u3061\u3083\u3093\u306ejson\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u3093\u3060\u5f8c\u306e\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u3092\u898b\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\n\u5f15\u6570\u306eres\u306e\u4e2d\u306bspine\u30c7\u30fc\u30bf\uff08res.zunko.spineData\uff09\u304c\u5165\u3063\u3066\u304f\u308b\u306e\u3067\u3001\u305d\u306e\u30c7\u30fc\u30bf\u3092zunko\u3068\u3057\u3066\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u5f8c\u306f\u3001\u305a\u3093\u5b50\u3061\u3083\u3093\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u30bb\u30c3\u30c8\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>zunko.x\u3068zunko.y\u306f\u3001\u305d\u308c\u305e\u308c\u305a\u3093\u5b50\u3061\u3083\u3093\u306ex\u8ef8\u3001y\u8ef8\u306e\u4f4d\u7f6e\u3067\u3059\u3002<br \/>\nPIXI\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u9ad8\u3055\u3068\u6a2a\u5e45\u306f\u3001app.screen\u304b\u3089\u53d6\u5f97\u3067\u304d\u308b\u306e\u3067\u3001\u3053\u308c\u3089\u3092\u7528\u3044\u3066\u3001zunko.x\u3068zunko.y \u3092\u30bb\u30c3\u30c8\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>zunko.x\u306b\u306f\u3001\u8868\u793a\u9818\u57df \u6a2a\u5e45\u306e\u534a\u5206\u306e\u4f4d\u7f6e\uff08app.screen.width \/ 2\uff09\u3092\u30bb\u30c3\u30c8\u3002<br \/>\nzunko.y\u306b\u306f\u3001\u8868\u793a\u9818\u57df \u7e26\u5e45\u306e\u6700\u4e0b\u7aef\u306e\u4f4d\u7f6e\uff08app.screen.height\uff09\u3092\u30bb\u30c3\u30c8\u3057\u307e\u3059\u3002<br \/>\n\uff08canvas\u306ey\u8ef8\u306f\u3001\u57fa\u672c\u7684\u306b\u6700\u4e0a\u7aef\u304c0\u3067\u3059\u3002\u6700\u4e0b\u7aef\u306b\u8981\u7d20\u3092\u8868\u793a\u3059\u308b\u306b\u306f\u8868\u793a\u9818\u57df\u306e\u9ad8\u3055\u5206\u3092\u30bb\u30c3\u30c8\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\uff09<\/p>\n<p>zunko.scale\u306f\u3001\u5927\u304d\u3055\u3067\u3059\u3002<br \/>\n\u5143\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u30b5\u30a4\u30ba\u3092\u5927\u304d\u3081\u306b\u4f5c\u3063\u3066\u3057\u307e\u3063\u305f\u306e\u3067\u3001\u5c11\u3057\u5c0f\u3055\u304f\u8868\u793a\u3059\u308b\u305f\u3081\u306b\u30010.5\u3067\u30bb\u30c3\u30c8\u3057\u307e\u3059\u3002<\/p>\n<p>\u305a\u3093\u5b50\u3061\u3083\u3093\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u30bb\u30c3\u30c8\u304c\u7d42\u308f\u308a\u307e\u3057\u305f\u3089\u3001app.stage.addChild(zunko)\u3067\u305a\u3093\u5b50\u3061\u3083\u3093\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u3001PIXI\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306estage\u306b\u8ffd\u52a0\u3057\u307e\u3059\u3002<br \/>\nstage\u3068\u306f\u6587\u5b57\u901a\u308a\u3001\u821e\u53f0\u306e\u3088\u3046\u306a\u3082\u306e\u3067\u3059\u3002<br \/>\napp.stage\u306b\u8ffd\u52a0\u3055\u308c\u305f\u8981\u7d20\u306f\u3001app.view\u306b\u8ffd\u52a0\u3055\u308c\u307e\u3059\u3002\u3064\u307e\u308a\u3001\u5b9f\u969b\u306ecanvas\u4e0a\u306b\u63cf\u753b\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u3055\u3066\u3001\u6b21\u306b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u30bb\u30c3\u30c8\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\n\u307e\u305a\u306f\u521d\u671f\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304b\u3089\u3067\u3059\u3002<\/p>\n<pre>\nlet currentAnimation = 'idle'\nlet isCurrentAnimationIdle = currentAnimation === 'idle' \/\/ true\nzunko.state.setAnimation(0, currentAnimation, isCurrentAnimationIdle) \/\/ 0, 'idle', true\n<\/pre>\n<p>\u300c<strong>\u73fe\u5728\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<\/strong>\u300d\u3092\u4fdd\u6301\u3059\u308b<strong>currentAnimation<\/strong>\u3068\u3001<br \/>\n\u300c<strong>\u73fe\u5728\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304cidle\u304b<\/strong>\u300d\u3092\u4fdd\u6301\u3059\u308b<strong>isCurrentAnimationIdle<\/strong>\u3092\u7528\u610f\u3057\u307e\u3059\u3002<br \/>\n\u305d\u3057\u3066\u3001<strong>zunko.state.setAnimation<\/strong>\u3067\u521d\u671f\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3068\u3057\u3066\u30bb\u30c3\u30c8\u3057\u307e\u3059\u3002<\/p>\n<p><strong>setAnimation<\/strong>\u306f\u3001<strong>spine\u30c7\u30fc\u30bf\u306b\u5bfe\u3057\u3066\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u30bb\u30c3\u30c8\u3059\u308b\u95a2\u6570<\/strong>\u3067\u3059\u3002<br \/>\n\u5f15\u6570\u306f\u7b2c1\u5f15\u6570\u304b\u3089\u9806\u306b\u3001\u30c8\u30e9\u30c3\u30af\u756a\u53f7\u3001\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u540d\u3001\u30eb\u30fc\u30d7\u3059\u308b\u304b \u3092\u6307\u3057\u307e\u3059\u3002<br \/>\n\u4eca\u56de\u306f\u3001\u30c8\u30e9\u30c3\u30af\u756a\u53f7 = 0\u3001\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u540d = idle\u3001\u30eb\u30fc\u30d7\u3059\u308b\u304b = true \u3067\u30bb\u30c3\u30c8\u3057\u3001\u521d\u671f\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<p>\n&nbsp;<br \/>\n<\/p>\n<p>\u3068\u3053\u308d\u3067\u3001spine\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u540d\u3063\u3066\u3001\u3069\u3053\u304b\u3089\u5206\u304b\u308b\u306e\uff1f\u3063\u3066\u8a71\u3067\u3059\u304c\u2026\u3001<br \/>\nSpine\u306e\u30c4\u30ea\u30fc\u30d1\u30cd\u30eb\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u6b04\u304b\u3089\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u30ad\u30e3\u30d7\u30c1\u30e3\u306e\u8d64\u67a0\u3067\u3059\u3002<\/p>\n<p><img loading=\"lazy\" width=\"1000\" height=\"400\" src=\"https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/09\/image02.png\" alt=\"Spine \u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u6b04\" class=\"aligncenter size-full wp-image-5976\" srcset=\"https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/09\/image02.png 1000w, https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/09\/image02-300x120.png 300w, https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/09\/image02-768x307.png 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/p>\n<p>\u753b\u50cf\u304b\u3089\u3082\u5206\u304b\u308b\u901a\u308a\u3001\u4eca\u56de\u306f<strong>idle<\/strong>\u3068<strong>pose<\/strong>\u306e2\u3064\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u7528\u610f\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u521d\u671f\u8868\u793a\u306b\u518d\u751f\u3059\u308b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304cidle\u3067\u3001\u30af\u30ea\u30c3\u30af\u3057\u305f\u6642\u306b\u518d\u751f\u3059\u308b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304cpose\u3067\u3059\u3002<\/p>\n<p>\n&nbsp;<br \/>\n<\/p>\n<p>\u521d\u671f\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u7d44\u307f\u8fbc\u307f\u304c\u7d42\u308f\u308a\u307e\u3057\u305f\u3089\u3001\u305a\u3093\u5b50\u3061\u3083\u3093\u3092\u30af\u30ea\u30c3\u30af\uff08\u30bf\u30c3\u30d7\uff09\u3057\u305f\u6642\u306b\u3001\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304c\u5207\u308a\u66ff\u308f\u308b\u51e6\u7406\u3092\u5b9f\u88c5\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\n\u2026\u3068\u3044\u3063\u3066\u3082\u8907\u96d1\u306a\u4e8b\u306f\u3084\u308a\u307e\u305b\u3093\u3002<br \/>\nidle\u3068pose\u3092\u5207\u308a\u66ff\u3048\u3066\u3001zunko.state.setAnimation\u3092\u5b9f\u884c\u3059\u308c\u3070\u3044\u3044\u3060\u3051\u3067\u3059\u306d\u3002<\/p>\n<pre>\n\/\/ \u305a\u3093\u5b50\u3092\u62bc\u4e0b\u6642\u306e\u51e6\u7406\napp.stage.on('pointerdown', () => {\n  isCurrentAnimationIdle = currentAnimation === 'idle'\n  currentAnimation = isCurrentAnimationIdle === true ? 'pose' : 'idle'\n  zunko.state.setAnimation(0, currentAnimation, !isCurrentAnimationIdle)\n})\n<\/pre>\n<p>\u307e\u305aapp.stage.on(&#8216;pointerdown&#8217;, \u2026)\u3067\u3001\u30af\u30ea\u30c3\u30af\u6642\u306e\u30a4\u30d9\u30f3\u30c8\u3092\u7528\u610f\u3057\u307e\u3059\u3002<br \/>\nstage.on\u306e\u7b2c2\u5f15\u6570\u306b\u3001\u30a4\u30d9\u30f3\u30c8\u6642\u306b\u767a\u706b\u3055\u305b\u308b\u95a2\u6570\u3092\u5165\u308c\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\n\u95a2\u6570\u306e\u5185\u5bb9\u306f\u3001\u76f4\u524d\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u540d\u304cidle\u304b\u3092\u5224\u65ad\u3057\u3066\u3001idle\u3067\u3042\u308c\u3070\u3001pose\u306b\u5207\u308a\u66ff\u3048\u3002pose\u3067\u3042\u308c\u3070\u3001idle\u306b\u5207\u308a\u66ff\u3048\u3002\u2026\u3068\u3044\u3063\u305f\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>\u6ce8\u610f\u70b9\u3068\u3057\u3066\u3001idle\u306f\u30eb\u30fc\u30d7\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u304c\u3001pose\u306f\u30eb\u30fc\u30d7\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3067\u306f\u306a\u3044\u305f\u3081\u3001zunko.state.setAnimation\u306e\u7b2c3\u5f15\u6570\u306etrue\/false\u304c\u9006\u306b\u3057\u306a\u3044\u4e8b\u3067\u3059\u306d\u3002<br \/>\n\uff08\u3084\u308d\u3046\u3068\u601d\u3048\u3070\u3001pose\u3082\u30eb\u30fc\u30d7\u3067\u304d\u307e\u3059\u304c\u3001\u6700\u5f8c\u306e\u30d5\u30ec\u30fc\u30e0\u304b\u3089\u6700\u521d\u306e\u30d5\u30ec\u30fc\u30e0\u306b\u3064\u306a\u304c\u308b\u305f\u3081\u3001\u30ac\u30bf\u3064\u3044\u305f\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u3002\uff09<\/p>\n<pre>\n\/\/ \u305a\u3093\u5b50\u306espine\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u3080\napp.loader.add('zunko', '\/zunko.json').load(onAssetsLoaded) \u2026 \u2462\u301c\u2463\n\/\/ \u30af\u30ea\u30c3\u30af\u30fb\u30bf\u30c3\u30d7\u3092ON\u306b\u3059\u308b\napp.stage.interactive = true\n<\/pre>\n<p>loader.add\u3092\u4f7f\u3063\u3066\u3001\u305a\u3093\u5b50\u3061\u3083\u3093\u306ejson\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u3080\u3088\u3046\u306b\u3057\u307e\u3059\u3002<br \/>\n\u3053\u306ejson\u30c7\u30fc\u30bf\u306f\u3001\u3082\u3061\u308d\u3093\u5148\u7a0b\u306bSpine\u304b\u3089\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3057\u305fjson\u3067\u3059\u3002\u74b0\u5883\u306b\u5408\u308f\u305b\u3066\u30d1\u30b9\u3092\u66f8\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n\u3053\u306e\u30d1\u30b9\u3092\u9593\u9055\u3063\u3066\u3057\u307e\u3046\u3068\u3001\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304c\u8868\u793a\u3055\u308c\u306a\u3044\u306e\u3067\u6ce8\u610f\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u3001add\u95a2\u6570\u306e\u7b2c1\u5f15\u6570\u306b\u3001&#8217;zunko&#8217;\u3068\u5165\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u3053\u306e\u540d\u79f0\u3092\u5909\u66f4\u3059\u308b\u3068\u3001onAssetsLoaded\u95a2\u6570\u5185\u306eres.zunko.spineData\u306e\u300czunko\u300d\u306e\u540d\u79f0\u304c\u5909\u308f\u308a\u307e\u3059\u3002<br \/>\n\u4f8b\u3048\u3070\u3001app.loader.add(&#8216;kiritan&#8217;, &#8216;\/zunko.json&#8217;)\u3068\u3059\u308c\u3070\u3001res.kiritan.spineData\u3068\u306a\u308a\u307e\u3059\u3002<br \/>\n\u3053\u306e\u540d\u79f0\u3067\u3059\u304c\u3001Spine\u30c7\u30fc\u30bf\u306e\u30b9\u30b1\u30eb\u30c8\u30f3\u540d\u3092\u5165\u308c\u305f\u65b9\u304c\u7121\u96e3\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u30ad\u30e3\u30d7\u30c1\u30e3\u306e\u8d64\u67a0\u5185\u306e\u540d\u79f0\u3067\u3059\u3002<br \/>\n\u30b9\u30b1\u30eb\u30c8\u30f3\u540d\u3067\u306a\u3044\u3068\u30c0\u30e1\u2026\u3068\u3044\u3063\u305f\u30eb\u30fc\u30eb\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u7ba1\u7406\u4e0a\u306e\u89b3\u70b9\u304b\u3089Spine\u30c7\u30fc\u30bf\u306e\u30b9\u30b1\u30eb\u30c8\u30f3\u540d\u306b\u5408\u308f\u305b\u3066\u304a\u304f\u3068\u3001\u3042\u3068\u3042\u3068\u697d\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<div id=\"attachment_6033\" style=\"width: 1010px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/09\/image04.png\"><img aria-describedby=\"caption-attachment-6033\" loading=\"lazy\" src=\"https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/09\/image04.png\" alt=\"Spine \u30b9\u30b1\u30eb\u30c8\u30f3\u540d\" width=\"1000\" height=\"400\" class=\"size-full wp-image-6033\" srcset=\"https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/09\/image04.png 1000w, https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/09\/image04-300x120.png 300w, https:\/\/www.sria.co.jp\/blog\/wp-content\/uploads\/2021\/09\/image04-768x307.png 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/a><p id=\"caption-attachment-6033\" class=\"wp-caption-text\">Spine \u30b9\u30b1\u30eb\u30c8\u30f3\u540d<\/p><\/div>\n<p>add\u95a2\u6570\u306e\u5f8c\u306b\u3001.load\u95a2\u6570\u3092\u304f\u3063\u3064\u3051\u3066\u3001\u5148\u7a0b\u7528\u610f\u3057\u305fonAssetsLoaded\u95a2\u6570\u3092\u5165\u308c\u307e\u3057\u3087\u3046\u3002<br \/>\n\u3053\u308c\u3067\u3001\u305a\u3093\u5b50\u3061\u3083\u3093\u306ejson\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u3093\u3060\u5f8c\u306b\u3001onAssetsLoaded\u95a2\u6570\u304c\u767a\u706b\u3057\u307e\u3059\u3002<\/p>\n<p>\u6700\u5f8c\u306b\u3001stage.interactive\u306btrue\u3092\u5165\u308c\u3066\u3001\u30af\u30ea\u30c3\u30af\u30fb\u30bf\u30c3\u30d7\u64cd\u4f5c\u3092ON\u306b\u3057\u307e\u3059\u3002<br \/>\nPIXI\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u306f\u3001stage.interactive\u30d7\u30ed\u30d1\u30c6\u30a3\u3092true\u306b\u3057\u306a\u3044\u3068\u3001\u30e6\u30fc\u30b6\u30fc\u304b\u3089\u306e\u64cd\u4f5c\u3092\u53d7\u3051\u4ed8\u3051\u306a\u3044\u306e\u3067\u3001\u6ce8\u610f\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>\u5b9f\u969b\u306b\u8868\u793a\u3057\u3066\u307f\u308b<\/h3>\n<p>\u3055\u3066\u3001\u3053\u3053\u307e\u3067\u7528\u610f\u3067\u304d\u307e\u3057\u305f\u3089\u3001\u5b9f\u969b\u306b\u30d3\u30eb\u30c9\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br \/>\n\u30b3\u30fc\u30c9\u306a\u3093\u3066\u66f8\u304f\u306e\u9762\u5012\u304f\u3055\u3044\uff01\u2026\u3068\u3044\u3046\u65b9\u306f\u3001<a href=\"https:\/\/github.com\/sriaTsuji\/public\/tree\/main\/canvas07_spine\" rel=\"noopener\" target=\"_blank\">\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9<\/a>\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u3001\u30d3\u30eb\u30c9\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u6b63\u3057\u304f\u7d44\u3081\u3066\u3044\u308c\u3070\u3001\u3068\u3063\u3066\u3082\u30ab\u30ef\u30a4\u30a4\u305a\u3093\u5b50\u3061\u3083\u3093\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304c\u518d\u751f\u3055\u308c\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>Spine\u88fd\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3068JavaScript\u3092\u4f7f\u3063\u3066\u3001Web\u30da\u30fc\u30b8\u306b2D\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u8868\u793a\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u3066\u304d\u307e\u3057\u305f\u3002<br \/>\n\u4eca\u56de\u306e\u305a\u3093\u5b50\u3061\u3083\u3093\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306f\u3001\u975e\u5e38\u306b\u7c21\u7d20\u306a\u3082\u306e\u3067\u3057\u305f\u304c\u3001Spine\u3092\u6975\u3081\u308b\u3068\u30cf\u30a4\u30a8\u30f3\u30c9\u30af\u30e9\u30b9\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u308b\u4e8b\u304c\u53ef\u80fd\u3067\u3059\u3002<br \/>\n\u305d\u308c\u3092Web\u30da\u30fc\u30b8\u306b\u3082\u8868\u793a\u3067\u304d\u308b\u306e\u3067\u3001\u30ed\u30de\u30f3\u3042\u3075\u308c\u308b\u6280\u8853\u3067\u3059\u306d\uff01<br \/>\n\u826f\u3044\u6642\u4ee3\u306b\u306a\u3063\u305f\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>\u3067\u306f\u3001\u307e\u305f\uff01<\/p>\n<div\nid=\"canvasWrapper\"\nstyle=\"\n    position: fixed;\n    bottom: 0;\n    right: 0;\n    padding: 0;\n    margin: 0;\n\"><\/div>\n<p><script src=\"https:\/\/www.sria.co.jp\/blog\/wp-content\/themes\/sria2017\/js\/spine.js\"><\/script><\/p>\n<style>\n.footer {padding: 3.3215% 3.3215% 230px 3.3215%;}\n<\/style>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3002\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u8fbb\u3067\u3059\u3002 \u3060\u3044\u3076\u4e45\u3005\u306e\u66f4\u65b0\u3067\u3059\u306d\u3002\u524d\u56de\u306b\u4f55\u3092\u66f8\u3044\u305f\u306e\u304b\u5fd8\u308c\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002\u3002 \u3055\u3066\u3001\u6c17\u3092\u53d6\u308a\u76f4\u3057\u3066\u3001\u4eca\u56de\u306e\u30c6\u30fc\u30de\u306f2D\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u88fd\u4f5c\u30c4\u30fc\u30eb Spine\u3068JavaScript\u3067\u3059\u3002 \u3053\u306e2\u3064\u3092\u4f7f&#8230;<\/p>\n","protected":false},"author":5,"featured_media":5911,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[14],"tags":[29,49],"_links":{"self":[{"href":"https:\/\/www.sria.co.jp\/blog\/wp-json\/wp\/v2\/posts\/5879"}],"collection":[{"href":"https:\/\/www.sria.co.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sria.co.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sria.co.jp\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sria.co.jp\/blog\/wp-json\/wp\/v2\/comments?post=5879"}],"version-history":[{"count":174,"href":"https:\/\/www.sria.co.jp\/blog\/wp-json\/wp\/v2\/posts\/5879\/revisions"}],"predecessor-version":[{"id":6415,"href":"https:\/\/www.sria.co.jp\/blog\/wp-json\/wp\/v2\/posts\/5879\/revisions\/6415"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sria.co.jp\/blog\/wp-json\/wp\/v2\/media\/5911"}],"wp:attachment":[{"href":"https:\/\/www.sria.co.jp\/blog\/wp-json\/wp\/v2\/media?parent=5879"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sria.co.jp\/blog\/wp-json\/wp\/v2\/categories?post=5879"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sria.co.jp\/blog\/wp-json\/wp\/v2\/tags?post=5879"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}