Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
UE4 Game Loops: Block Breaker
Rating: 4.6 out of 5(42 ratings)
3,536 students

UE4 Game Loops: Block Breaker

Discover how to assemble a block breaker game using Unreal Engine 4
Created byCollin Bishop
Last updated 11/2021
English

What you'll learn

  • Importing of assets into Unreal Engine 4.
  • Creation of a player and input mapping for movement.
  • Controlling game flow for points and respawn of a player.
  • Menu and HUD creation for a full game application loop.

Course content

1 section11 lectures1h 33m total length
  • Project Setup8:12

    In this first lecture we create a blank project using the Unreal Engine Launcher. With the blank project created we will then import the assets used within the project.

  • Player Paddle & Input5:41

    Our first task is to create the paddle located at the bottom of the games screen we use as a player to keep the ball from going out of the screen and resulting in our death. We will explore the paddle creation using an actor class and then define the movement behavior in the X axis to move from side-to-side.

  • Ball & Collision7:12

    With our player paddle created we can create the physics ball and add the projectile movement component to create the initial velocity for the bouncing.

  • Game Mode & Respawn8:14

    With our ball and play created we will now make a game mode to house the logic needed to create a win/lose condition if the ball is reflected and not caught.

  • Creating the Blocks7:20

    In this lecture we will create the blocks the ball will hit and compile a material instance to be used on all of the blocks through exposing a color variable to make the blocks be different colors.

  • Looping Our Game9:43

    We will focus on checking if the bricks are all broken in this lecture. Once this is the case we can then project for the moment a game over printed to the screen signifying the round is over.

  • Creating Collectables8:32

    As a side incentive we will in this lecture spawn collectables randomly when hitting the blocks that can then be captured while the ball is bouncing elsewhere. This dynamic alone adds loads of fun to the game and shakes up the routine of the bricks and bouncing otherwise.

  • Adding the Menu10:36

    For the first time in the series we are presented with widget blueprints and how we will show items and lives onto the game screen. Additionally we look at creating a game instance so that the menu persists over the lifetime of the application and are not destroyed if in the future we wish to load different levels.

  • Creating the HUD11:57

    With our menu now created we will add the HUD to see the amount of lives that we have in the level and how many chances remain if the ball passes the player paddle.

  • Adding the HUD Collectables3:17

    For this lesson we will add the collectables to the HUD to project how many have been grabbed by the player in the game.

  • Finalising Win Condition12:43

    For this final lecture we look at wrapping up the level and cycling the player to the menu if they have cleared all of the blocks in the scene. This gives them the option to restart the game. I hope you have enjoyed this series and be sure to check out my other game loops tutorials here on Udemy!

Requirements

  • You will need to have prior experience using Unreal Engine 4 and a basic understanding of Editor systems.

Description

This course will cover all the necessary steps to assemble a block breaker game using Unreal Engine 4. This course is intended for developers that are already familiar with the UE4 interface and can move between systems to construct a game. The videos have been kept to a minimum in length and have been structured to outline the steps with less theory explained.

I recommend that as a developer you watch a fundamentals course prior to this course if you are interested in the basics of moving about inside of the Editor. Many systems will be used within Unreal Engine and the course would exceed the 2 hour threshold for a free course if I were to teach how to move inside of the Editor along with the basic construction of the core game loop.

When considering the construction of a game you must use certain programming principles like inheritance and parent classes which will be shown in this series to allow for re-usability of code and cleanliness of construction of the project.

We will cover the following tasks in the series:

  • Importing of assets into a scene

  • Creation of a player and input controls

  • Controlling the game flow through the game mode and respawn of player

  • Collectables

  • Menu and HUD

  • Win condition

By the time you have finished the series you will be knowledgeable enough to create and publish a simple block smashing game designed inside of Unreal Engine 4.

Who this course is for:

  • This course is for beginner to intermediate Unreal Engine or Game Developers interested in creation of a basic game application loop.