Tutorial: Your First Game In Unreal Engine 5

Thanks a lot.I fixed problem by your post.

Hello! I finished the tutorial and I’m pretty happy about the result. However, I have two issues that I would like to fix and I wonder if someone can help me.

  1. the player slides a bit when it follows the mouse;
  2. the bot controlled by the AI doesn’t open the door when it runs on the button. Or better, it opens it but just a tiiiiiny bit. I thought that the problem was the collider, but the player can open it without problems and the cube as well.
    For the rest, it works like a charm. Thank you for this tutorial, and have a nice day everyone!

Super helpful. Love an easy fix!

Hello,

If you are the first step of the tutorial where the bot moves after a timer, make sure that the 0.0.0 location of your map is included in your nav mesh.

1 Like

Hello,

At the doors opening step, my doors were both moving in the same direction. So I made these changes so they move in opposite direction.

I double checked and everything seemed to be set up like in the tuto (anchor, 180 rotation). Any idea what could have gone wrong? These errors are perfect for learning.

And thanks for the tutorial, super useful!

Found the issue, I applied the 180 rotation to the door instead of to the anchor/

There is no “Actor” in the output of the function.
9796_9BO5HAyLpF

@aliker88 Doesn’t work for me :confused:

How do you move the origin of the level?

@AndiEpic it would be a great tutorial if you gave the viewers more than 5ms to get to the buttons you’re clicking before you move on.

1 Like

Following along with the video can be difficult. Setting the playback speed to .75x or .5x can help. Add closed captioning. Additionally, rewinding the video 5 to 10 secs when you miss something. Quick rewind is not implemented here, so we luckily get to do it ourselves!

Using chrome dev tools add this code to the console

document.addEventListener('keydown', function (event) {
    if (event.code === 'ArrowLeft') {
        const video = document.getElementById('vjs_video_3_html5_api');
        if (video) {
            video.currentTime -= 5;
        }
    }
});

Now you can use the left arrow key to rewind 5 secs! This is the first time I’ve ever done something like this, and I’m autisticHandFlapping.png that it worked.

1 Like

Oh, and this is my html code incase yours is different and you want to find it easy,

<div id="vjs_video_3"
    class="video-js vjs-controls-enabled vjs-workinghover vjs-v7 vjs-dash-hls-bitrate-switcher vjs-settings-menu vjs_video_3-dimensions vjs-has-started vjs-layout-large vjs-paused vjs-user-inactive"
    tabindex="-1" role="region" lang="en" translate="no" aria-label="Video Player"><video class="vjs-tech"
<!-- **** this v one is my id ********* -->
        id="vjs_video_3_html5_api" tabindex="-1" role="application" playsinline="playsinline"
        src="blob:https://dev.epicgames.com/80ec1cf3-9a42-4918-8015-7f5beab3e102"></video>
    <div class="vjs-poster" tabindex="-1" aria-disabled="false"
        style="background-image: url(&quot;https://ue-cdn.artstation.com/imgproxy/PKpR71MYsPeSsdHAh1xtjt-cxaQQTq82D9IXwcgHRt0/filename:1_0gwrqewz.jpg/resizing_type:fit/width:1280/height:720/aHR0cHM6Ly9kMWl2N2RiNDR5aGd4bi5jbG91ZGZyb250Lm5ldC92aWRlby90aHVtYm5haWxzLzM3ZjdmN2NhLWFjNWMtNDg5Yy04NGE1LWZhMDE5OWYwNzE1My8xXzBnd3JxZXd6LmpwZw&quot;);">
    </div>

I added a theater mode (up arrow key, and down arrow to return) so the video is big enough to see. You may have to tweak some values for the desired result. Additionally, right arrow key fast forwards 5 secs

document.addEventListener('keydown', function (event) {
    const video = document.getElementById('vjs_video_3_html5_api');

    if (video) {
        if (event.code === 'ArrowUp') {
            video.style.width = '130%';
            video.style.height = '140%';
            video.style.zIndex = '9999';
        } else if (event.code === 'ArrowRight') {
            video.currentTime += 5;
        } else if (event.code === 'ArrowDown') {
            video.style.width = '100%';
            video.style.height = '100%';
        }
        else if (event.code === 'ArrowLeft') {
            video.currentTime -= 5;
        }
    }
});

just get chrome dev tools and paste that into the console.

First of all, thanks for the detailed explanation on how to create and set everything up from scratch. I have spent some time following everything as mentioned. However, I am currently stuck at a certain point. I have followed all the instructions, but I am unable to move the character to follow the cursor.
See video. And here is the orientation setting turn on for character movement.

UPDATE - SOLVED:
Oh, I missed that. I noticed it mentioned in the course description. To resolve this issue, simply disable the “Use controller Rotation Yaw” option.

1 Like

Oh, I missed that. I noticed it mentioned in the course description. To resolve this issue, simply disable the “Use controller Rotation Yaw” option.

1 Like

bad tutorial, very fase, no explanation, difference, between material and tutorial

2 Likes

I can`t make it run

there is a problem with the video playback. my connection is fine.

Regarding 44:15 and the camera not rotating as it does in the tutorial after setting the Orient Rotation to Movement property:

For anyone wondering where this Use Controller Rotation Yaw property is, it’s in the Details tab for the root BP_Bot (Self) component of the BP_Bot blueprint. Uncheck it, compile, play. Thanks @2winners!

This tutorial WAS NOT GOOD AND I DO NOT RECOMMEND THIS TO ANY BEGINNER because:

Pacing was way to fast.
A LOT is done but no explnations as to why.
Too many new and different complicated things for a beginner to go trough. You’ll forget most of it and/or won’t learn.

What this tutorial is is someone who knows what they are doing creating a game and thinking out loud. And you’ll just copy everything trying to keep up.

As a beginner you need explanations, hand-helding and understanding. This tutorial is more for people that have gone past the “absolute beginner” phase.

I did learn some few things though.

3 Likes