<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Takachan</author_name>
  <author_url>https://blog.hatena.ne.jp/Takachan/</author_url>
  <blog_title>PG日誌</blog_title>
  <blog_url>https://takap-tech.com/</blog_url>
  <categories>
    <anon>Cocos2d-x</anon>
    <anon>C++</anon>
  </categories>
  <description>CocosStudioで作成で作成したLayerの子要素を自作したLayerに乗せ換える話です。 CocosStudioで「Layer」を作成し、csb形式でpublish後にCocos2d-x側から、そのレイヤーを呼び出します。そうすると、取得できる型がcocos2d::Node*型で取得できます。CocosStudioでこんな画面から作るやつです。 #include &quot;cocostudio/CocoStudio.h&quot; // ...中略... Node* layer = CSLoader::getInstance()-&gt;createNode(&quot;layer.csb&quot;); このNodeから子要素…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakap-tech.com%2Fentry%2F2018%2F04%2F25%2F230534&quot; title=&quot;CocosStudioで作ったLayerの子要素を自作のLayerに載せ替える - PG日誌&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/T/Takachan/20180425/20180425224230.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-04-25 23:05:34</published>
  <title>CocosStudioで作ったLayerの子要素を自作のLayerに載せ替える</title>
  <type>rich</type>
  <url>https://takap-tech.com/entry/2018/04/25/230534</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
