<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nakamura001</author_name>
  <author_url>https://blog.hatena.ne.jp/nakamura001/</author_url>
  <blog_title>強火で進め</blog_title>
  <blog_url>https://nakamura001.hatenablog.com/</blog_url>
  <categories>
    <anon>enchant.js</anon>
  </categories>
  <description>今回のサンプル サンプルの全ファイル最新版の enchant.js では標準で付属しているバーチャルパッド以前の上下左右のいずれかしか取得出来ない仕様から斜め入力も取得出来る様にバージョンアップし、8方向入力に対応していました。しかも、以前の様に game.js ファイルで game.preload('pad.png'); とプリロードをする必要は無くなり、以下の記述だけでよく成ってました。 var pad = new Pad(); pad.x = 0; pad.y = 224; game.rootScene.addChild(pad);もちろん、HTMLファイルでバーチャルパッド用のJSファ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnakamura001.hatenablog.com%2Fentry%2F20110428%2F1304012289&quot; title=&quot;付属のバーチャルパッドのプラグインが8方向入力に対応 - 強火で進め&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/n/nakamura001/20110429/20110429023058.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-04-28 02:38:09</published>
  <title>付属のバーチャルパッドのプラグインが8方向入力に対応</title>
  <type>rich</type>
  <url>https://nakamura001.hatenablog.com/entry/20110428/1304012289</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
