<?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>プロジェクト33</anon>
  </categories>
  <description>チュートリアル本で勉強中。 UIのボタンが押されたか判定する処理について書かれていた。 ボタンの上にカーソルが入ったかどうかの判定はボタンの形状通りに正確には行っておらず、矩形で簡易的に行っていた。それでも操作してみた感じは違和感は無かったのでこれで十分。 ただ、このテストだとボタンを押したときに色が変わるようになっているが、場面遷移をすぐにしてしまうため、その色が変わったことがほとんど分からない。 こういったボタンが押された演出、例えば色が変わる、ちょっとアニメーションするとかあると、その分待つ必要があるので、いろいろと大変。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftoburau.hatenablog.jp%2Fentry%2F2026%2F07%2F07%2F230920&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>2026-07-07 23:09:20</published>
  <title>ボタン処理</title>
  <type>rich</type>
  <url>https://toburau.hatenablog.jp/entry/2026/07/07/230920</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
