<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>toburau</author_name>
  <author_url>https://blog.hatena.ne.jp/toburau/</author_url>
  <blog_title>ゲームが作れるようになるまでがんばる日記</blog_title>
  <blog_url>https://toburau.hatenablog.jp/</blog_url>
  <categories>
    <anon>プロジェクト31</anon>
    <anon>Godot</anon>
  </categories>
  <description>プレイヤーまで一定距離近づいたら、回転して逃げるようにした。弾を撃つのはまだ。021/100#100日チャレンジ #GODOT pic.twitter.com/su0XYv1AGZ— toburau (@toburau) 2025年9月22日 敵キャラがプレイヤーに一定距離近づいたら、反転して逃げる処理を追加。 弾を撃つ処理や当たり判定はまだ。 スプライトのキャラの向きは上向きだが、速度ベクトルの向きは右向きが0度。なので、見た目と合わせるには角度の調整が必要で、ちょっと大変。 スプライトの向きも合わせておくべきだった。 とここまで書いて、そういえばインスペクターで回転角度を設定できるのを思い…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftoburau.hatenablog.jp%2Fentry%2F2025%2F09%2F22%2F225024&quot; title=&quot;100日チャレンジ021 敵が反転して逃げる - ゲームが作れるようになるまでがんばる日記&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>2025-09-22 22:50:24</published>
  <title>100日チャレンジ021 敵が反転して逃げる</title>
  <type>rich</type>
  <url>https://toburau.hatenablog.jp/entry/2025/09/22/225024</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
