<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>okahiro_p</author_name>
  <author_url>https://blog.hatena.ne.jp/okahiro_p/</author_url>
  <blog_title>おかひろの雑記</blog_title>
  <blog_url>https://okahiro-p.hatenadiary.org/</blog_url>
  <categories>
    <anon>Box2d</anon>
    <anon>cocos2d-x</anon>
  </categories>
  <description>Box2dの物理体を拡大／縮小したいことがありますが、 単純にSpriteをsetScaleしただけでは、見た目は変わっても、物理体は変わりません。cocos2d-x + Box2d PhysicsEditorで作ったデータを読み込む - おかひろの雑記で作ったサンプルに、拡大／縮小処理を入れてみました。今回使用したバージョン Cocos2d-x 3.9 PhysicsEditor 1.5.2 動作するサンプルはこちら。 https://github.com/okahiro/Cocos2dxBox2d （Cocos2d-xのフルプロジェクトなので容量大きいです）createBlockメソッドで…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fokahiro-p.hatenadiary.org%2Fentry%2F20160418%2F1460974229&quot; title=&quot; cocos2d-x + Box2d  PhysicsEditorで作った物理体を拡大／縮小してみる - おかひろの雑記&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-04-18 19:10:29</published>
  <title> cocos2d-x + Box2d  PhysicsEditorで作った物理体を拡大／縮小してみる</title>
  <type>rich</type>
  <url>https://okahiro-p.hatenadiary.org/entry/20160418/1460974229</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
