Тёмный
Pix and Dev
Pix and Dev
Pix and Dev
Подписаться
Комментарии
@dishadoshi9154
@dishadoshi9154 8 дней назад
Can you please share the code
@FortbloxNET
@FortbloxNET 14 дней назад
How...........did you use "this.velocity" in Shoot, if velocity is never declared? There is no variable velocity in Bullet Script.... therefore it cant work.
@FortbloxNET
@FortbloxNET 14 дней назад
ah i had to read the description.........
@FortbloxNET
@FortbloxNET 14 дней назад
i used that script to move a ball randomly in a MAZE, but somehow the "reflect" doesnt always work correct. sometimes the ball is stuck in the wall with zero velocity, or in a corne gets stuck. :/
@bjarnelipp5626
@bjarnelipp5626 19 дней назад
Can you explain how to crouch by using any button you want?
@RodriGGod
@RodriGGod 22 дня назад
Nice tutorials mate, could you do a FOV tutorial? Like field or vision on Among Us or enemy detection in stealth games
@seonoselno1092
@seonoselno1092 25 дней назад
where can i find this source code ?
@FP-ih1lu
@FP-ih1lu Месяц назад
I don’t get how multiplying by the dragLimit number would do anything limit the distance.
@IcaroReisLincarus
@IcaroReisLincarus Месяц назад
Great vid bro, but in mine its not showing in front of the background, I only can see the effect in camera preview, not in game test, I created a new layer, but got nothing, can help me? I'm starting learn unity now. Thanx in advance.
@muhammadzayan5717
@muhammadzayan5717 Месяц назад
i want to erase the line after being drawn
@Glitch_404_0
@Glitch_404_0 Месяц назад
thanks ❤❤
@payasoprince9333
@payasoprince9333 Месяц назад
Any chance you can show us how to make this work horizontally? I borrowed this code and made both ends of the rope two GameObjects so that they stay tethered together, but the ropy warps around like crazy, and either stretches like crazy or falls apart when I move the starting point.
@slodoco
@slodoco Месяц назад
No, this is wrong. But thanks anyways.
@SriHarikrishnaGorla
@SriHarikrishnaGorla 2 месяца назад
could you add eraser option also erase the line when we write wrong line ?
@androx8315
@androx8315 2 месяца назад
Will this work in a 3D game? but in a 2D plane?
@balls-lover-34
@balls-lover-34 День назад
ive worked on a 3d game with 2d components like spriteRenderer and such, its possible and the camera renders it without too much issue. I recommend checking out this video for a shader that turns sprite renderers into a more 3D simulated object by adding shadows ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-flu2PNRUAso.html (only works with the built in renderer pipeline for now i believe)
@user-vx3st9cg8g
@user-vx3st9cg8g 2 месяца назад
nice) i use this, thx
@vaap2099
@vaap2099 2 месяца назад
Thank you very much! This helped me a lot!
@pixanddev4187
@pixanddev4187 2 месяца назад
Your appreciation means a lot to me, thank you!
@othanhhung1509
@othanhhung1509 2 месяца назад
Amazing Video.I want to draw a path to something and pull it back,any ideas?. I would really appreciate it if you suggest me something.
@pixanddev4187
@pixanddev4187 2 месяца назад
Can you explain me more what mechanic exactly you want.
@arsiilvu
@arsiilvu 2 месяца назад
please tell me how to count points in the game. I understood everything and did it, but I would like it to count points.. / written through a translator
@pixanddev4187
@pixanddev4187 2 месяца назад
Hello my friend!! Thank you so much for watching my video🤗✌️ for adding points system, you can add a trigger collider inside the hoop, and make it small it should get touched only if ball enters inside, and in its onTriggerenter2d method increment point. i just given you rough idea. you have to create a ScoreCounter script and a hoop script.
@khoa4k266
@khoa4k266 2 месяца назад
Concise, straight to the point, insta sub
@pixanddev4187
@pixanddev4187 2 месяца назад
I appreciate the instant support! 🤗✌️
@opadaibra1597
@opadaibra1597 2 месяца назад
Thanks a lot, i just want to ask if I want to do this scenario First time i want to create path then when user click mouse button down car moving during mouse down within moving path
@pixanddev4187
@pixanddev4187 2 месяца назад
Great!! , That means you are trying something new. as per your requirement, you can try to remove startMovement assignment from onmouseUp method, and in update method set it to true whenever you press any button, because car only move only if startmovement is true. Hopefully it will help you, I will be happy to hear from you whether it worked or not🤘😁
@Hade100
@Hade100 3 месяца назад
it is stuck in the middle
@pixanddev4187
@pixanddev4187 2 месяца назад
Ohh!!, Maybe there will be any step which had get executed wrong, can you please recheck all steps, even after that if it doesn't work i will be happy to help you again🤗✌️
@Ok-vx7cb
@Ok-vx7cb 3 месяца назад
This is a simple and efficiant way but unfortunately not practical. It's heavily reliant on position variables so if it is not working for u its mostly because your variables dont match.
@pixanddev4187
@pixanddev4187 2 месяца назад
Yes my friend its rely on position, but i just showed the starting point, we can adjust that code according to our project needs. Glad to see, You have observed the minute things very well, I will be happy to answer your questions ahead if any!!✌☺
@Ronymon
@Ronymon 3 месяца назад
Great video! I was working on a bricker breaker project (beginner game dev here :D) and every tutorial I found used rigidbody2D.addForce. The issue with using addForce was that the velocity reduced every time it collided with a dynamic rigidbody. So, I tried this approach instead and it worked pretty good for me. Thanks! I subscribed for more :)
@Punchmememe
@Punchmememe 4 месяца назад
i have challenged my selff with 3 small games to create on the end of this week. I only finished pong and now lets make this with a score and reset. Thanks for using the same header !
@pixanddev4187
@pixanddev4187 2 месяца назад
Great!! you are trying to learn by challenging yourself is a great motivation, I am glad my videos are getting helpful for you, Thank you my friend for watching🤗🤗
@IntensityDev
@IntensityDev 5 месяцев назад
really awsome thx. it helped alot
@pixanddev4187
@pixanddev4187 2 месяца назад
Thank you for the positive feedback! I'm glad the video was helpful to you.
@Perfect_Dev
@Perfect_Dev 5 месяцев назад
Thanks you deserve a sub😁
@pixanddev4187
@pixanddev4187 2 месяца назад
Thank you so much for subscribing, it means a lot to me!
@abdulkadiraktas5529
@abdulkadiraktas5529 5 месяцев назад
how to add animation or physics to the net ? should we use hige joint 2d for physics /how ?
@MunnaSingh-wf3np
@MunnaSingh-wf3np 5 месяцев назад
This video is very helpful for me
@pixanddev4187
@pixanddev4187 2 месяца назад
Awesome, happy to hear it was useful for you!✌️
@unkablekraken8309
@unkablekraken8309 5 месяцев назад
Can you tell me how to do the same thing but only on my phone. I've watched a bunch of videos where it's not the same. Yours is the best and most convenient, but it's on a computer. It makes sense to me, just what can you replace the mouse position in android space, how to read the click on android. P.S google translate
@pixanddev4187
@pixanddev4187 5 месяцев назад
It will work on mobile as well✌️😊, Enjoy!!🤗 if you want specific touch the you can use Input.Touch(touchIndex).position instead of Input.Mouseposition You can find about it in Unity's Touch.Position documentation. Hopefully I Cleared Your Doubt, Thank You!!😊✌️
@iamQuicklearner
@iamQuicklearner 5 месяцев назад
Wow! Very well explained. Love to see full game tutorials from you. Subscribed! 🙂
@pixanddev4187
@pixanddev4187 5 месяцев назад
Thanks a lot!!🤗 I'll Definitely make Full Game, I'll take sometime. But yeah, Your Support will motivate me to do it ASAP✌️🤗
@Dr.MickeyMouse
@Dr.MickeyMouse 6 месяцев назад
Bro pls help me, How to draw a by moving an image
@nandgatesoftware868
@nandgatesoftware868 6 месяцев назад
1:46, should be: rb.velocity = this.direction * speed
@pixanddev4187
@pixanddev4187 5 месяцев назад
Ohh!! Great catch😉🙌 I Did a mistake there, Thanks Alot for figuring it out. I'll update it in my Description, Thank You so much🙌❤️
@Dr.MickeyMouse
@Dr.MickeyMouse 6 месяцев назад
how to draw by using the joystick in unity...pls
@Brai-niac
@Brai-niac 6 месяцев назад
how do you add an eraser
@random_precision_software
@random_precision_software 6 месяцев назад
I've already subbed, looking forward to more videos ! Don't suppose you know how to do a 3D Pseudo road in 2D. Like pole position and outrun games?
@pixanddev4187
@pixanddev4187 6 месяцев назад
Thank you so much for subscribing!✌️🤗 I really appreciate your support and I'm glad you're looking forward to more videos. Unfortunately, I don't have a tutorial specifically for a 3D Pseudo road in 2D like Pole Position and Outrun games, but I can definitely look into it and see if I can create something similar in the future. Stay tuned!
@hiperfx892
@hiperfx892 6 месяцев назад
Good job, need more videos like this😊😊
@pixanddev4187
@pixanddev4187 6 месяцев назад
Thank you my Friend😊✌️, I am Glad, You Liked my videos😊🤗.
@265Den
@265Den 6 месяцев назад
Ебаать..Спасибо, брат, за туториал)
@hiki4682
@hiki4682 6 месяцев назад
How I can draw in canvas?
@pixanddev4187
@pixanddev4187 6 месяцев назад
For drawing in canvas you can download UILinerenderer which will work on canvas, and you'll find that in UIExtension package on internet. But You have to do many changes in script.
@Brai-niac
@Brai-niac 6 месяцев назад
how can you do same thing with on mobile device?
@pixanddev4187
@pixanddev4187 6 месяцев назад
It'll work on mobile as well 🤝
@TheJac1999
@TheJac1999 6 месяцев назад
Direct to the point, easy to understand, and intuitive. Great content. I'm seeing to apply this on a tilemap but I dont think I'm gonna have any trouble to do it. Let's see.
@pixanddev4187
@pixanddev4187 5 месяцев назад
Glad it was helpful! Thank you much for the support and encouragement !! 🤗✌️
@ChampagneBladex
@ChampagneBladex 6 месяцев назад
does anyone know how to do the same line renderer but in 3d ??? thankyou
@InFiNiTy12006
@InFiNiTy12006 6 месяцев назад
tf i was looking for exact type of game. i went on to search tutorials for angry birds cuz it has same logic 😭 and now i found it.
@pixanddev4187
@pixanddev4187 6 месяцев назад
Thank you for sharing your experience!😊👍 It's great to hear that my video helped you find the game you were looking for.
@jswift4240
@jswift4240 6 месяцев назад
Hi hope you have a nice day, could you please help me to make the object follow the direction even when the line is over please? I am attempting to do it but my game object is in constant rotation and when the line is over the game object doesn’t follow the path
@pixanddev4187
@pixanddev4187 6 месяцев назад
Sure! , I Went back to see the video again to revise what I did in that😄😉 first create a global variable to store last moving direction, then in update method update that variable if (distance <= 0.05f) { moveIndex++; if (moveIndex >= positions.Length - 1) { moveAfterPathCompleteDirection = dir; } } then add an else block after this if (startMovement == true) else { Vector2 nextPos = transform.position + (Vector3)moveAfterPathCompleteDirection; transform.position = Vector2.MoveTowards(transform.position, nextPos, speed * Time.deltaTime); // rotate Vector2 dir = nextPos - (Vector2)transform.position; float angle = Mathf.Atan2(dir.normalized.y, dir.normalized.x); transform.rotation = Quaternion.Slerp(transform.rotation, Quaternion.Euler(0f, 0f, angle * Mathf.Rad2Deg - 90f), speed * Time.deltaTime); } hopefully it will help
@jswift4240
@jswift4240 6 месяцев назад
@@pixanddev4187 thanks a lot, i had spending a lot of time using formulas in order to create a point x2 and y2 and move towards it but I couldn’t achieve the effect I wanted
@jswift4240
@jswift4240 6 месяцев назад
@@pixanddev4187 Hi again, do you have an email where I can contact you about this issue? It is still not working 100%
@pixanddev4187
@pixanddev4187 6 месяцев назад
@@jswift4240 i created new Discord server discord.gg/xsKMe8Er
@jswift4240
@jswift4240 6 месяцев назад
@@pixanddev4187 thanks a lot
@Drummerdave.10
@Drummerdave.10 6 месяцев назад
can i get the code
@penguinss99
@penguinss99 7 месяцев назад
I have a problem. Please help. The animation only plays once and then stops. I'm sure I did everything right.
@pixanddev4187
@pixanddev4187 7 месяцев назад
Hello my friend, go to the animation clip and check whether loop is checked ✅ or not
@penguinss99
@penguinss99 7 месяцев назад
Thank yo so much!! So, can you make a video of your character attacking?@@pixanddev4187
@pixanddev4187
@pixanddev4187 5 месяцев назад
Sure!!❤️
@scrumpieTF2
@scrumpieTF2 7 месяцев назад
I'd almost rather have someones monotone voice over the tutorial then the stupid ai voice. Its a really good tutorial though...
@pixanddev4187
@pixanddev4187 7 месяцев назад
Thank you so much☺ for your honest review... I know the Ai voice is not engaging, I'll try to change it from next video
@Joeyjubbly21
@Joeyjubbly21 7 месяцев назад
Thank you so much I'm going to create a game where you can draw items and interact with them
@pixanddev4187
@pixanddev4187 6 месяцев назад
Sounds great! I am excited to get update on that.✌️😊
@sasa-tr3hc
@sasa-tr3hc 8 месяцев назад
Thank you for this wonderful tutorial! I have a question if you can help me with, how if I want to store the drawing of the user in case the user for example draw his/her name, and after I save this drawing, if the user click on Play, this drawing name will be animated for seconds and disappear. and if the user click cancel, the drawing will be deleted and won't animated. Thank you in Advance
@pixanddev4187
@pixanddev4187 8 месяцев назад
You are so welcome! as of your question, if you want to store drawing then you need to create a custom class and then you can use any simple save system, one of the easiest save system i can suggest is EasyFileSave.
@studioshitaketakashita7093
@studioshitaketakashita7093 8 месяцев назад
you kinda need to raycast up to full standing height - as any ceiling lower than full height is no good for standing - for some reason, this is missed a lot
@pixanddev4187
@pixanddev4187 8 месяцев назад
Great!! I didn't thought about that, Thank you so much for improvement suggestion, Your comment will also help others. Thank you so much for watching😊✌️.
@jazioxmugen
@jazioxmugen 9 месяцев назад
The code throws a NullReferenceException error. The startpoint and endpoints are null valued
@unitygamedevv
@unitygamedevv 9 месяцев назад
Awesome
@pixanddev4187
@pixanddev4187 8 месяцев назад
Thank you so much! I'm glad you enjoyed it!