<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://www.yz-learning.com/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel xmlns:g="http://base.google.com/ns/1.0">
        <title>Yz-Learning Base Wiki - game-engineer:classes:2025:game-development-1</title>
        <description></description>
        <link>https://www.yz-learning.com/</link>
        <lastBuildDate>Sat, 04 Apr 2026 04:22:24 +0000</lastBuildDate>
        <generator>FeedCreator 1.8</generator>
        <image>
            <url>https://www.yz-learning.com/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
            <title>Yz-Learning Base Wiki</title>
            <link>https://www.yz-learning.com/</link>
        </image>
        <item>
            <title>C＋＋でプログラム書いてみるよ</title>
            <link>https://www.yz-learning.com/doku.php?id=game-engineer:classes:2025:game-development-1:no-01&amp;rev=1759729075</link>
            <description>C＋＋でプログラム書いてみるよ

お品書き

	*  1️⃣C++でハロワ
	*  2️⃣C++でcout
	*  3️⃣streamってなんだろう
	*  4️⃣いろんなものを流しこもう
	*  5️⃣Cの文字
	*  6️⃣Cの文字列
	*  7️⃣C++の文字列</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 06 Oct 2025 05:37:55 +0000</pubDate>
        </item>
        <item>
            <title>１回目　導入回＋文字列</title>
            <link>https://www.yz-learning.com/doku.php?id=game-engineer:classes:2025:game-development-1:no-02&amp;rev=1759890761</link>
            <description>１回目　導入回＋文字列

第1回授業：C++導入とCとの違い（入出力・文字列・書式制御）

目標

C言語の知識をもとに、C++の基本文法と文字列処理を理解する。

	*  iostream を使った標準入出力を理解する。</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 08 Oct 2025 02:32:41 +0000</pubDate>
        </item>
        <item>
            <title>🧩 補足資料：C言語の関数の基本</title>
            <link>https://www.yz-learning.com/doku.php?id=game-engineer:classes:2025:game-development-1:no-03&amp;rev=1760353463</link>
            <description>🧩 補足資料：C言語の関数の基本

----------

🧠 関数とは？

C言語の関数は、処理をひとまとめにして何度も呼び出せる仕組みです。  
プログラムの再利用性・可読性を高めるために使います。</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 13 Oct 2025 11:04:23 +0000</pubDate>
        </item>
        <item>
            <title>💻補足のソースたち</title>
            <link>https://www.yz-learning.com/doku.php?id=game-engineer:classes:2025:game-development-1:no-04-1&amp;rev=1760943673</link>
            <description>💻補足のソースたち

🟦関数と引数


#include &lt;iostream&gt;
#include &lt;vector&gt;
#include &lt;iomanip&gt; // std::setprecision
// 関数のプロトタイプ宣言
float getAverage(float score[], int num); //平均値を計算して返す
char getRank(float score[], int num); //80点以上→A、60点以上→B、40点以上→C、それ以下→D

int main() {
	//std::vector&lt;double&gt; scores(3); //(N)ってやればN個の要素を持つ配列が作れる
	float scores[3];
	std::cout &lt;&lt; &quot;3科目の点数を入力してください（例: 80 70 90）&gt; &quot;;
	for (int i = 0;i &lt; 3; i++) 
		std::cin &gt;&gt; scores[i];

	double avg = getAverage(scores, 3);
	char rank = getRank(scores, 3…</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 20 Oct 2025 07:01:13 +0000</pubDate>
        </item>
        <item>
            <title>🧮 練習問題</title>
            <link>https://www.yz-learning.com/doku.php?id=game-engineer:classes:2025:game-development-1:no-04&amp;rev=1760937586</link>
            <description>🧮 練習問題

第1問：平均点と評価を返す関数

3科目の点数を入力し、平均点を返す関数と、その平均に応じて評価（A〜D）を返す関数を作れ。

	*  getAverage() … 平均値を計算して返す
	*</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 20 Oct 2025 05:19:46 +0000</pubDate>
        </item>
        <item>
            <title>🎯 第2回　関数と参照・オーバーロード</title>
            <link>https://www.yz-learning.com/doku.php?id=game-engineer:classes:2025:game-development-1:no-05&amp;rev=1761103459</link>
            <description>🎯 第2回　関数と参照・オーバーロード

---

🏁 授業目標

	*  C++の関数の定義・宣言・呼び出しを理解する
	*  const参照(const &amp;)の使い方を理解する
	*  関数のオーバーロードを使って柔軟な関数設計ができるようにする</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 22 Oct 2025 03:24:19 +0000</pubDate>
        </item>
        <item>
            <title></title>
            <link>https://www.yz-learning.com/doku.php?id=game-engineer:classes:2025:game-development-1:no-07-1&amp;rev=1761112869</link>
            <description>#include &lt;iostream&gt;
#include &lt;string&gt;

using std::cout;
using std::endl;
using std::string;

struct Position {
	int x;
	int y;
};

class PlayerClass {
public:
	Position pos;// プレイヤーの位置（メンバ変数）

	PlayerClass() { // コンストラクタ
		pos.x = 0;
		pos.y = 0;
	}
	void Walk() {// プレイヤーの移動(メンバ関数）
		pos.x += 1;
		pos.y += 0;
	}
};
class EnemyClass {
public:
	Position pos;// 敵の位置（メンバ変数）
	EnemyClass() { // コンストラクタ
		pos.x = 100;
		pos.y = 0;
	}
	void Walk() {// 敵の移動(メンバ関数）
		pos.x -= 1;
		pos.y += 0;
	}
};


//１フ…</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 22 Oct 2025 06:01:09 +0000</pubDate>
        </item>
        <item>
            <title>第3回：クラス・コンストラクタ入門（キャラクターの動きを例に）</title>
            <link>https://www.yz-learning.com/doku.php?id=game-engineer:classes:2025:game-development-1:no-07&amp;rev=1761108333</link>
            <description>第3回：クラス・コンストラクタ入門（キャラクターの動きを例に）

テーマ：構造体ベースのキャラ操作 → クラス化で整理しよう！

----------

🎯 学習目標

	*  構造体とクラスの違いを、キャラクター制御の例から理解する</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 22 Oct 2025 04:45:33 +0000</pubDate>
        </item>
        <item>
            <title>🎓 第1章　クラスを作ってみよう：Rectangleクラス</title>
            <link>https://www.yz-learning.com/doku.php?id=game-engineer:classes:2025:game-development-1:no-08-1&amp;rev=1761486945</link>
            <description>🎓 第1章　クラスを作ってみよう：Rectangleクラス

🏁 学習目標

	*  class の基本的な書き方を理解する  
	*  「データ（変数）と処理（関数）をまとめる」考え方を体験する  
	*  main() 関数でクラスを使ってオブジェクトを生成し、メンバ関数を呼び出す方法を学ぶ</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 26 Oct 2025 13:55:45 +0000</pubDate>
        </item>
        <item>
            <title>🎓 第2章　コンストラクタを使ってみよう：Studentクラス</title>
            <link>https://www.yz-learning.com/doku.php?id=game-engineer:classes:2025:game-development-1:no-08-2&amp;rev=1761489256</link>
            <description>🎓 第2章　コンストラクタを使ってみよう：Studentクラス

🏁 学習目標

	*  コンストラクタ（初期化の仕組み）を理解する  
	*  オブジェクトを作るときに、値をまとめて設定する方法を学ぶ</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 26 Oct 2025 14:34:16 +0000</pubDate>
        </item>
        <item>
            <title>🎓 第3章　オブジェクトの状態を変える：BankAccountクラス</title>
            <link>https://www.yz-learning.com/doku.php?id=game-engineer:classes:2025:game-development-1:no-08-3&amp;rev=1761487453</link>
            <description>🎓 第3章　オブジェクトの状態を変える：BankAccountクラス

🏁 学習目標

	*  クラスの内部データ（メンバ変数）を「操作する」メンバ関数を作る  
	*  コンストラクタと中かっこ { } 初期化を復習する</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 26 Oct 2025 14:04:13 +0000</pubDate>
        </item>
        <item>
            <title>🎓 第4章　計算できるクラスを作ろう：Vector2Dクラス</title>
            <link>https://www.yz-learning.com/doku.php?id=game-engineer:classes:2025:game-development-1:no-08-4&amp;rev=1761488323</link>
            <description>🎓 第4章　計算できるクラスを作ろう：Vector2Dクラス

🏁 学習目標

	*  引数と戻り値を持つメンバ関数を作る  
	*  オブジェクト同士の計算を行う方法を理解する  
	*  sqrt() 関数を使ってベクトルの長さ（距離）を求める</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 26 Oct 2025 14:18:43 +0000</pubDate>
        </item>
        <item>
            <title>🎮 第5章　動くオブジェクトを作ろう：Playerクラス（外部定義編）</title>
            <link>https://www.yz-learning.com/doku.php?id=game-engineer:classes:2025:game-development-1:no-08-5&amp;rev=1761610958</link>
            <description>🎮 第5章　動くオブジェクトを作ろう：Playerクラス（外部定義編）

🏁 学習目標

	*  クラスの外でメンバ関数を定義する方法を学ぶ  
	*  「スコープ解決演算子（::）」の意味を理解する</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 28 Oct 2025 00:22:38 +0000</pubDate>
        </item>
        <item>
            <title>🧭 第6.5章　縮小表示のステージ＋当たり判定（完全版＋イニシャライ ...</title>
            <link>https://www.yz-learning.com/doku.php?id=game-engineer:classes:2025:game-development-1:no-08-6_5&amp;rev=1761704118</link>
            <description>🧭 第6.5章　縮小表示のステージ＋当たり判定（完全版＋イニシャライザ解説付き）

🧩 メンバイニシャライザとは？

クラスのメンバ変数を、コンストラクタのかっこの後に「:」を使って初期化する方法</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 29 Oct 2025 02:15:18 +0000</pubDate>
        </item>
        <item>
            <title>🎯 第6章　距離で判断するオブジェクト：Enemyクラス</title>
            <link>https://www.yz-learning.com/doku.php?id=game-engineer:classes:2025:game-development-1:no-08-6&amp;rev=1761488877</link>
            <description>🎯 第6章　距離で判断するオブジェクト：Enemyクラス

🏁 学習目標

	*  2つのオブジェクト間の距離を計算できるようにする  
	*  const参照（const &amp;）を使って安全かつ効率的にデータを渡す  $$
距離 = \sqrt{(x_1 - x_2)^2 + (y_1 - y_2)^2}
$$</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 26 Oct 2025 14:27:57 +0000</pubDate>
        </item>
        <item>
            <title>クラスの復習しながら、双六チックなやつを作っていく</title>
            <link>https://www.yz-learning.com/doku.php?id=game-engineer:classes:2025:game-development-1:no-09&amp;rev=1762318128</link>
            <description>クラスの復習しながら、双六チックなやつを作っていく

1時間目



#include &quot;DxLib.h&quot;
#include &quot;globals.h&quot;
#include &quot;input.h&quot;
#include &quot;Vector2D.h&quot;

//ファイルの中だけで使えるグローバル変数
namespace
{
	const int BGCOLOR[3] = {255, 250, 205}; // 背景色{ 255, 250, 205 }; // 背景色
	int crrTime;
	int prevTime;
	float atTime;//フレーム間時間表示用の変数
	Vector2D a(0, 0);
	Vector2D b(50, 0);
}


float gDeltaTime = 0.0f; // フレーム間の時間差

void DxInit()
{
	ChangeWindowMode(true);
	SetWindowSizeChangeEnableFlag(false, false);
	SetMainWindowText(&quot;TITLE&quot;);
	SetGraphMode(WIN_W…</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 05 Nov 2025 04:48:48 +0000</pubDate>
        </item>
        <item>
            <title>🧭 ドラクエ風「商人クラス」で学ぶ getter / setter / public / private</title>
            <link>https://www.yz-learning.com/doku.php?id=game-engineer:classes:2025:game-development-1:no-010&amp;rev=1762476382</link>
            <description>🧭 ドラクエ風「商人クラス」で学ぶ getter / setter / public / private

🎯 学習目標

クラスの中のデータを 関数を通して安全に扱う 方法を学ぶ

getter と setter の役割を理解する

public / private を使って</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Fri, 07 Nov 2025 00:46:22 +0000</pubDate>
        </item>
        <item>
            <title>C++ 継承・隠蔽・動的生成・オーバーライド 授業資料</title>
            <link>https://www.yz-learning.com/doku.php?id=game-engineer:classes:2025:game-development-1:no-011&amp;rev=1763426961</link>
            <description>C++ 継承・隠蔽・動的生成・オーバーライド 授業資料

----------

0. プロジェクト構成

	*  共通基底クラス CharaBase
	*  旧プレイヤークラス Player
	*  敵キャラクラス Enemy
	*  新しいプレイヤー</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 18 Nov 2025 00:49:21 +0000</pubDate>
        </item>
    </channel>
</rss>
