<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>syun77</author_name>
  <author_url>https://blog.hatena.ne.jp/syun77/</author_url>
  <blog_title>2dgames.jp</blog_title>
  <blog_url>https://2dgames.jp/</blog_url>
  <categories>
    <anon>Godot</anon>
  </categories>
  <description>この記事では、2Dゲーム作成時における描画順の制御方法について説明します。 z_index を使う方法 z_indexを使用するとお手軽に描画順を制御できます。z_indexの値が大きいほど手前に描画され、z_indexの値が小さいほど奥に描画されます。 以下、簡単に検証用コードを書きます。 Spriteを作成 Spriteを作成し、&quot;icon.png&quot; をテクスチャに割り当てます。 そしてノード名を「Godot」に変更して、シーンとして保存します。 Mainシーンを作成 Godotくんを配置する Mainシーンを作成します。 2Dシーン(Node2D)を作成して名前を Main に変更します…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2F2dgames.jp%2Fentry%2Fgodot-2d-layer-order%2F&quot; title=&quot;【Godot】2Dゲームの描画順の制御方法 - 2dgames.jp&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/s/syun77/20250905/20250905090017.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-11-25 15:27:08</published>
  <title>【Godot】2Dゲームの描画順の制御方法</title>
  <type>rich</type>
  <url>https://2dgames.jp/entry/godot-2d-layer-order/</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
