<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>K38</author_name>
  <author_url>https://blog.hatena.ne.jp/K38/</author_url>
  <blog_title>ゲームを作りたい！</blog_title>
  <blog_url>https://k38.hatenadiary.jp/</blog_url>
  <categories>
    <anon>C言語</anon>
    <anon>RPG</anon>
    <anon>SDL2</anon>
  </categories>
  <description>前回は暗転処理を実現した。移動時にフェードアウト・インが起きることで違和感なくマップ間が移動できるようなった。今回は、いままでプレイヤー・キャラクターだけで、ぼっち感が漂っていたのでNPCの表示を考えてみようと思う。 NPCを表示するためには NPCを表示する方法を考えてみようと思う。単純に考えればプレイヤーは表示できているのだから、その方法をまねればNPCも表示できるはずだ。ただ、プレイヤーの表示をそのまま利用して一体ずつ表示していたら管理がしづらくなってしまうので、マップのように簡単に追加・削除できるように作りたい。 そこで、NPCの表示は以前-&gt;マップ間移動の時に用意したイベントファイル…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fk38.hatenadiary.jp%2Fentry%2F2019%2F02%2F07%2F003318&quot; title=&quot;SDL2でRPGゲームを作る　〜第9回 NPCの表示〜 - ゲームを作りたい！&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/K/K38/20190207/20190207002357.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-02-07 00:33:18</published>
  <title>SDL2でRPGゲームを作る　〜第9回 NPCの表示〜</title>
  <type>rich</type>
  <url>https://k38.hatenadiary.jp/entry/2019/02/07/003318</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
