From c5f5288e96bfb79a845b498fb982920a151302f5 Mon Sep 17 00:00:00 2001 From: 10000Je Date: Thu, 8 May 2025 22:26:16 +0900 Subject: [PATCH] =?UTF-8?q?Game=20Mode=20=ED=81=B4=EB=9E=98=EC=8A=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Config/DefaultEngine.ini | 1 + .../GameMode/BP_ToonTanksGameMode.uasset | 3 +++ Content/Blueprints/Pawns/BP_PawnTank.uasset | 4 ++-- Content/Maps/Main.umap | 4 ++-- Source/ToonTanks/ToonTanksGameMode.cpp | 5 +++++ Source/ToonTanks/ToonTanksGameMode.h | 17 +++++++++++++++++ 6 files changed, 30 insertions(+), 4 deletions(-) create mode 100644 Content/Blueprints/GameMode/BP_ToonTanksGameMode.uasset create mode 100644 Source/ToonTanks/ToonTanksGameMode.cpp create mode 100644 Source/ToonTanks/ToonTanksGameMode.h diff --git a/Config/DefaultEngine.ini b/Config/DefaultEngine.ini index 732be06..a54f58e 100644 --- a/Config/DefaultEngine.ini +++ b/Config/DefaultEngine.ini @@ -7,6 +7,7 @@ r.DefaultFeature.AutoExposure=False [/Script/EngineSettings.GameMapsSettings] EditorStartupMap=/Game/Maps/Main.Main GameDefaultMap=/Game/Maps/Main.Main +GlobalDefaultGameMode=/Game/Blueprints/GameMode/BP_ToonTanksGameMode.BP_ToonTanksGameMode_C [/Script/HardwareTargeting.HardwareTargetingSettings] TargetedHardwareClass=Desktop diff --git a/Content/Blueprints/GameMode/BP_ToonTanksGameMode.uasset b/Content/Blueprints/GameMode/BP_ToonTanksGameMode.uasset new file mode 100644 index 0000000..6e65ed6 --- /dev/null +++ b/Content/Blueprints/GameMode/BP_ToonTanksGameMode.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a22a0fdf1483ab9020016fe87a1eab9051287dcd5576b709ec2f2cbdb9d40da0 +size 21231 diff --git a/Content/Blueprints/Pawns/BP_PawnTank.uasset b/Content/Blueprints/Pawns/BP_PawnTank.uasset index 4fb7611..a9a7499 100644 --- a/Content/Blueprints/Pawns/BP_PawnTank.uasset +++ b/Content/Blueprints/Pawns/BP_PawnTank.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fdab66de9b566c666f7ac0675896b3c110c30739362f50ab8e34550b95f66603 -size 39271 +oid sha256:f273a86e094bb881960e4b6768602955095648f0e721024df9262a186f22598f +size 39375 diff --git a/Content/Maps/Main.umap b/Content/Maps/Main.umap index b38dc68..9c17193 100644 --- a/Content/Maps/Main.umap +++ b/Content/Maps/Main.umap @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ffd1f513bbd00b62ee2303251f73810c645dd31cab187591fbccbd1ae122bb3a -size 132170 +oid sha256:e94fcd005d7e13734055df2b3e329429ffdd49e52158f82d3799b059c6b480ea +size 128399 diff --git a/Source/ToonTanks/ToonTanksGameMode.cpp b/Source/ToonTanks/ToonTanksGameMode.cpp new file mode 100644 index 0000000..9db2f13 --- /dev/null +++ b/Source/ToonTanks/ToonTanksGameMode.cpp @@ -0,0 +1,5 @@ +// Fill out your copyright notice in the Description page of Project Settings. + + +#include "ToonTanksGameMode.h" + diff --git a/Source/ToonTanks/ToonTanksGameMode.h b/Source/ToonTanks/ToonTanksGameMode.h new file mode 100644 index 0000000..9986ccb --- /dev/null +++ b/Source/ToonTanks/ToonTanksGameMode.h @@ -0,0 +1,17 @@ +// Fill out your copyright notice in the Description page of Project Settings. + +#pragma once + +#include "CoreMinimal.h" +#include "GameFramework/GameModeBase.h" +#include "ToonTanksGameMode.generated.h" + +/** + * + */ +UCLASS() +class TOONTANKS_API AToonTanksGameMode : public AGameModeBase +{ + GENERATED_BODY() + +};