4.57 de 5
4.57
3970 reseñas sobre Udemy

Unreal Engine 4 Mastery: Create Multiplayer Games with C++

Unleash the power of C++ and Blueprint to develop Multiplayer Games with AI in this Epic Games-approved course.
Instructor:
Tom Looman
23.836 estudiantes matriculados
English [Auto-generated] Más
Discover the power of C++ to build games in Unreal Engine 4.
Master the fundamentals of C++ programming.
Build multiplayer games you can play with friends.
Master Unreal's Gameplay Framework to create any genre of games.
Create multiple types of Artificial Intelligence within Unreal Engine 4.
Write clear code that can be exposed, extended and modified by Blueprint.

Approved by Epic Games and taught by former Epic Games engineer, Tom Looman, this course teaches you how to use C++ to build your own games including artificial intelligence in Unreal Engine 4.

If you have a bit of programming know-how from other coding languages but are new to C++ game development, then this course is for you! Unreal Engine 4 Mastery is also a great fit for current developers who have previous experience with Unity3D or other game engines. Unleash the full power of the Unreal Engine by taking this step-by-step guide.

In this course, you will:

  • Create two multiplayer-ready games in C++

  • Create multiple types of AI enemies

  • Expose C++ code to Blueprint to unlock the full power of the engine

  • Discover the fundamental classes required to build games

  • Code many common gameplay mechanics like weapons, power-ups, characters, guards, and more

  • Challenge yourself with fun activities that further test your programming knowledge

  • Discover many tricks and features in C++ to get the most out of Unreal Engine

  • Master the fundamentals to build your own dream game

You’ll go hands-on immediately and dive straight into completing over 14 challenges and two game projects. You’ll start by creating a first-person stealth game, where you’ll learn the basics of C++, AI, and networking. Then you’ll build a third-person cooperative shooter game, in the likes of Gears of War or Fortnite. In this project, you’ll expand your learning of C++, make the game fully multiplayer-ready, and create fun artificial intelligence to play against with friends.

This course is also packed with challenges where you’ll build a grenade launcher, a black hole that sucks in the fabric of space, and a launch pad that bounces players and objects around–just to name a few! Through these activities, you’ll explore the engine’s code, improve your problem-solving capabilities, and take your games to the next level.

By the end of the course, you can use your knowledge of C++ and Blueprints to build your own dream games. You can use the games built during this course for your personal projects moving forward, as you add more advanced features. Even if you thought C++ was difficult or intimidating before taking this course, you will learn how easy it is to code C++ within Unreal Engine 4 once you go through these lectures. Even if you are are only interested in single-player type games, this course will be a great fit as it teaches many other concepts besides programming for multiplayer games.

Why Learn From Me

In this course you will learn more than just programming in Unreal Engine 4. You will actually follow the ‘Unreal Way’ of making games in this Epic Games-approved course. Start off on the right foot and write effective C++ code using methods the engine creators have used themselves! I have been working with Unreal Engine 4 and creating game development tutorials since day one. Through this partnership with Epic Games, you will gain the skills to create stunning new projects and advance your professional aspirations in game development.

Join me in this course and start building awesome games in C++ today!

Note: Now includes FULL Chinese subtitles for all 140+ Lectures!

Introduction & Set Up

1
Welcome

Thank you for purchasing my Udemy Course on C++ in Unreal Engine 4!

2
Set Up

Before we start programming, we have a few things to set up.

3
Setup Visual Studio 2017

Installing Visual Studio 2017

4
Setup Visual Assist

Visual Assist is a Visual Studio plugin to help navigation and coding in C++.

5
Get the most out of this course

Get the most out of this course, by knowing the difference between Activities and Challenges. Also, the source code for both projects is available via GitHub.

6
Bonus: Troubleshooting

Walk-through of potential issues, compile errors and other problems you may run into and how to avoid them.

7
Activity: Add Explosions to Template Project

Quick and fun exercise where we add explosion particles to projectile bounce events in C++.

Stealth Game 1: Project Basics

1
Introduction
2
Setup Template Project

Walkthrough the C++ FPS template project. Resource available in the lecture "Resources". Bare-bones project without Section 1 specific content is on GitHub.

3
Create C++ Class

Learn to create a C++ Class. What are Header files and cpp files, and the BeginPlay and Tick functions in Actors.

4
Setup ActorComponents

Learn to add ActorComponents to Actors in C++, expose variables to Blueprint and how to use #include to use other classes.

5
Setup Collision and Overlap Event

Learn how to setup collision channels on ActorComponents and how to react to overlap events in your Actor.

6
Pickup Objective Actor

Learn how to 'Cast' C++ classes to different types and how to changes variables of one Actor in a different Actor.

7
Setup Objective UI with UMG

Learn to add UMG widget via HUD class for UI text display. Create GameMode to setup default game framework classes.

8
Challenge: Create a Black Hole

Challenge! Build your own Actor that sucks up nearby simulated actors into itself like a black hole.

Stealth Game 2: GameMode Rules

1
Introduction
2
Create Extraction Zone

Learn to bind overlap events in C++ with OnComponentBeginOverlap and logging using UE_LOG macro.

3
Polish Extraction Zone

Learn to use DecalComponent to mark the extraction zone with imported content assets available in the Lecture Downloads.

4
Setup Mission End

Learn to disable input on Pawns and using GameMode to create a game over state that can be extended in Blueprint using the BlueprintImplementableEvent keyword.

5
Add Extraction Feedback

Add UI feedback using Unreal's UMG to show the mission complete message.

6
Setup Post-mission Camera

Introducing TSubclassOf for class assignment in C++ and Blueprint.

7
Challenge: Create a Launch Pad

Use your newly learned skills and concepts to build a launch pad that fires away players and other Actors on the map!

Stealth Game 3: AI Guards

1
Introduction
2
Create AI Guard Class

We build the core of our AI agent with PawnSensingComponent to setup senses like sight and hearing.

3
Setup Sight Sense

Learn how to setup sight in the pawn sensing component for your AI Guard.

4
Setup Hearing Sense

Learn how to setup hearing sense in the pawn sensing component for your AI Guard.

5
Add Noise making to Projectile

With PawnSensing and MakeNoise we distract the guard when a projectile bounces.

6
Setup Guard Distraction
7
Add game-over trigger when spotted
8
Add 3D UI state above Guard

With UMG (Unreal Motion Graphics) we add feedback on the AI's current state to the player.

9
Challenge: Setup AI Guard Patrol

Challenge! Move the guard around using the available MoveTo logic and have AI patrol between two locations.

Stealth Game 4: Multiplayer Support

1
Introduction
2
Prepare the Mission

Play the game and see the current state of the game in multiplayer. Expect lots of things to not work yet!

3
Network the Projectile

Learn how to network the project with Unreal's replication system.

4
Network Player View Pitch
5
Network the Objective Actor
6
Network the AI Guards
7
Network the Game State Part 1

Continuing making the game multiplayer ready by replicating which player is carrying the objective, 

8
Network the Game State Part 2

Create a GameState class to send information from server to all clients on game changes, for example when mission ends we can DisableInput on all clients.

9
Network the Game State Part 3

Create PlayerController class to handle UI events (like showing the 'mission complete' text). Also making sure all clients set the post-mission camera location after the mission ends.

10
Activity: Play with a friend!

Activity to play with a friend to test our your newly created multiplayer game!

Coop Game 1: Introduction & Player Setup

1
Introduction
2
Create C++ Project

Create Blank C++ Project via Epic Games Launcher.

3
Create The Player Class

Create new C++ class to act as our player.

4
Add Movement Input

Bind keyboard input to a function, and set up input bindings via Project Settings. Create and add Player Blueprint to the level with Auto Possess.

5
Add Mouse Look

Bind mouse input to a function, set up input binding via Project Settings.

6
Third Person Camera Part 1

Forward declaring classes, add header include, add Camera to the player, expose C++ components to Blueprint.

7
Third Person Camera Part 2

Run console commands (~ Tilde) to visualize collision. Use SpringArmComponent for third person camera collision and movement.

8
Add Player Mesh

Import animation content from Marketplace and set up skeletal mesh in Blueprint.

9
Add Crouch

Add crouching to player and key bindings using built-in Crouch code.

10
Add Character Animations

Use Marketplace 'Animation Starter Pack' to setup player animations. Customize pack's Animation Blueprint for our specific needs.

11
Challenge: Setup Player Jump

Challenge video! Use Unreal's Jump logic to make your character jump, as a bonus you can try to link this with the animation blueprint.

Coop Game 2: Weapon Basics

1
Introduction
2
Create Weapon Class

Create C++ Weapon class to be equipped by characters.

3
Import Weapon Mesh

Import weapon SkeletalMesh, and assign in Blueprint

4
Line Tracing Part 1

Setup line-tracing when weapon Fire function is triggered and checking our results for an Actor to damage.

5
Line Tracing Part 2

Update line trace to use camera view point instead of default pawn eye height.

6
Apply Damage to Actors

Use of the fire logic, to apply damage to other actors.

7
Create a Target Dummy

Creating a target dummy actor that responds to damage to test our code.

8
Add Muzzle and Impact Effects

Add Muzzleflash and impact particle effects to the weapon and using sockets to attach the effects to a mesh.

9
Create Smoke Beam Effect

Create a smoke beam particle effect to visualize the bullet trail.

10
Add Simple Crosshair

Using UMG to draw a simple crosshair on screen.

11
Challenge: Create your own Grenade Launcher

Challenge Lecture! You will put your knowledge on spawning actors, using ProjectileMovementComponent, and inheritance to use to create your own projectile weapon.

Coop Game 3: Weapon Extras

1
Introduction
2
Add Aiming Down Sights
3
Create Debug Console Variables
4
Polish Weapon Code
5
Shake Camera While Firing
6
Setup Custom Surface Types
7
Add Multiple Hit Effect Types
8
Add Custom Collision Channel
9
Apply Headshot Bonus Damage
10
Setup Automatic Fire
11
Activity: Design and code your own weapon feature

Activity to brainstorm your own extra weapon feature such as bullet spread or weapon charge-up mechanic. Take some time to experiment and try to code it on your own.

Coop Game 4: Hitpoints and Death

1
Introduction
2
Create Health Component

Learn how to create your own ActorComponent in C++.

3
Handle Damage Events

Learn how to bind to delegates and events in C++.  And logging debug output to track how and when code is running.

4
Add Custom Event

Learn how to declare a custom C++ delegate (aka event) using a macro and implement it in the health component.

5
Add Death Animation

Learn to play animation in Animation Blueprint based on C++ variables when a character dies from damage.

6
Create 'Gears of War'-style Health Indicator Material

Learn how to create materials to use in UMG Widgets and how to set parameters in materials from C++ to change the look of the material at runtime.

7
Create Health Widget in UMG
8
Challenge: Create an Explosive Barrel

Challenge video! Create the classic red explosive barrel in Unreal Engine. We will use this challenge result in the next section to make it work in multiplayer too!

Coop Game 5: Game Networking

1
Introduction
2
Play the Game in Multiplayer
3
Replicate Weapon Code Part 1

Learn about "Role" and how to use ROLE_Authority to run pieces of code only on the server or client.

4
Replicate Weapon Code Part 2

Learn how to make 'Server'-functions that run code on the host if called by a connected client. (Other Keywords: Reliable, WithValidation)

5
Replicate Weapon Code Part 3

Create a struct to replicate multiple variables to clients with rep notify (aka ReplicatedUsing). Learn how to use DOREPLIFETIME_CONDITION to optimise networking by sending variables only to specified clients.

6
Replicate Weapon Code Part 4

Playing particle and sound effects on the clients and server using ReplicatedUsing (aka "RepNotify"). Learn about Unreal's adaptive net update frequency using NetUpdateFrequency and MinNetUpdateFrequency.

7
Replicate Health & Death

Replicating ActorComponent with GetOwnerRole() to limit where code is running, for example only on the authoritative server to handle damage.

8
Challenge: Replicate the Explosive Barrel

Challenge video! Use the results from the previous section where we built an explosive barrel and make it simulate on both client and server.

You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.6
4.6 de 5
Calificaciones 3970

Calificación Detallada

5 estrellas
2418
4 estrellas
1177
3 estrellas
279
2 estrellas
58
1 estrellas
38