<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>ゲーム開発のブログ</title>
<link>https://ameblo.jp/marimokamisama/</link>
<atom:link href="https://rssblog.ameba.jp/marimokamisama/rss20.xml" rel="self" type="application/rss+xml" />
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com" />
<description>ブログの説明を入力します。</description>
<language>ja</language>
<item>
<title>長崎旅行の記録</title>
<description>
<![CDATA[ <p><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/ad/10/j/o1024057615509383220.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/ad/10/j/o1024057615509383220.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/68/41/j/o1024057615509383221.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/68/41/j/o1024057615509383221.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/0d/d4/j/o1024057615509383222.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/0d/d4/j/o1024057615509383222.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/bd/49/j/o1024057615509383225.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/bd/49/j/o1024057615509383225.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/ee/6b/j/o1024057615509383227.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/ee/6b/j/o1024057615509383227.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/49/d7/j/o1024057615509383229.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/49/d7/j/o1024057615509383229.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/8b/72/j/o1024057615509383230.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/8b/72/j/o1024057615509383230.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/44/7f/j/o1024057615509383231.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/44/7f/j/o1024057615509383231.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/48/9d/j/o1024057615509383232.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/48/9d/j/o1024057615509383232.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/dd/70/j/o1024057615509383233.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/dd/70/j/o1024057615509383233.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/7a/e7/j/o1024057615509383234.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/7a/e7/j/o1024057615509383234.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/5a/9f/j/o1024057615509383235.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/5a/9f/j/o1024057615509383235.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/13/84/j/o1024057615509383236.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/13/84/j/o1024057615509383236.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/07/a5/j/o1024057615509383237.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/07/a5/j/o1024057615509383237.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/49/7e/j/o1024057615509383238.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/49/7e/j/o1024057615509383238.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/d8/bc/j/o1024057615509383240.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/d8/bc/j/o1024057615509383240.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/99/54/j/o1024057615509383241.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/99/54/j/o1024057615509383241.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/04/ea/j/o1024057615509383242.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/04/ea/j/o1024057615509383242.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/00/01/j/o1024057615509383243.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/00/01/j/o1024057615509383243.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/39/0c/j/o1024057615509383244.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/39/0c/j/o1024057615509383244.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/65/74/j/o1024057615509383246.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/65/74/j/o1024057615509383246.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/f7/a2/j/o1024057615509383247.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/f7/a2/j/o1024057615509383247.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/89/3e/j/o1024057615509383248.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/89/3e/j/o1024057615509383248.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/96/fb/j/o1024057615509383249.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/96/fb/j/o1024057615509383249.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/09/e2/j/o1024057615509383251.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/09/e2/j/o1024057615509383251.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/78/c2/j/o1024057615509383253.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/78/c2/j/o1024057615509383253.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/df/2d/j/o1024057615509383256.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/df/2d/j/o1024057615509383256.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/72/81/j/o1024057615509383257.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/72/81/j/o1024057615509383257.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/f4/d1/j/o1024057615509383259.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/f4/d1/j/o1024057615509383259.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/5f/a7/j/o1024057615509383263.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/5f/a7/j/o1024057615509383263.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/27/dc/j/o1024057615509383264.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/27/dc/j/o1024057615509383264.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/48/cb/j/o1024057615509383266.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/48/cb/j/o1024057615509383266.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/f4/3f/j/o1024057615509383267.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/f4/3f/j/o1024057615509383267.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/b2/77/j/o1024057615509383268.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/b2/77/j/o1024057615509383268.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/8c/d5/j/o1024057615509383269.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/8c/d5/j/o1024057615509383269.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/ff/c3/j/o1024057615509383271.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20241113/06/marimokamisama/ff/c3/j/o1024057615509383271.jpg" width="420"></a></p>
]]>
</description>
<link>https://ameblo.jp/marimokamisama/entry-12874818641.html</link>
<pubDate>Wed, 13 Nov 2024 06:13:00 +0900</pubDate>
</item>
<item>
<title>Githubおすすめ</title>
<description>
<![CDATA[ <p><a href="https://stat.ameba.jp/user_images/20240904/01/marimokamisama/54/26/j/o1024057615482306472.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20240904/01/marimokamisama/54/26/j/o1024057615482306472.jpg" width="420"></a></p><p><a href="https://stat.ameba.jp/user_images/20240904/01/marimokamisama/69/27/j/o1024057615482306494.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20240904/01/marimokamisama/69/27/j/o1024057615482306494.jpg" width="420"></a></p><p>&nbsp;</p><p><a href="https://stat.ameba.jp/user_images/20240904/01/marimokamisama/42/36/j/o1024057615482306505.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20240904/01/marimokamisama/42/36/j/o1024057615482306505.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20240904/01/marimokamisama/80/2d/j/o1024057615482306506.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20240904/01/marimokamisama/80/2d/j/o1024057615482306506.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20240904/01/marimokamisama/11/4b/j/o1024057615482306507.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20240904/01/marimokamisama/11/4b/j/o1024057615482306507.jpg" width="420"></a><a href="https://stat.ameba.jp/user_images/20240904/01/marimokamisama/86/40/j/o1024057615482306509.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20240904/01/marimokamisama/86/40/j/o1024057615482306509.jpg" width="420"></a></p><p><a href="https://stat.ameba.jp/user_images/20240904/01/marimokamisama/ec/76/j/o1024057615482306504.jpg"><img alt="" height="236" src="https://stat.ameba.jp/user_images/20240904/01/marimokamisama/ec/76/j/o1024057615482306504.jpg" width="420"></a></p>
]]>
</description>
<link>https://ameblo.jp/marimokamisama/entry-12866129492.html</link>
<pubDate>Wed, 04 Sep 2024 01:42:07 +0900</pubDate>
</item>
<item>
<title>Githubおすすめ</title>
<description>
<![CDATA[ <p><a href="file:///C:/Users/s202255/Dropbox/My%20PC%20(s202255)/Desktop/%E3%83%97%E3%83%AC%E3%82%BC%E3%83%B3%E3%83%86%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B31.pdf" rel="noopener noreferrer" target="_blank">file:///C:/Users/s202255/Dropbox/My%20PC%20(s202255)/Desktop/%E3%83%97%E3%83%AC%E3%82%BC%E3%83%B3%E3%83%86%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B31.pdf</a></p>
]]>
</description>
<link>https://ameblo.jp/marimokamisama/entry-12866129269.html</link>
<pubDate>Wed, 04 Sep 2024 01:35:44 +0900</pubDate>
</item>
<item>
<title>mixamoのモデルをsdkmeshに変換してDirectXで動かす方法</title>
<description>
<![CDATA[ <p>DirectXTKでmixamoのモデルをアニメーションさせる方法を解説します。</p><p>&nbsp;</p><p>　まずFBXをsdkmeshにするために<b style="font-weight:bold;"><a data-ved="2ahUKEwiD9pSz2qT6AhVCgFYBHfsAB0gQFnoECCoQAQ" href="https://github.com/walbourn/contentexporter" ping="/url?sa=t&amp;source=web&amp;rct=j&amp;url=https://gamedev.stackexchange.com/questions/199816/contentexporter-fbx-sdkmesh-warning-and-bad-output&amp;ved=2ahUKEwiD9pSz2qT6AhVCgFYBHfsAB0gQFnoECCoQAQ" rel="noopener noreferrer" target="_blank">contentexporter</a></b>を使用します。</p><p>　contentexporterを使用するためには<b style="font-weight:bold;"><a data-ved="2ahUKEwiD9pSz2qT6AhVCgFYBHfsAB0gQFnoECCoQAQ" href="https://www.autodesk.com/developer-network/platform-technologies/fbx-sdk-2020-3" ping="/url?sa=t&amp;source=web&amp;rct=j&amp;url=https://gamedev.stackexchange.com/questions/199816/contentexporter-fbx-sdkmesh-warning-and-bad-output&amp;ved=2ahUKEwiD9pSz2qT6AhVCgFYBHfsAB0gQFnoECCoQAQ" rel="noopener noreferrer" target="_blank">FBX SDK</a></b>に含まれている<b style="font-weight:bold;">libfbxsdk-md.lib</b>と<b style="font-weight:bold;">libxml2-md.lib</b>が必要になるのでFBX　SDKをダウンロードします。私はWindowsのVS2019を使用しているので<b style="font-weight:bold;">FBX SDK 2020.3.2 VS2019</b>&nbsp;をダウンロードしました。</p><p>&nbsp;</p><p>　FBX SDKのインストールが完了したら2020.3.2/lib/vs2019/x64/debugにある<b style="font-weight:bold;">libfbxsdk-md.lib</b>と<b style="font-weight:bold;">libxml2-md.lib</b>をcontentexporterの<b style="font-weight:bold;">importfbx</b>の中にコピーします。</p><p>&nbsp;</p><p>　FBX SDKをインストールしたファイル内の<b style="font-weight:bold;">include</b>をcontentexporterの中にコピーして名前を<b style="font-weight:bold;">FBXSDK</b>に変更します。</p><p>&nbsp;</p><p>　contentexporterのソリューションファイルを開き<b style="font-weight:bold;">ImportFBX</b>のプロパティを開きます。</p><p>&nbsp;</p><p>　プロパティの構成プロパティ/C/C++/全般の追加インクルードディレクトリを..\FBXSDK;..\DirectXTex;..\DirectXMesh;..\UVAtlas\inc;%(AdditionalIncludeDirectories)に変更します。</p><p>&nbsp;</p><p>　ビルドをするとcontentexporter-main\importfbx\x64\Debug_2019の中にContentExporter.exeができます。ContentExporter.exeにＦＢＸファイルをドラッグアンドドロップするだけでsdkmeshが生成されます。アニメーション付きのＦＢＸならsdkmesh_animも生成されます。</p><p>&nbsp;</p><p>　mixamoからモデルをダウンロードしてContentExporter.exeでsdkmeshに変換します。DirectXでsdkmeshをアニメーションさせるには<a href="https://github.com/Microsoft/DirectXTK/wiki/Animation.cpp">Animation.cpp</a>と<a href="https://github.com/Microsoft/DirectXTK/wiki/Animation.h">Animation.h</a>を使用します。</p><p>&nbsp;</p><p>　モデルの描画とアニメーションに必要な変数は以下の通りです。</p><p>&nbsp;</p><p>//モデル<br>&nbsp;&nbsp; &nbsp;std::unique_ptr&lt;DirectX::Model&gt; mpModel;<br><br>&nbsp;&nbsp; &nbsp;//SDKアニメーション<br>&nbsp;&nbsp; &nbsp;DX::AnimationSDKMESH &nbsp;mpAnimSdk;<br><br>&nbsp;&nbsp; &nbsp;//スケルトン<br>&nbsp;&nbsp; &nbsp;DirectX::ModelBone::TransformArray mpBone;<br><br>&nbsp;&nbsp; &nbsp;//アニメーションスケルトン<br>&nbsp;&nbsp; &nbsp;DirectX::ModelBone::TransformArray mpAnimBone;</p><p>&nbsp;</p><p>　モデルとアニメーションの読み込み以下のように行います。</p><p>&nbsp;</p><p>auto device = pDR.GetD3DDevice();<br><br>&nbsp;&nbsp; &nbsp;//sdkmeshの読み込み<br>&nbsp;&nbsp; &nbsp;mpModel = Model::CreateFromSDKMESH(device, <span style="color:#ff0000;">L"Resources/Models/Walking.sdkmesh"</span>,<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;*pGI.GetEffectFactory(),<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;ModelLoader_Clockwise | ModelLoader_IncludeBones);<br><br>&nbsp;&nbsp; &nbsp;size_t nbones = mpModel-&gt;bones.size();<br>&nbsp;&nbsp; &nbsp;mpAnimBone = ModelBone::MakeArray(nbones);<br>&nbsp;&nbsp; &nbsp;mpModel-&gt;CopyBoneTransformsTo(nbones, mpAnimBone.get());<br><br>&nbsp;&nbsp; &nbsp;mpBone = ModelBone::MakeArray(nbones);<br>&nbsp;&nbsp; &nbsp;mpModel-&gt;CopyAbsoluteBoneTransforms(nbones, mpAnimBone.get(), mpBone.get());<br><br>&nbsp;&nbsp; &nbsp;for (size_t j = 0; j &lt; nbones; ++j)<br>&nbsp;&nbsp; &nbsp;{<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;mpBone[j] = XMMatrixMultiply(mpModel-&gt;invBindPoseMatrices[j], mpBone[j]);<br>&nbsp;&nbsp; &nbsp;}<br><br>&nbsp;&nbsp; &nbsp;//アニメーションの読み込み<br>&nbsp;&nbsp; &nbsp;DX::ThrowIfFailed(<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;mpAnimSdk.Load(<span style="color:#ff0000;">L"Resources/Models/untitled2.sdkmesh_anim"</span>)<br>&nbsp;&nbsp; &nbsp;);<br><br>&nbsp;&nbsp; &nbsp;mpAnimSdk.Bind(*mpModel);<br><br>&nbsp;&nbsp; &nbsp;mpModel-&gt;UpdateEffects([&amp;](DirectX::IEffect* effect)<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;{<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;auto skin = dynamic_cast&lt;DirectX::SkinnedEffect*&gt;(effect);<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;if (skin)<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;{<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;skin-&gt;SetPerPixelLighting(true);<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;}<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;});</p><p>&nbsp;</p><p>アニメーションの再生は以下の通りです。</p><p>&nbsp;</p><p>//アニメーションの再生速度<br>&nbsp;&nbsp; &nbsp;float anim_speed = 0.02f;<br>//アニメーションの更新<br>&nbsp;&nbsp; &nbsp;mpAnimSdk.Update(anim_speed);</p><p>　　size_t nbones = mpModel-&gt;bones.size();<br>&nbsp;&nbsp; &nbsp;mpAnimSdk.Apply(*mpModel, nbones, mpBone.get());</p><p>&nbsp;</p><p>モデルの描画は以下の通りです。</p><p>&nbsp;</p><p>GetVariousInstance&amp; pGI = GetVariousInstance::GetInstance();<br>&nbsp;&nbsp; &nbsp;Camera&amp; pCm = Camera::GetInstance();<br><br>&nbsp;&nbsp; &nbsp;auto context = DX::DeviceResources::GetInstance().GetD3DDeviceContext();<br><br>&nbsp;&nbsp; &nbsp;size_t nbones = mpModel-&gt;bones.size();<br><br>&nbsp;&nbsp; &nbsp;mpModel-&gt;DrawSkinned(<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;context<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;, *pGI.GetCommonStates()<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;, nbones, mpBone.get()<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;, world<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;, pCm.GetView()<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;, pCm.GetProjection());</p><p>&nbsp;</p><p>アニメーションが最後まで再生されない場合はmixamoからモデルをダウンロードする際にDownload SettingでSkinをWithout Skinに変更してダウンロードしContentExporter.exeで生成されたsdkmesh_animを使用すると最後まで再生されます。</p>
]]>
</description>
<link>https://ameblo.jp/marimokamisama/entry-12765449898.html</link>
<pubDate>Wed, 21 Sep 2022 11:58:01 +0900</pubDate>
</item>
<item>
<title>Unityでゲームを作るときは古いバージョンのエディターを使ったほうがいい</title>
<description>
<![CDATA[ <p>Unityでゲームを作るときに新しいエディターで始めると、不都合なことがあります。</p><p>それは、Unityで様々なことを調べているときに大抵のものは古いバージョンでの情報になるので最新のバージョンとは異なることがあるためです。</p><p>&nbsp;</p><p>例えば(2022年)の最新バージョンでゲームを作ろうとしたとき、一部のアウトレット接続ができないという問題が発生しました。</p><p>しかし、古いバージョンでは問題なくできたため、やはり最新のものより過去のもののほうが使いやすいと感じました。</p><p>&nbsp;</p><p>このように最新のエディターよりも過去のもののほうが使いやすいということもあると思いました。</p>
]]>
</description>
<link>https://ameblo.jp/marimokamisama/entry-12742048898.html</link>
<pubDate>Tue, 10 May 2022 18:00:32 +0900</pubDate>
</item>
<item>
<title>DirectXTKでエフェクシアを使う方法(2022/4/13)</title>
<description>
<![CDATA[ <p>DirectXTKでエフェクシアを使う方法を調べてみた。</p><p>&nbsp;</p><p>まずエフェクシアのサイトからEffekseer For DXライブラリをダウンロードする。</p><div class="ogpCard_root"><article class="ogpCard_wrap" contenteditable="false" style="display:inline-block;max-width:100%"><a class="ogpCard_link" data-ogp-card-log="" href="https://effekseer.github.io/jp/download.html" rel="noopener noreferrer" style="display:flex;justify-content:space-between;overflow:hidden;box-sizing:border-box;width:620px;max-width:100%;height:120px;border:1px solid #e2e2e2;border-radius:4px;background-color:#fff;text-decoration:none" target="_blank"><span class="ogpCard_content" style="display:flex;flex-direction:column;overflow:hidden;width:100%;padding:16px"><span class="ogpCard_title" style="-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;max-height:48px;line-height:1.4;font-size:16px;color:#333;text-align:left;font-weight:bold;overflow:hidden">Effekseer - ダウンロード</span><span class="ogpCard_url" style="display:flex;align-items:center;margin-top:auto"><span class="ogpCard_iconWrap" style="position:relative;width:20px;height:20px;flex-shrink:0"><img alt="リンク" class="ogpCard_icon" height="20" loading="lazy" src="https://c.stat100.ameba.jp/ameblo/symbols/v3.20.0/svg/gray/editor_link.svg" style="position:absolute;top:0;bottom:0;right:0;left:0;height:100%;max-height:100%" width="20"></span><span class="ogpCard_urlText" style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#757575;font-size:12px;text-align:left">effekseer.github.io</span></span></span></a></article></div><p>&nbsp;</p><p>ダウンロードしたものの中にある<b style="font-weight:bold;">プロジェクトに追加すべきファイル_VC用</b>の中から必要なものを使う。</p><p>&nbsp;</p><p>必要なものは以下の通り</p><p>&nbsp;</p><p><b style="font-weight:bold;">Debugビルドの場合</b></p><p>Effekseer_vs2019_x86_d.lib</p><p>EffekseerRendererDX11_vs2019_x86_d.lib</p><p><b style="font-weight:bold;">Releaseビルドの場合</b></p><p>Effekseer_vs2019_x86.lib</p><p>EffekseerRendererDX11_vs2019_x86.lib</p><p>&nbsp;</p><p>Effekseer.h</p><p>Effekseer.Modules.h</p><p>Effekseer.SIMD</p><p>EffekseerRendererDX11</p><p>&nbsp;</p><p>以上</p><p>&nbsp;</p><p>libはプロジェクトのライブラリディレクトリとリンカーの追加の依存ファイルから設定する必要がある。</p><p>&nbsp;</p><p>使い方は大体DXライブラリと同じだった。</p><p>&nbsp;</p><p><b style="font-weight:bold;">エフェクシアの読み込みに必要な変数</b></p><p>// Effekseerで使用するパーツをメンバ変数に追加する<br>&nbsp;&nbsp; &nbsp;// レンダラ<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;EffekseerRendererDX11::RendererRef mRenderer;<br><br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;// マネージャ<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Effekseer::ManagerRef mManager;<br><br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;// エフェクト<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Effekseer::EffectRef mEffect;<br><br>　　　//ハンドル<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Effekseer::Handle mHandle;</p><p>&nbsp;</p><p><b style="font-weight:bold;">初期化</b></p><p>ID3D11Device1* device = DX::DeviceResources::GetInstance().GetD3DDevice();<br>&nbsp;&nbsp; &nbsp;ID3D11DeviceContext1* context = DX::DeviceResources::GetInstance().GetD3DDeviceContext();<br>&nbsp;&nbsp; &nbsp;// レンダラの作成<br>&nbsp; &nbsp; mRenderer = EffekseerRendererDX11::Renderer::Create(device, context, 8000);<br><br>&nbsp;&nbsp; &nbsp;// マネージャの作成<br>&nbsp; &nbsp; mManager = Effekseer::Manager::Create(8000);<br><br>&nbsp;&nbsp; &nbsp;// 描画モジュールの設定<br>&nbsp; &nbsp; mManager-&gt;SetSpriteRenderer(mMember.mRenderer-&gt;CreateSpriteRenderer());<br>&nbsp; &nbsp; mManager-&gt;SetRibbonRenderer(mMember.mRenderer-&gt;CreateRibbonRenderer());<br>&nbsp; &nbsp; mManager-&gt;SetRingRenderer(mMember.mRenderer-&gt;CreateRingRenderer());<br>&nbsp; &nbsp; mManager-&gt;SetTrackRenderer(mMember.mRenderer-&gt;CreateTrackRenderer());<br>&nbsp; &nbsp; mManager-&gt;SetModelRenderer(mMember.mRenderer-&gt;CreateModelRenderer());<br><br>&nbsp;&nbsp; &nbsp;// テクスチャ、モデル、カーブ、マテリアルローダーの設定<br>&nbsp; &nbsp; mManager-&gt;SetTextureLoader(mMember.mRenderer-&gt;CreateTextureLoader());<br>&nbsp; &nbsp; mManager-&gt;SetModelLoader(mMember.mRenderer-&gt;CreateModelLoader());<br>&nbsp; &nbsp; mManager-&gt;SetMaterialLoader(mMember.mRenderer-&gt;CreateMaterialLoader());<br>&nbsp; &nbsp; mManager-&gt;SetCurveLoader(Effekseer::MakeRefPtr&lt;Effekseer::CurveLoader&gt;());<br><br>&nbsp;&nbsp; &nbsp;// 描画の始点位置を確認<br>&nbsp;&nbsp; &nbsp;Effekseer::Vector3D pos = Effekseer::Vector3D(10.0f, 5.0f, 20.0f);<br><br>&nbsp;&nbsp; &nbsp;// レンダラの射影行列を設定<br>&nbsp;&nbsp; &nbsp;float width = static_cast&lt;float&gt;(DX::DeviceResources::GetInstance().GetOutputSize().right);<br>&nbsp;&nbsp; &nbsp;float height = static_cast&lt;float&gt;(DX::DeviceResources::GetInstance().GetOutputSize().bottom);<br>&nbsp;&nbsp; &nbsp;mMember.mRenderer-&gt;SetProjectionMatrix(<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Effekseer::Matrix44().PerspectiveFovRH(<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;90.0f / 180.0f * 3.14f,<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;width / height,<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;1.0f,<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;500.0f)<br>&nbsp;&nbsp; &nbsp;);<br><br>&nbsp;&nbsp; &nbsp;// レンダラのカメラ行列を設定<br><br>&nbsp;&nbsp; &nbsp;Effekseer::Vector3D eye;<br>&nbsp;&nbsp; &nbsp;Effekseer::Vector3D target;<br>&nbsp;&nbsp; &nbsp;Effekseer::Vector3D up;<br><br>&nbsp;&nbsp; &nbsp;mMember.mRenderer-&gt;SetCameraMatrix(<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Effekseer::Matrix44().LookAtRH(<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;eye,<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;target,<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;up<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;)<br>&nbsp;&nbsp; &nbsp;);</p><p>&nbsp;</p><p><b style="font-weight:bold;">読み込み</b></p><p>Effekseer::EffectRef Effect = Effekseer::Effect::Create(mMember.mManager, (const EFK_CHAR*)FilePath);<br><br>&nbsp;&nbsp; &nbsp;// エフェクトの読み込み<br>&nbsp;&nbsp; &nbsp;mMember.mEffect = Effect;<br><br>&nbsp;&nbsp; &nbsp;mMember.mHandle;</p><p>&nbsp;</p><p><b style="font-weight:bold;">エフェクシアの実行</b></p><p>Effekseer::EffectRef Effect = mEffect;<br><br>&nbsp;&nbsp; &nbsp;//エフェクトを停止する<br>&nbsp; &nbsp; mManager.Get()-&gt;StopEffect(mHandle);<br><br>&nbsp;&nbsp; &nbsp;//エフェクトを原点の位置で再生<br>&nbsp; &nbsp; mHandle = mManager-&gt;Play(Effect, position.x, position.y, position.z);</p><p>&nbsp;</p><p><b style="font-weight:bold;">エフェクシアの更新</b></p><p>mManager-&gt;Update();</p><p>&nbsp;</p><p><b style="font-weight:bold;">//エフェクシアの描画</b></p><p>mRenderer-&gt;BeginRendering();<br>&nbsp;&nbsp; &nbsp;// レンダラのカメラ行列を設定<br>&nbsp;&nbsp; &nbsp;SetRender();<br>&nbsp; &nbsp;mManager-&gt;Draw();<br>　mRenderer-&gt;EndRendering();</p>
]]>
</description>
<link>https://ameblo.jp/marimokamisama/entry-12737297443.html</link>
<pubDate>Wed, 13 Apr 2022 22:55:59 +0900</pubDate>
</item>
<item>
<title>今までに制作してきたゲーム一覧</title>
<description>
<![CDATA[ <p>それいけ魔女ちゃん</p><div class="ogpCard_root"><article class="ogpCard_wrap" contenteditable="false" style="display:inline-block;max-width:100%"><a class="ogpCard_link" data-ogp-card-log="" href="https://youtu.be/IVZz9QNXXpc" rel="noopener noreferrer" style="display:flex;justify-content:space-between;overflow:hidden;box-sizing:border-box;width:620px;max-width:100%;height:120px;border:1px solid #e2e2e2;border-radius:4px;background-color:#fff;text-decoration:none" target="_blank"><span class="ogpCard_content" style="display:flex;flex-direction:column;overflow:hidden;width:100%;padding:16px"><span class="ogpCard_title" style="-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;max-height:48px;line-height:1.4;font-size:16px;color:#333;text-align:left;font-weight:bold;overflow:hidden">それいけ魔女ちゃん</span><span class="ogpCard_description" style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.6;margin-top:4px;color:#757575;text-align:left;font-size:12px">一年の夏に制作開発環境はDXライブラリ外部ツールにエフェクシアを使用していますステージはファイル入出力で管理しています</span><span class="ogpCard_url" style="display:flex;align-items:center;margin-top:auto"><span class="ogpCard_iconWrap" style="position:relative;width:20px;height:20px;flex-shrink:0"><img alt="リンク" class="ogpCard_icon" height="20" loading="lazy" src="https://c.stat100.ameba.jp/ameblo/symbols/v3.20.0/svg/gray/editor_link.svg" style="position:absolute;top:0;bottom:0;right:0;left:0;height:100%;max-height:100%" width="20"></span><span class="ogpCard_urlText" style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#757575;font-size:12px;text-align:left">youtu.be</span></span></span><span class="ogpCard_imageWrap" style="position:relative;width:120px;height:120px;flex-shrink:0"><img alt="" class="ogpCard_image" data-ogp-card-image="" height="120" loading="lazy" src="https://i.ytimg.com/vi/IVZz9QNXXpc/maxresdefault.jpg" style="position:absolute;top:50%;left:50%;object-fit:cover;min-height:100%;min-width:100%;transform:translate(-50%,-50%)" width="120"></span></a></article></div><p>&nbsp;</p><p>Shooting</p><div class="ogpCard_root"><article class="ogpCard_wrap" contenteditable="false" style="display:inline-block;max-width:100%"><a class="ogpCard_link" data-ogp-card-log="" href="https://youtu.be/j-2byUUZA_8" rel="noopener noreferrer" style="display:flex;justify-content:space-between;overflow:hidden;box-sizing:border-box;width:620px;max-width:100%;height:120px;border:1px solid #e2e2e2;border-radius:4px;background-color:#fff;text-decoration:none" target="_blank"><span class="ogpCard_content" style="display:flex;flex-direction:column;overflow:hidden;width:100%;padding:16px"><span class="ogpCard_title" style="-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;max-height:48px;line-height:1.4;font-size:16px;color:#333;text-align:left;font-weight:bold;overflow:hidden">Shooting</span><span class="ogpCard_description" style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.6;margin-top:4px;color:#757575;text-align:left;font-size:12px">一年の後期に進級展として制作開発環境はDXライブラリ外部ツールとしてエフェクシアを使用していますスコアをファイル入出力で保存しています</span><span class="ogpCard_url" style="display:flex;align-items:center;margin-top:auto"><span class="ogpCard_iconWrap" style="position:relative;width:20px;height:20px;flex-shrink:0"><img alt="リンク" class="ogpCard_icon" height="20" loading="lazy" src="https://c.stat100.ameba.jp/ameblo/symbols/v3.20.0/svg/gray/editor_link.svg" style="position:absolute;top:0;bottom:0;right:0;left:0;height:100%;max-height:100%" width="20"></span><span class="ogpCard_urlText" style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#757575;font-size:12px;text-align:left">youtu.be</span></span></span><span class="ogpCard_imageWrap" style="position:relative;width:120px;height:120px;flex-shrink:0"><img alt="" class="ogpCard_image" data-ogp-card-image="" height="120" loading="lazy" src="https://i.ytimg.com/vi/j-2byUUZA_8/hqdefault.jpg" style="position:absolute;top:50%;left:50%;object-fit:cover;min-height:100%;min-width:100%;transform:translate(-50%,-50%)" width="120"></span></a></article></div><p>&nbsp;</p><p>玉職人</p><div class="ogpCard_root"><article class="ogpCard_wrap" contenteditable="false" style="display:inline-block;max-width:100%"><a class="ogpCard_link" data-ogp-card-log="" href="https://youtu.be/Iutoos6iuQA" rel="noopener noreferrer" style="display:flex;justify-content:space-between;overflow:hidden;box-sizing:border-box;width:620px;max-width:100%;height:120px;border:1px solid #e2e2e2;border-radius:4px;background-color:#fff;text-decoration:none" target="_blank"><span class="ogpCard_content" style="display:flex;flex-direction:column;overflow:hidden;width:100%;padding:16px"><span class="ogpCard_title" style="-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;max-height:48px;line-height:1.4;font-size:16px;color:#333;text-align:left;font-weight:bold;overflow:hidden">玉職人</span><span class="ogpCard_description" style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.6;margin-top:4px;color:#757575;text-align:left;font-size:12px">一年の後期に一週間で作った作品開発環境はDXライブラリ</span><span class="ogpCard_url" style="display:flex;align-items:center;margin-top:auto"><span class="ogpCard_iconWrap" style="position:relative;width:20px;height:20px;flex-shrink:0"><img alt="リンク" class="ogpCard_icon" height="20" loading="lazy" src="https://c.stat100.ameba.jp/ameblo/symbols/v3.20.0/svg/gray/editor_link.svg" style="position:absolute;top:0;bottom:0;right:0;left:0;height:100%;max-height:100%" width="20"></span><span class="ogpCard_urlText" style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#757575;font-size:12px;text-align:left">youtu.be</span></span></span><span class="ogpCard_imageWrap" style="position:relative;width:120px;height:120px;flex-shrink:0"><img alt="" class="ogpCard_image" data-ogp-card-image="" height="120" loading="lazy" src="https://i.ytimg.com/vi/Iutoos6iuQA/hqdefault.jpg" style="position:absolute;top:50%;left:50%;object-fit:cover;min-height:100%;min-width:100%;transform:translate(-50%,-50%)" width="120"></span></a></article></div><p>&nbsp;</p><p>NotesClicker</p><div class="ogpCard_root"><article class="ogpCard_wrap" contenteditable="false" style="display:inline-block;max-width:100%"><a class="ogpCard_link" data-ogp-card-log="" href="https://youtu.be/43xX6ijmees" rel="noopener noreferrer" style="display:flex;justify-content:space-between;overflow:hidden;box-sizing:border-box;width:620px;max-width:100%;height:120px;border:1px solid #e2e2e2;border-radius:4px;background-color:#fff;text-decoration:none" target="_blank"><span class="ogpCard_content" style="display:flex;flex-direction:column;overflow:hidden;width:100%;padding:16px"><span class="ogpCard_title" style="-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;max-height:48px;line-height:1.4;font-size:16px;color:#333;text-align:left;font-weight:bold;overflow:hidden">NotesClicker</span><span class="ogpCard_description" style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.6;margin-top:4px;color:#757575;text-align:left;font-size:12px">一年後期に制作開発環境はDXライブラリ一週間ほどで製作した作品スコアと状態をファイル入出力で保存しています</span><span class="ogpCard_url" style="display:flex;align-items:center;margin-top:auto"><span class="ogpCard_iconWrap" style="position:relative;width:20px;height:20px;flex-shrink:0"><img alt="リンク" class="ogpCard_icon" height="20" loading="lazy" src="https://c.stat100.ameba.jp/ameblo/symbols/v3.20.0/svg/gray/editor_link.svg" style="position:absolute;top:0;bottom:0;right:0;left:0;height:100%;max-height:100%" width="20"></span><span class="ogpCard_urlText" style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#757575;font-size:12px;text-align:left">youtu.be</span></span></span><span class="ogpCard_imageWrap" style="position:relative;width:120px;height:120px;flex-shrink:0"><img alt="" class="ogpCard_image" data-ogp-card-image="" height="120" loading="lazy" src="https://i.ytimg.com/vi/43xX6ijmees/hqdefault.jpg" style="position:absolute;top:50%;left:50%;object-fit:cover;min-height:100%;min-width:100%;transform:translate(-50%,-50%)" width="120"></span></a></article></div><p>&nbsp;</p><p>BlueTile</p><p>&nbsp;</p><div class="ogpCard_root"><article class="ogpCard_wrap" contenteditable="false" style="display:inline-block;max-width:100%"><a class="ogpCard_link" data-ogp-card-log="" href="https://youtu.be/NvnYDbdOBNE" rel="noopener noreferrer" style="display:flex;justify-content:space-between;overflow:hidden;box-sizing:border-box;width:620px;max-width:100%;height:120px;border:1px solid #e2e2e2;border-radius:4px;background-color:#fff;text-decoration:none" target="_blank"><span class="ogpCard_content" style="display:flex;flex-direction:column;overflow:hidden;width:100%;padding:16px"><span class="ogpCard_title" style="-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;max-height:48px;line-height:1.4;font-size:16px;color:#333;text-align:left;font-weight:bold;overflow:hidden">BlueTile</span><span class="ogpCard_description" style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.6;margin-top:4px;color:#757575;text-align:left;font-size:12px">プチコンというUnreal&nbsp;Engineのコンテストに提出した作品間髪環境はUnreal&nbsp;Engine開発期間は一週間NinjaCharacterPluginというプラグインを使用して作った</span><span class="ogpCard_url" style="display:flex;align-items:center;margin-top:auto"><span class="ogpCard_iconWrap" style="position:relative;width:20px;height:20px;flex-shrink:0"><img alt="リンク" class="ogpCard_icon" height="20" loading="lazy" src="https://c.stat100.ameba.jp/ameblo/symbols/v3.20.0/svg/gray/editor_link.svg" style="position:absolute;top:0;bottom:0;right:0;left:0;height:100%;max-height:100%" width="20"></span><span class="ogpCard_urlText" style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#757575;font-size:12px;text-align:left">youtu.be</span></span></span><span class="ogpCard_imageWrap" style="position:relative;width:120px;height:120px;flex-shrink:0"><img alt="" class="ogpCard_image" data-ogp-card-image="" height="120" loading="lazy" src="https://i.ytimg.com/vi/NvnYDbdOBNE/maxresdefault.jpg" style="position:absolute;top:50%;left:50%;object-fit:cover;min-height:100%;min-width:100%;transform:translate(-50%,-50%)" width="120"></span></a></article></div><p>&nbsp;</p><p>Mr,BANDIT</p><div class="ogpCard_root"><article class="ogpCard_wrap" contenteditable="false" style="display:inline-block;max-width:100%"><a class="ogpCard_link" data-ogp-card-log="" href="https://youtu.be/M47ccG8BQ38" rel="noopener noreferrer" style="display:flex;justify-content:space-between;overflow:hidden;box-sizing:border-box;width:620px;max-width:100%;height:120px;border:1px solid #e2e2e2;border-radius:4px;background-color:#fff;text-decoration:none" target="_blank"><span class="ogpCard_content" style="display:flex;flex-direction:column;overflow:hidden;width:100%;padding:16px"><span class="ogpCard_title" style="-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;max-height:48px;line-height:1.4;font-size:16px;color:#333;text-align:left;font-weight:bold;overflow:hidden">Mr,BANDIT</span><span class="ogpCard_description" style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.6;margin-top:4px;color:#757575;text-align:left;font-size:12px">日本ゲーム大賞アマチュア部門に提出した作品初めてチームで製作したゲーム開発環境はUnreal&nbsp;Engineプログラマ―としてギミック、UIを担当した</span><span class="ogpCard_url" style="display:flex;align-items:center;margin-top:auto"><span class="ogpCard_iconWrap" style="position:relative;width:20px;height:20px;flex-shrink:0"><img alt="リンク" class="ogpCard_icon" height="20" loading="lazy" src="https://c.stat100.ameba.jp/ameblo/symbols/v3.20.0/svg/gray/editor_link.svg" style="position:absolute;top:0;bottom:0;right:0;left:0;height:100%;max-height:100%" width="20"></span><span class="ogpCard_urlText" style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#757575;font-size:12px;text-align:left">youtu.be</span></span></span><span class="ogpCard_imageWrap" style="position:relative;width:120px;height:120px;flex-shrink:0"><img alt="" class="ogpCard_image" data-ogp-card-image="" height="120" loading="lazy" src="https://i.ytimg.com/vi/M47ccG8BQ38/maxresdefault.jpg" style="position:absolute;top:50%;left:50%;object-fit:cover;min-height:100%;min-width:100%;transform:translate(-50%,-50%)" width="120"></span></a></article></div><p>&nbsp;</p><div class="ogpCard_root">&nbsp;</div><p>道が現れる</p><div class="ogpCard_root"><article class="ogpCard_wrap" contenteditable="false" style="display:inline-block;max-width:100%"><a class="ogpCard_link" data-ogp-card-log="" href="https://youtu.be/Jl_qB8oOg1s" rel="noopener noreferrer" style="display:flex;justify-content:space-between;overflow:hidden;box-sizing:border-box;width:620px;max-width:100%;height:120px;border:1px solid #e2e2e2;border-radius:4px;background-color:#fff;text-decoration:none" target="_blank"><span class="ogpCard_content" style="display:flex;flex-direction:column;overflow:hidden;width:100%;padding:16px"><span class="ogpCard_title" style="-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;max-height:48px;line-height:1.4;font-size:16px;color:#333;text-align:left;font-weight:bold;overflow:hidden">道が現れる</span><span class="ogpCard_description" style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.6;margin-top:4px;color:#757575;text-align:left;font-size:12px">プチコンに参加した作品開発環境はUnreal Engine開発期間は一週間です</span><span class="ogpCard_url" style="display:flex;align-items:center;margin-top:auto"><span class="ogpCard_iconWrap" style="position:relative;width:20px;height:20px;flex-shrink:0"><img alt="リンク" class="ogpCard_icon" height="20" loading="lazy" src="https://c.stat100.ameba.jp/ameblo/symbols/v3.20.0/svg/gray/editor_link.svg" style="position:absolute;top:0;bottom:0;right:0;left:0;height:100%;max-height:100%" width="20"></span><span class="ogpCard_urlText" style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#757575;font-size:12px;text-align:left">youtu.be</span></span></span><span class="ogpCard_imageWrap" style="position:relative;width:120px;height:120px;flex-shrink:0"><img alt="" class="ogpCard_image" data-ogp-card-image="" height="120" loading="lazy" src="https://i.ytimg.com/vi/Jl_qB8oOg1s/maxresdefault.jpg" style="position:absolute;top:50%;left:50%;object-fit:cover;min-height:100%;min-width:100%;transform:translate(-50%,-50%)" width="120"></span></a></article></div><p>&nbsp;</p><p>BattingCenter</p><div class="ogpCard_root"><article class="ogpCard_wrap" contenteditable="false" style="display:inline-block;max-width:100%"><a class="ogpCard_link" data-ogp-card-log="" href="https://youtu.be/HxlU1ZbRfck" rel="noopener noreferrer" style="display:flex;justify-content:space-between;overflow:hidden;box-sizing:border-box;width:620px;max-width:100%;height:120px;border:1px solid #e2e2e2;border-radius:4px;background-color:#fff;text-decoration:none" target="_blank"><span class="ogpCard_content" style="display:flex;flex-direction:column;overflow:hidden;width:100%;padding:16px"><span class="ogpCard_title" style="-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;max-height:48px;line-height:1.4;font-size:16px;color:#333;text-align:left;font-weight:bold;overflow:hidden">BattingCenter</span><span class="ogpCard_description" style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.6;margin-top:4px;color:#757575;text-align:left;font-size:12px">学内ゲームジャムでチームで作った作品開発環境はUnreal&nbsp;Engine開発期間は3日でリーダーとしてチームをまとめた</span><span class="ogpCard_url" style="display:flex;align-items:center;margin-top:auto"><span class="ogpCard_iconWrap" style="position:relative;width:20px;height:20px;flex-shrink:0"><img alt="リンク" class="ogpCard_icon" height="20" loading="lazy" src="https://c.stat100.ameba.jp/ameblo/symbols/v3.20.0/svg/gray/editor_link.svg" style="position:absolute;top:0;bottom:0;right:0;left:0;height:100%;max-height:100%" width="20"></span><span class="ogpCard_urlText" style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#757575;font-size:12px;text-align:left">youtu.be</span></span></span><span class="ogpCard_imageWrap" style="position:relative;width:120px;height:120px;flex-shrink:0"><img alt="" class="ogpCard_image" data-ogp-card-image="" height="120" loading="lazy" src="https://i.ytimg.com/vi/HxlU1ZbRfck/maxresdefault.jpg" style="position:absolute;top:50%;left:50%;object-fit:cover;min-height:100%;min-width:100%;transform:translate(-50%,-50%)" width="120"></span></a></article></div><p>&nbsp;</p><p>箱庭戦争</p><div class="ogpCard_root"><article class="ogpCard_wrap" contenteditable="false" style="display:inline-block;max-width:100%"><a class="ogpCard_link" data-ogp-card-log="" href="https://youtu.be/_zqSo4qXn2k" rel="noopener noreferrer" style="display:flex;justify-content:space-between;overflow:hidden;box-sizing:border-box;width:620px;max-width:100%;height:120px;border:1px solid #e2e2e2;border-radius:4px;background-color:#fff;text-decoration:none" target="_blank"><span class="ogpCard_content" style="display:flex;flex-direction:column;overflow:hidden;width:100%;padding:16px"><span class="ogpCard_title" style="-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;max-height:48px;line-height:1.4;font-size:16px;color:#333;text-align:left;font-weight:bold;overflow:hidden">箱庭戦争</span><span class="ogpCard_description" style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.6;margin-top:4px;color:#757575;text-align:left;font-size:12px">二年の夏から作っている作品開発環境はDirectXTK</span><span class="ogpCard_url" style="display:flex;align-items:center;margin-top:auto"><span class="ogpCard_iconWrap" style="position:relative;width:20px;height:20px;flex-shrink:0"><img alt="リンク" class="ogpCard_icon" height="20" loading="lazy" src="https://c.stat100.ameba.jp/ameblo/symbols/v3.20.0/svg/gray/editor_link.svg" style="position:absolute;top:0;bottom:0;right:0;left:0;height:100%;max-height:100%" width="20"></span><span class="ogpCard_urlText" style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#757575;font-size:12px;text-align:left">youtu.be</span></span></span><span class="ogpCard_imageWrap" style="position:relative;width:120px;height:120px;flex-shrink:0"><img alt="" class="ogpCard_image" data-ogp-card-image="" height="120" loading="lazy" src="https://i.ytimg.com/vi/_zqSo4qXn2k/maxresdefault.jpg" style="position:absolute;top:50%;left:50%;object-fit:cover;min-height:100%;min-width:100%;transform:translate(-50%,-50%)" width="120"></span></a></article></div><p>&nbsp;</p>
]]>
</description>
<link>https://ameblo.jp/marimokamisama/entry-12736833127.html</link>
<pubDate>Mon, 11 Apr 2022 12:12:28 +0900</pubDate>
</item>
<item>
<title>DirectXTKで日本語のフォントを使う方法</title>
<description>
<![CDATA[ <p>DirectXTKで日本語のフォントを使う方法を調べてみた。</p><p>&nbsp;</p><p>まず参考になったのがこちら</p><p>&nbsp;</p><p><a href="https://qiita.com/katsusanw/items/c42b737d8d91d903474a">DirectXTKのMakeSpriteFontの問題と解決策 - Qiita</a></p><p>&nbsp;</p><p>このページを参考にするだけで超簡単に日本語フォントを使えるようになった。</p><p>どのようなな方法かというと<span style="font-weight:bold;">DirectXTK</span>をダウンロードし中に入っている<span style="font-weight:bold;">MakeSpriteFont</span>を使いspritefontを新しく作成する方法である。</p><p>&nbsp;</p><p>必要なものは二つ。</p><p><span style="font-weight:bold;">１.</span>DirectXTKの中にある<span style="font-weight:bold;">MakeSpriteFont</span></p><p><b>2.</b>MakeSpriteFontModify.zip&nbsp;</p><p>&nbsp;</p><p>以上である。</p><p>MakeSpriteFontModify.zip は以下のページからダウンロードできる。</p><p><a href="https://zerogram.info/blog/?p=1012">DirectXTKでフォント表示、日本語対応 – ZeroGram</a></p><p>&nbsp;</p><p>手順は以下の通り</p><p>1.MakeSpriteFontModifyの中にあるmodifyの中のTrueTypeImporter.csをMakeSpriteFontのフォルダの中にコピーする。</p><p>2.MakeSpriteFontModifyの中にあるmodifyの中のGlyphPacker.csを開き<span style="font-weight:bold;">PositionGlyph</span>の関数をMakeSpriteFontの中にあるGlyphPacker.csの<span style="font-weight:bold;">PositionGlyph</span>と差し替える。</p><p>3.MakeSpriteFontModifyの中にあるmodifyの中のGlyphPacker.csを開き<span style="font-weight:bold;">ArrangeGlyphs</span>の関数をMakeSpriteFontの中にあるGlyphPacker.csの<span style="font-weight:bold;">ArrangeGlyphs</span>と差し替える。</p><p>4.MakeSpriteFontの中にある<span style="font-weight:bold;">MakeSpriteFont.csproj</span>を開きビルドする。</p><p>5.ビルドしてできたbinの中にあるDebugの中のMakeSpriteFont.exeをコマンドプロンプトで開きMakeSpriteFont.exe <span style="color:#ff0000;"><span style="font-weight:bold;">"ＭＳ ゴシック"</span></span> myfile.spritefont /FontSize:34&nbsp;/CharacterRegion:32-126 /CharacterRegion:0x3000-0x30ff /CharacterRegion:0xff00-0xffef /CharacterRegion:0x4e00-0x9fff /CharacterRegion:0x2000-0x2fffと入力し実行する。</p><p>&nbsp;</p><p>コマンドプロンプトで実行するとmyfile.spritefontというファイルがどこかに作られるのでそれをDirectXTKで読み込むと日本語フォントが使えます。</p><p><span style="color:#ff0000;"><span style="font-weight:bold;">"ＭＳ ゴシック"</span></span>の部分は別のフォントやダウンロードしたフォントでも問題なくできます。</p>
]]>
</description>
<link>https://ameblo.jp/marimokamisama/entry-12728794557.html</link>
<pubDate>Fri, 25 Feb 2022 14:50:44 +0900</pubDate>
</item>
<item>
<title>listよりvectorのほうが早い</title>
<description>
<![CDATA[ <p>listとvectorでは処理速度が五倍ぐらい差があります。</p><p>繰り返しの処理の多い部分ではvectorを使うほうが無難です。</p><p>それと以前書いたlistとiteratorでの弾の管理ですが、ゲーム中にnewで弾を作っているので処理が遅くなっています。</p><p>あらかじめ弾を初期化時に作っておいてゲームループ中では作ったものを使いまわすのが処理が最も軽くなるやり方ですね。</p><p><span style="font-weight:bold;"><span style="color:#ff0000;">ゲームループ中にnewをするのはメモリリークの原因になるのでダメです。</span></span></p>
]]>
</description>
<link>https://ameblo.jp/marimokamisama/entry-12724638404.html</link>
<pubDate>Wed, 02 Feb 2022 13:46:44 +0900</pubDate>
</item>
<item>
<title>チーム製作って大変だなって話</title>
<description>
<![CDATA[ <p>チームでゲーム制作をして大変だと思ったことは作業の分担、連携が難しいってことです。</p><p>まず誰にどんな仕事が割り振られるのか決めないといけないし作業の環境も合わせないといけないので非常にやりずらいと思いました。</p><p>他のところがどういう作業をしているか把握できないの連絡を取り合って進捗を話し合わなければいけません。</p><p>なれないこともあり非常に苦労しました。</p><p>&nbsp;</p><p>人数が多い分作業効率も上がると思っていましたが足並みを合わせないといけないのでかえって時間がかかった気もします。</p><p>&nbsp;</p><p>一人のやったほうが気楽でいいなと思いました。</p>
]]>
</description>
<link>https://ameblo.jp/marimokamisama/entry-12676961086.html</link>
<pubDate>Thu, 27 May 2021 10:24:31 +0900</pubDate>
</item>
</channel>
</rss>
