![Unreal Engine Tutorial - Create a 2D Snake Game [Code + Assets]](https://i3.ytimg.com/vi/CU3jeNzbzqU/maxresdefault.jpg)
Unreal Engine Tutorial - Create a 2D Snake Game [Code + Assets]
video description
Date: 2022-03-14
Related videos
Comments and reviews: 10
Feel
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
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
iiiT1M3Diii
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
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
Ben
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
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
Danielle
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
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
Liang
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
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
itech
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
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
Actional
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
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
My
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
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
Feel
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
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
Ethan
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
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















