Hi! I haven’t uploaded in a while but am looking to get back into the channel *soon*. Thanks for all the feedback, my apologies for how small the text is in vscode. Will definitely look at changing this next time! My style is going to change to more of a devlog with all code provided via GitHub at the end :)
@blacknwhite13139 ай бұрын
thanks Respected tutor
@danthon12674 ай бұрын
Hope you come back soon!
@prerananayyar19534 ай бұрын
@@danthon1267do u know what he used to when he set up the project like a 2d or 3D
@mjagatkar886 ай бұрын
Ball ❌️ Bull ✅️ Thank You for this tutorial 🙏🏽
@jakefagan2564 Жыл бұрын
This was the best tutorial I found, in terms of the final result. Especially the way you set up the yDirection, in that it relates to the bounds of the paddle!
@k1ng.Gaming2 жыл бұрын
I recommend this tutorial! It was a good one (the best so far) I searched for like 2 hours and finally found yours! it helped me a lot THX!
@casetern16102 ай бұрын
Such a good video with best explanation!!! You got a new Subscriber and hope so you will start posting again :)
@AlexJDev2 ай бұрын
Thanks man! I’m working on a new video and should be regularly uploading soon!
@paulembleton1733Ай бұрын
Decided to recreate Pong with extras. I know Unity basics and I’m an experienced developer so didn’t look at any tutorials. Now checking tutorials after finishing basic game and liking those that did much the same as me so that’s a 👍 for this one. Only criticism, if ( isTutorial ) playBackgroundMusic = false;
@TiredEyesStudio4 ай бұрын
Just wanted to share my stupidity here lol when I got to the Invoke method part of typing in Invoke("StartBall", 2f); and it wouldn't work meaning the ball never moved. I went back to see if I missed something, and I was like "I literally did this to the tee! So what the fuck is the problem here?" I spent the last three days learning all that I could about the Invoke method and its limits and even coroutines, and a couple minutes ago I watched this video again and realized....I typed in "Startball" instead of "StartBall".......I forgot to capitalize the B....and then the ball moved lmaoo three days to just figure out it was that. Wanted to share that. Great video! My mistake helped me learn more.
@SunnyNightmares135 ай бұрын
Thank you so much it took a while to figure out what was going on but I made the game with your help thank you
@danthon12674 ай бұрын
Congratulations! You got a new subscriber! Now you have 158
@garrettblackard22887 ай бұрын
i only have one tip. ctrl mouse wheel in vs. had to break out my magnifying glass. but great stuff i needed the platform movement for something
@MrBooBooOfficial Жыл бұрын
Also, when the ball hits my side, the counter doesnt go up... why?
@ephraimcarter79187 ай бұрын
Amazing video! I followed it and felt like I learned so much, however, the music drove me crazy.
@t.mahesh6365Ай бұрын
I tried this , but in game ball doesn't move until I tried to move it by scene what problem is this
@savagecatdev Жыл бұрын
love the minecraft bg music
@Florea-on2zk9 ай бұрын
I've written the player movement script exactly the same but the movement: isAI: and Movement Speed: are just not showing up as variables. What have I done wrong?
@SmallMine19 ай бұрын
Same happened to me
@evangelinaaron9063 ай бұрын
make the isai and movement speed public!
@37dot33 ай бұрын
text doesnt change when i make a goal and the ball doesnt resets sorry for my english im german
@ghoste2755 Жыл бұрын
Besides the fact that you went a bit fast, and I got confused a couple times, I've had this issue so many times before, its not detecting the collision
@ali_afsharnjd Жыл бұрын
This tutorial Was awsome Thank you so much
@ivanbecerragalvan7989 ай бұрын
Thank you so much!!!!!!!😀😀😀
@trancongvinh49982 ай бұрын
Can I have the ball movement code ?
@henryxXfun_timesXx10 ай бұрын
Why does the ball stop dead on when it comes in contact with my racket or the wall?
@OINH178 ай бұрын
Have you addded the bounce physic to the gameObject?
@vandanavinni91327 ай бұрын
same here, can you please give the solution
@EkremKaya-zn3mb10 ай бұрын
why font so small,i can not see anything
@yahyabzl11128 ай бұрын
Click on playerscore/ aiscore and make the scale bigger
@RicFF134 ай бұрын
Womp womp
@madmajima33 Жыл бұрын
My player doesnt move when i press any keys did i do something wrong
@reps256411 ай бұрын
did you fix it?
@madmajima3310 ай бұрын
@@reps2564 no i gave up especially since my uni switched to unreal engine sorry i cant provided tips
@henryxXfun_timesXx10 ай бұрын
@@reps2564 If you are still working on it change ("vertical") in visual studio code to ("Vertical") also make sure you go to (in the unity editor) edit => project settings => input manager => axes => vertical, and make sure that is is defined as Vertical and also that your "w" and "s" keys are binded hope this helps
@nox_2089 ай бұрын
@@reps2564 try writing the code again fixed for me
@ryanatkinson3961 Жыл бұрын
Is their a way of implementing a while loop to this so that it ends after the players or the AIs score reaches a certain number. And if there is could I have help with it please as I'm not sure how while loops work in unity. Thankyou in advance.
@chumleechumbucket6625 Жыл бұрын
you could put in if statements when it increases the score (more efficient than loops) and if the player/ai score is over a certain number you can run SceneManager.LoadScene(x); with x being the "name" or scene number. To use this, you'll have to state 'using UnityEngine.SceneManagement;' at the top. Then make 2 new scenes, one with some text saying you won and the other saying you lost, and maybe a replay button. I'm late to this and new to coding so you probably figured out something better already lol
@bigde85389 ай бұрын
its not even letting me import the files (sfm all over again)
@anfrollex Жыл бұрын
I'm blind like a mole, why didn't you make the code's font bigger 😑 But thank you tho, I'd been searching for this part with the ball going any direction depending on the angle!
@MrBooBooOfficial Жыл бұрын
What's the background music?
@mrbruh2460 Жыл бұрын
otherside from minecraft
@ClassicBee179 ай бұрын
Why can I not move my paddle at all?
@chasehicks65208 ай бұрын
make sure vertical is capitalized "Vertical"
@eduardovarela4176 Жыл бұрын
the ball does not bounce, I have everything the same
@SPACESOFT_GAMES Жыл бұрын
Add physics material in ball's collider
@icydreaded1717 Жыл бұрын
@@SPACESOFT_GAMES thnx this was really helpful
@Isaac096 Жыл бұрын
It is not doing the scoring part it just bounces off of it
@chumleechumbucket6625 Жыл бұрын
if it's bouncing off the sides, it means that the 'startball' function isn't even triggering. It might be because you used onCollisionEnter instead of onCollision2D, or you might've messed up setting the triggers themselves. if you're talking about the paddles they're changing the speed not the score. vague question tho
@Isaac096 Жыл бұрын
@@chumleechumbucket6625 ya sorry it is speeding up by the paddles but when it hits the walls behind the paddles it does not change the score or reset
@chumleechumbucket6625 Жыл бұрын
@@Isaac096 in that case it either means you didn't set up the triggers or the ontriggerenter function properly. Double check that they're both set to 2D, that can be an issue
@Isaac096 Жыл бұрын
@@chumleechumbucket6625 ok thanks I will try to see if that works later
@Plebzzz Жыл бұрын
Hey, for some reason the "AI" Moves when I do, what did i get wrong here?
@jaylicious4694 Жыл бұрын
I had the same problem, I had to change the gameobject in player controler script to none and leave it only for the AI and then it worked
@KurooNegai Жыл бұрын
Bro why? Tutotial is good but I can't see any codes? they are very smaii
@chumleechumbucket6625 Жыл бұрын
fullscreen and squinting helps but my eyes hurt now
@LeeKatsuOfficial3 ай бұрын
4:27
@mikeygaming1233 Жыл бұрын
hi
@ivanobosnjak2134 Жыл бұрын
really bad tutorial. you're going too fast and dont explain half of the things...
@2010platinumstar11 ай бұрын
This was pretty easy to follow for me. You can rewind if you miss something.
@ivanobosnjak213411 ай бұрын
@@2010platinumstar At the time, I didn't really understand C#, because I thought I don't really need much knowledge about it because C# and Unity's C# are somewhat different. From then I've finished with learning C#, but I gave up on Unity because of the newest update. So, I would say that my lack of understanding C# did a pretty big part in not knowing what to do, but I can't really say he did a great job on this video.
@s1xpackch1ck Жыл бұрын
For some reason whenever I add a collider to my background it ruins the ball movement, but then ball movement is normal without a collider on the background, I don't know what is happening with the interaction between the two
@jaidinwynn65846 ай бұрын
My ball wont start and I’m not exactly sure why. I have no error in my code but it just won’t work