<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>x67x6fx74x6f</author_name>
  <author_url>https://blog.hatena.ne.jp/x67x6fx74x6f/</author_url>
  <blog_title>Apple Engine</blog_title>
  <blog_url>https://appleengine.hatenablog.com/</blog_url>
  <categories>
    <anon>SceneKit</anon>
    <anon>サンプル解説</anon>
  </categories>
  <description>引き続き GameController クラスの残りの関数を見てゆく。 今回は鍵を開けるなどゲームでのアクションについて。 鍵を開ける unlockDoor 関数も長いので中身を別で見てゆく。 func unlockDoor() { ... } 扉が開いているか調べる friendsAreFree が true の場合はこの関数を実行しない。 開いても プレイヤーキャラクター Max が少し操作でき、この関数を呼ぶトリガーを弾いてしまうため。 if friendsAreFree { return } シーンを止める 宝石のアイテム取得時の演出と同様に startCinematic() を使って…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fappleengine.hatenablog.com%2Fentry%2F2018%2F06%2F01%2F163940&quot; title=&quot;WWDC 2017 の SceneKit サンプル Fox 2 を調べる その31 - Apple Engine&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>2018-06-01 16:39:40</published>
  <title>WWDC 2017 の SceneKit サンプル Fox 2 を調べる その31</title>
  <type>rich</type>
  <url>https://appleengine.hatenablog.com/entry/2018/06/01/163940</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
