UE4
想吃冬天的火锅
这个作者很懒,什么都没留下…
展开
-
UE4小游戏4
记录UE4小游戏创建一个继承与AIController的AIEnemy用于控制Enemy,Enemy类负责做状态的转换。Enemy.h// Fill out your copyright notice in the Description page of Project Settings.#pragma once#include "CoreMinimal.h"#include "GameFramework/Character.h"#include "..\Public\PacManChar原创 2021-02-04 22:34:35 · 477 阅读 · 0 评论 -
UE4小游戏3
UE4小游戏3更改下错误: 上次在创建Collectables实列的时候用的是继承于C++Collectables类的蓝图类,可以直接用C++类。今天控制主角吃豆子MyPacManCharacter.h// Fill out your copyright notice in the Description page of Project Settings.#pragma once#include "CoreMinimal.h"#include "GameFramework/Charact原创 2021-02-03 21:58:50 · 196 阅读 · 0 评论 -
UE小游戏2
UE4小游戏二—创建能移动的主角创建主角继承于character类先上代码(一部分,只是关于移动的代码)MyPacManCharacter.h// Fill out your copyright notice in the Description page of Project Settings.#pragma once#include "CoreMinimal.h"#include "GameFramework/Character.h"#include "MyPacManChar原创 2021-02-02 22:47:47 · 463 阅读 · 0 评论 -
B站上的UE4吃豆人
UE4做一个C++小游戏(3D吃豆人)记录自己的第一个UE4小游戏用画刷自己做一个地图创建豆子类继承于ActorCollectables.h// Fill out your copyright notice in the Description page of Project Settings.#pragma once#include "CoreMinimal.h"#include "GameFramework/Actor.h"#include "Components/Sph原创 2021-02-02 21:31:40 · 396 阅读 · 0 评论