<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mekatamatama</author_name>
  <author_url>https://blog.hatena.ne.jp/mekatamatama/</author_url>
  <blog_title>Unityでジャンクゲームを作っているっぽい</blog_title>
  <blog_url>https://mekatamatama.hatenablog.com/</blog_url>
  <categories>
    <anon>python</anon>
    <anon>pyxel</anon>
  </categories>
  <description>飛んでくるアイテムの種類を増やしたい 理由は、当たったらゲームオーバーになるアイテムを出したいのです 方針 初期化の設定時に種類判別用の変数を増やして動かしていけばなんとかなりそう 下準備 新しいキャラデータと効果音を用意しておく キャラデータ ３つめのキャラクタを適当に作る 効果音 2番に接触時の効果音を追加 アイテムの初期化を修正 randint(0, 1)という種別用の要素を追加 0の時は普通のアイテム 1の時はダメージアイテム という風に運用したい self.fruit = [(i * 60, randint(0, 104), True, randint(0, 1)) for i in…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmekatamatama.hatenablog.com%2Fentry%2F2020%2F11%2F01%2F215711&quot; title=&quot;Pyxelで作る09 アイテムの種類を増やす - Unityでジャンクゲームを作っているっぽい&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/m/mekatamatama/20201101/20201101215030.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-11-01 21:57:11</published>
  <title>Pyxelで作る09 アイテムの種類を増やす</title>
  <type>rich</type>
  <url>https://mekatamatama.hatenablog.com/entry/2020/11/01/215711</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
