<?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>プロジェクト32</anon>
  </categories>
  <description>チュートリアルの本でコードで、当たり判定の処理部分を見ていたら、気になる部分が。 当たっているか判定する関数で、キャラクターの四隅の座標をチェックしているのだが、すべてチェックするようなコードになっていた。 当たっているかチェックするのだから、1箇所でも当たっていたら、その時点で関数を抜けても良いと思うのだが。 実際にそのようにコードを変えてみても動作は変わらないように見えた。 途中で関数を抜けるというのは良くないということだろうか。 と思って、他のコードを見てみたら、途中で抜けているものもあった。 すべてチェックしなければならない場合があるのだろうか。 なぜそのようなコードになっているのだろ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftoburau.hatenablog.jp%2Fentry%2F2025%2F12%2F14%2F000000&quot; title=&quot;判定処理 - ゲームが作れるようになるまでがんばる日記&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-12-14 00:00:00</published>
  <title>判定処理</title>
  <type>rich</type>
  <url>https://toburau.hatenablog.jp/entry/2025/12/14/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
