Тёмный
DG47Studios
DG47Studios
DG47Studios
Подписаться 25
Welcome to DG47Studios! This channel will be primarily focused on everything around game development! This includes either videos about game dev or tutorial videos aimed to help beginners find their way! If you enjoy, please consider subscribing and sharing this channel!
Follow me on Twitter - @DashGames47
My Patreon - patreon.com/DashGames47
Комментарии
@soumysahu
@soumysahu 3 дня назад
Here is a less spaghetti code: on Interaction script fire this function: bool isOpen; void DoorRotate() { Animator anim = this.GetComponentInParent<Animator>(); anim.SetBool("IsOpen", isOpen); isOpen = !isOpen; } and in the animator set the bool variable's name to IsOpen<---here capital matter Animator:- {idle} condition = IsOpen(false)disable exit time [between idle and open] ->{open} condition = IsOpen(true)--disable exit time->close [between open and close] ->{close} condition = enable has exit time [between close and idle] bool in interaction scrip if false by default and in the animator is true by default
@Geetabishnoi_
@Geetabishnoi_ 27 дней назад
Its working brother thank you 🙏🙏🙏🙏🙏🙏🙏🙏🙏
@Rotsiv
@Rotsiv Месяц назад
By far the best raycast tutorial for beginners :D
@Crafty_Crafter5
@Crafty_Crafter5 Месяц назад
Thank you, this helps me alot!
@DG47Studios
@DG47Studios Месяц назад
im glad!
@magplay15
@magplay15 6 месяцев назад
I have an issue. When i want to open another door with raycast. It's animating together. Can you solve it ?
@DG47Studios
@DG47Studios 6 месяцев назад
You'll need to use separate animations for every door (just repeat what you did with the first door) as the doors you have now are using the same animator controller
@magplay15
@magplay15 6 месяцев назад
@@DG47Studios which means with the different or another script codes ?
@DG47Studios
@DG47Studios 5 месяцев назад
@@magplay15 You can use the same script! Just need a different animator controller for each door (im pretty sure, its been a long time since i had this video)
@thelonghaul9902
@thelonghaul9902 6 месяцев назад
Mine's not working it says it's not playing an animation controller on the console.
@DG47Studios
@DG47Studios 6 месяцев назад
sorry for the late response, be sure you've double checked every small detail i did in the video to make sure u didnt miss anything
@Loyal_boy_94
@Loyal_boy_94 7 месяцев назад
Hii brother my project Null Not assign
@DG47Studios
@DG47Studios 6 месяцев назад
what do you mean?
@ROCKSMASHER
@ROCKSMASHER 9 месяцев назад
Nice
@DG47Studios
@DG47Studios 8 месяцев назад
nice
@GaryyHe
@GaryyHe 9 месяцев назад
Can you put the code in the desc its hard to read
@DG47Studios
@DG47Studios 9 месяцев назад
this is the full video - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-mB077hmzL3Q.htmlsi=MqU2P3MRHPtmBvwh
@Ethan-nc6rb
@Ethan-nc6rb 9 месяцев назад
really useful video and the first that actually worked with no issues great work
@DG47Studios
@DG47Studios 9 месяцев назад
Thank you!
@atonyrodelo
@atonyrodelo 10 месяцев назад
yo thank you so much dude of I have questions can I email you
@DG47Studios
@DG47Studios 10 месяцев назад
im glad i can help!! my business email is in my about me section, just dont spam it lmao
@atonyrodelo
@atonyrodelo 10 месяцев назад
@@DG47Studios I won't thanks
@AustinGeometryDash
@AustinGeometryDash Год назад
It works but I can't click any buttons even with an eventsystem.
@DG47Studios
@DG47Studios Год назад
apologise for the late reply, have you made sure it is a buttonTMP under the UI category? also have you made sure to assign the buttons to the functions?
@AustinGeometryDash
@AustinGeometryDash Год назад
@@DG47Studios Yes I have all of that
@JakeSimmer
@JakeSimmer Год назад
Hi, I believe now that there are more roads to Rome, compare the ground to the player or the player to the ground. Is jumping or Is walking. It's a new way of thinking, which is good for our creativity, but there is always another way to doing things aparently..... Btw, I'm still thinking of messing around a bit with Scratch just to get my head around the basics of programming. Anyway, glad to have found your channel. Jake #9
@DG47Studios
@DG47Studios Год назад
indeed! there are different ways of doing a ground check like using raycasts, but i try to aim to keep everything as simple as possible so new unity users can follow along!
@JakeSimmer
@JakeSimmer Год назад
Hi, sub #9 here, I'm finally starting my Unity journey and it's a steep learning curve so far. The old X=X+1 is no more... haha ;-) I wonder if you could make an example for new people like me. Just with transform, how to move a sprite, and then how to rotate and change the size. Mostly to make the connection between the inspector and the code. Of cause I also have to put in the time, and just check as much vids and shorts as possible, but as a beginner it hard to see the logic in it all. Cheers from Holland and glad to have found your channel. Jake.
@DG47Studios
@DG47Studios Год назад
hey thanks for the kind words! i have a tutorial on player movement up already if u wanna check it out
@JakeSimmer
@JakeSimmer Год назад
@@DG47Studios Lemme find that one quick brother! I did find more info so I'm getting closer and closer to actually game programming... whooohoooo
@burningcupid1047
@burningcupid1047 Год назад
Thank you for this. It was very helpful and easy to follow
@DG47Studios
@DG47Studios Год назад
Glad i could help!
@huynluna3244
@huynluna3244 Год назад
Thank you so much, I have a bug that the door go loop in it default state. your clip in 2:45 save me
@DG47Studios
@DG47Studios Год назад
no worries! glad i could help
@Unity_Tutorial_Games
@Unity_Tutorial_Games Год назад
cool
@DG47Studios
@DG47Studios Год назад
cool
@user-wd6jh3ow9b
@user-wd6jh3ow9b Год назад
here befoure you get famous
@DG47Studios
@DG47Studios Год назад
not happening hehe
@Jay-og4yb
@Jay-og4yb Год назад
This isnt respawning this is just moving the player. Respawning generally resets the level
@DG47Studios
@DG47Studios Год назад
for that, in the if statement, u can simply do, Scenemanager.LoadScene("Name of scene");
@DG47Studios
@DG47Studios Год назад
Apologies for the quality, I had to download this video from RU-vid as I don't have the original file anymore (from my main channel)
@soumysahu
@soumysahu 3 дня назад
pin my comment