VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » freeCodeCamp.org
Unreal Engine Tutorial - Create a 2D Snake Game [Code + Assets]

Unreal Engine Tutorial - Create a 2D Snake Game [Code + Assets]

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
Learn how to create a 2D Snake Game with Unreal Engine in this full tutorial. In this beginner's course, you will how to create a game with Unreal Engine and Blueprints. - Project assets: https://drive.google.com/file/d/1sd9LkLQ4z6Q0CaoBsL94yFo_zW0E0fWa/view?usp=sharing - Completed project: https://drive.google.com/file/d/1CcYTmVbMl4Feoyt8QNknCajJQfEYYSfo/view?usp=sharing - Course from Awesome Tuts. Check out their YouTube channel: https://www.youtube.com/awesometuts - Learn more about game development here: https://www.awesometuts.com/ultimate-game-dev-academy?utm_medium=youtube&utm_source=freecodecamp
Date: 2022-03-14

Comments and reviews: 10


2:29:21
You can add delay before closing gate to improve your snake movement.
It wil be smth like that:
-Input Up/Down/Left/Right-
-Pressed- ---> -Open- (open gate just like in tutorial)
-Released- ---> -Delay- (function)
-Completed- ---> -Close- (close gate)
-get Delay- (variable) ---> duration (attach to delay function duration)
Now when u press button snake wil definetly do what you want))

reply

Does anyone know why I would be getting the following error: Blueprint Runtime Error: -Accessed None trying to read property CallFunc_Array_Get_Item_10-. Blueprint: BP_MainGame Function: Execute Ubergraph BP Main Game Graph: Move Snake Node: SetActorLocation ?
I followed the video exactly (or at least I think I did) but have no idea how to fix this issue. Everything spawns but I cannot move the Snake.

reply

Anyone have any advice for a university student (Economics - can't switch to CompSci) wanting an internship as a back-end software engineer?
Have 2 years left at uni and i've been teaching myself code in my spare time. I can currently work with Java, Python, R, SQL and do not have any relevent work experience. Should I freelance, learn more languages, join hackathons etc.. ? Cheers!

reply

Heya
I have done exactly and double checked that it was just as you had it in the video but I have two problems. The grey square sprite is smaller than the brick border so the border is not actually touching the sprite. It looks like a box within a border.
2. After giving the snake movement I can no longer see the snake head.
What do I do to fix?

reply

The blackish dot in the centre is the -defaultPawn-, which you can see it in the World Outliner in play mode. It is automatically added into the scene because this Snake Game does not use any pawns. An easy way to solve this is to add a pawn, double click the pawn, set -auto possess player- to player 0, and then add it to the scene.
reply

i just ran through this tutorial and i had a question. why am i getting an error for -Attempted to access BPFood via property FoodActorRef, but BPFood_C_0 is pending kill-? I'm unsure what i did wrong here. A little help? Also, i really dig the tutorial!
reply

Unrelated to unreal engine: please if anyone can explain to me why is that whenever I spend 15 and above minutes in Unity my MacBook over heat?
What can I do to solve this issue?

reply

Is this intended for someone familiar with the topic? This is titled -beginner- and should have included steps for installing Unreal Editor, plus highlighting some prerequisites.
reply

2:25:18
Can someone explain how -Is Head- boolean work. Cant understand how it check if it is head or not and when it change from Fasle to True and backward.

reply

For that grey circle in the middle you would need to hide the BP_MainGame actor in game, can be done from the details panel with the Blueprint selected
reply
Add a review, comment






Other channel videos