Enemy Patrolling Unity Tutorial
8:28
2D Enemy Shooting Unity Tutorial
12:52
Game Over Screen Unity Tutorial
14:35
2D Melee Combat Unity Tutorial
15:35
2D Infinite Runner Unity Tutorial
24:25
Unity 2D Player Animations Tutorial
10:52
Unity 2D Top Down Movement Tutorial
6:30
Welcome to MoreBBlakeyyy
0:45
2 жыл бұрын
Пікірлер
@VDSDADPDD
@VDSDADPDD Сағат бұрын
I got some error while trying it: "the name 'player' does not exist in the current context." and "the name 'respawnPoint' does not exist in the current context." . How do I fix these issues?
@perbara1991
@perbara1991 Күн бұрын
The code does work for it's main jump functionality, though it comes at a cost of making your player a professional wall jumper, so i honestly recommend another line of code.
@qualaycalvin-rn5lp
@qualaycalvin-rn5lp 2 күн бұрын
I'm using unity's input systems for my jump how can i adapt this
@Tobawa2601
@Tobawa2601 3 күн бұрын
Something that I found really helpful was to delete the tiles that are in the preview-image on the right of the provided file. That way the selection isn't as bloated and you can better find the right tiles and also don't accidentally use a preview-file, which have a blue background. Additionally I found it really helpful to name the tiles, which is also done in the Sprite-Editor when selecting a tile on the bottom right. It's easier to find the right tile and they are sorted alphabetically. Anyway, thanks Blakeyyy for the nice tutorial!
@Syneation
@Syneation 7 күн бұрын
thanks :D
@thediamondgauntlet8888
@thediamondgauntlet8888 7 күн бұрын
what if there's point C?
@jjopilis6634
@jjopilis6634 8 күн бұрын
I’m having issues with the object the bullets fire from actually following my player? It just stays still even though it’s a child of the object, can anyone help me because I’d love to try to get more work done
@theboredbraxton6900
@theboredbraxton6900 8 күн бұрын
Thanks for the video Blakeyyy! However when I play the game, clicking right click only spawns in bullets, they don’t go forward at all, any ideas why? Once again thanks for the video!
@Blinkski2
@Blinkski2 9 күн бұрын
Love the tutorial! How do I use the Vignette or get that for the game?
@DragonEditz9998
@DragonEditz9998 11 күн бұрын
if your having trouble with the jump mechanic, try changing rb.velocity.x to rb.velocity.y
@jjopilis6634
@jjopilis6634 11 күн бұрын
Thank you so much for this tutorial it will be extremely helpful for developing the game I'm in the midst of working on
@chelchkik
@chelchkik 12 күн бұрын
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Enemy : MonoBehaviour { public GameObject player; public float speed; private float distance; public float distanceBetween; void Start() { } void Update() { distance = Vector2.Distance(transform.position, player.transform.position); Vector2 direction = player.transform.position - transform.position; direction.Normalize(); float angle = Mathf.Atan2(direction.y, direction.x) * Mathf.Rad2Deg; if (distance > distanceBetween) { transform.position = Vector2.MoveTowards(this.transform.position, player.transform.position, speed * Time.deltaTime); transform.rotation = Quaternion.Euler(Vector3.forward * angle); } } }
@CosmicBacon0
@CosmicBacon0 9 күн бұрын
THANK YOU SO SO SO SO SO SO MUCH YOU SAVED MY LIFE
@Blinkski2
@Blinkski2 14 күн бұрын
after trial and error this tutorial helped me thank goodness i almost gave up
@yayantar
@yayantar 15 күн бұрын
Thanks !
@ProyectoUnity
@ProyectoUnity 17 күн бұрын
i did everything exactly the same but im still double jumping?
@sessizinsan1111
@sessizinsan1111 18 күн бұрын
Is it possible to collider and raycast at the same time?
@Tecrispi
@Tecrispi 19 күн бұрын
I'm trying to add bullet spread/inaccuracy for a bit of randomisation when you shoot (the direction the bullet goes) but I can't figure out how?
@PerfectVV
@PerfectVV 20 күн бұрын
this helped me so much
@davidpepice
@davidpepice 20 күн бұрын
simplemente genial master!!!!
@fezik7697
@fezik7697 21 күн бұрын
thank you man so much
@O5rrrk
@O5rrrk 22 күн бұрын
Jesus man. I just found your video. It's amazing how great it works :D Thanks for that man! I definitely come here more often xd <3
@mileselectric3677
@mileselectric3677 23 күн бұрын
hello i aleady have a death script and the checkpoint script you made in another vid, what i need help with is accessing the respawn script after death animation plays instead of resetting the whole scene. as the game im making doesnt require a hard reset after death.
@peanutbuttergaming3329
@peanutbuttergaming3329 24 күн бұрын
this sucked, i didnt understand a thing. i dont want to pay for a software just to make a tilemap. absolute ass.
@CrumblingCrumbler
@CrumblingCrumbler 25 күн бұрын
Once I flipped it it broke the whole code send help
@HaydnGable
@HaydnGable 26 күн бұрын
After scouring the internet for hours looking for this solution, this tutorial is the only thing I found that actually worked.
28 күн бұрын
Is it possible for enemy ai to be drawn to multiple players? What would the code look like?
@pba4591
@pba4591 28 күн бұрын
this tutorial is goated bro he definently deserves way more views and subscribers for these high quality videos
@OwenRussell-rr1st
@OwenRussell-rr1st 29 күн бұрын
Thanks so much! A wonderful help.
@jeckup9943
@jeckup9943 29 күн бұрын
In your example the player movement is very responsive and snappy but in my project the player will continue to drift/move after letting go or changing directions how do I fix this?
@VarunAiyar
@VarunAiyar Ай бұрын
Thank you very much!
@SAITAMAgotTHeW
@SAITAMAgotTHeW Ай бұрын
i dont want flappy bird
@phanha9632
@phanha9632 Ай бұрын
why your square does not drop down while mine keep dropping down ?
@Blinkski2
@Blinkski2 15 күн бұрын
I think that is because you forgot to add a box collider 2d on the platform that way the square collides and doesn’t fall
@terza1458
@terza1458 Ай бұрын
Thank you!
@jellybob999
@jellybob999 Ай бұрын
BRO THANKS SO MUCH, I COULD NOT GET THIS TO WORK FOR THE LIFE OF ME!!!
@FawfulRox
@FawfulRox Ай бұрын
Great tutorial
@juicycollin3279
@juicycollin3279 Ай бұрын
forgot the capital P on CompareTag("Player") took me 30 minutes to find it
@Rayoski321
@Rayoski321 Ай бұрын
the best tutorials
@ThatLoserTyler
@ThatLoserTyler Ай бұрын
Followed this 100% at least 3 times looking for any errors on my part but everytime I use this the object (cube) slowly drifts towards me when I start walking after I pick it up. Like its not completely locked into place? Any help?
@drrkwolf
@drrkwolf Ай бұрын
Tile doesnt appear on game for me
@abingdonsoftworks2200
@abingdonsoftworks2200 Ай бұрын
If you were having trouble with animations and y velocities. You can see if the abstract of the wave velocity is less than 0.001.
@user-mf9tp7qs4t
@user-mf9tp7qs4t Ай бұрын
for me it just barley jumps and then when i increase the jump power it just teleports the square into the sky
@mincraftplayer68-in4mw
@mincraftplayer68-in4mw Ай бұрын
I got Soo much errors 43 errors
@hggpi
@hggpi Ай бұрын
question about the distance or the movetowards.i dont know tbh basically if i want the whole thing to be on X axis only and i dotn want to use rigidbody to solve it. Can i do it somehow? Also the if statement wont really work in a 2d platformer style game from my experience because the Y axis is equal and the transform.pos has 2 axises right. So how do iput the whole thing on X i tried looking around on forums but i didnt really find an answer.
@onlyrxtro7059
@onlyrxtro7059 Ай бұрын
Is it a way to make it to where only I can pick it up and nobody else able to touch it even when I drop it
@jumpknight6944
@jumpknight6944 Ай бұрын
You saved my presentation, Thanks From Brazil!
@gsc8902
@gsc8902 Ай бұрын
Tutorial is good info but imo your talking far too fast for beginners.
@leonlele7983
@leonlele7983 Ай бұрын
very good video, thank you
@drugsforhugs7106
@drugsforhugs7106 Ай бұрын
You make Game Dev much easier thanks 👍
@EdosBlu
@EdosBlu Ай бұрын
thanks soo much
@tom_a_tree_is_like_a_bee_w4297
@tom_a_tree_is_like_a_bee_w4297 2 ай бұрын
No fixedupdate for jump collision via layers?