How to make Fruit Ninja in Unity (Complete Tutorial) 🍉🔪

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 พ.ย. 2024

ความคิดเห็น • 77

  • @Zigurous
    @Zigurous  ปีที่แล้ว +7

    Visit the GitHub page for the most up to date source code: github.com/zigurous/unity-fruit-ninja-tutorial
    View the FAQ for answers to common questions: github.com/zigurous/unity-fruit-ninja-tutorial/wiki

    • @AngelAngel-ew8vx
      @AngelAngel-ew8vx ปีที่แล้ว

      Actually I have a question. I am new to game. So when I kept plane in the scene and rotated through -90 x axis. The plane becomes invisible in scene view but is visible in game view. What should I do?

    • @pedrop13
      @pedrop13 4 หลายเดือนก่อน

      @@AngelAngel-ew8vx flip your camera on scene to the other side

  • @codingchamp2185
    @codingchamp2185 2 ปีที่แล้ว +1

    LOL, I just completed your snake tutourial like 15 minutes ago and now you uploaded this video. God loves me !!!

  • @othrys5458
    @othrys5458 3 หลายเดือนก่อน

    Clearly one of the best tutorials on TH-cam. Keep it up!

  • @Proxy720
    @Proxy720 2 ปีที่แล้ว +11

    Just discovered your channel, one of the best out there to be honest !! would love to see a tutorial on the arcade game defender next. keep up the good work :)

    • @richardlongshaw8079
      @richardlongshaw8079 2 ปีที่แล้ว

      Love to see a Defender tutorial - with sound too!

  • @theashbot4097
    @theashbot4097 ปีที่แล้ว +21

    for those who want the hex values of the fruit here they are (Note: these are in order that he assigns them in.)
    (IMPORTANT: IF YOU COPY AND PAST YOU MIGHT NEED TO TAKE OFF A SPACE AT THE END THAT IS CAUSED BY FORMATTING.)
    Watermelon outside, 20A748
    Watermelon inside, FF4D43
    Apple inside, FEF695
    Apple outside, EB4135
    Lemmon outside, FFDF30
    Lemmon inside, FFEAA4
    Orange outside, E26310
    Orange inside, FFA836
    Kiwi outside, 91631D
    Kiwi inside, 90C825

  • @OS975
    @OS975 2 ปีที่แล้ว +3

    You are amazing Adam, keep on. Many thanks for your efforts.

  • @iliachakarov7285
    @iliachakarov7285 ปีที่แล้ว +1

    Really enjoyable! Made the whole thing and added some! Thx!!!

  • @luluckas1980
    @luluckas1980 2 ปีที่แล้ว +2

    Thank you mate, I'm getting better and better every time thanks to you! Keep it up!

  • @LeviPage
    @LeviPage 2 ปีที่แล้ว +2

    Underrated channel it seems given the quality of this content. Keep it up! Just found your channel. Great video. Side note, background music is a tad loud in certain parts (around 33mins for example).

  • @marinivosevic1378
    @marinivosevic1378 2 ปีที่แล้ว +2

    Thank you so much for this type of content. You are a amazing teacher. Keep up the good work man.

  • @melih__-kx2tt
    @melih__-kx2tt 2 ปีที่แล้ว +2

    i love the channel and the tutorials. Keep it up man!

  • @binodsarkarIN
    @binodsarkarIN 2 ปีที่แล้ว +1

    amazing tutorial and very in-depth explanations of the concepts. thanks for this one.

  • @abhilashlr9259
    @abhilashlr9259 2 ปีที่แล้ว +2

    Thanks for the tutorial Adam!

  • @GRZY21
    @GRZY21 2 ปีที่แล้ว +6

    Nice video, I really enjoy those tutorials, because I can learn a lot in such a small period of time!
    Could you please do an "Tricky Towers" Tutorial with sound or a menu system next time? I would love to see this tutorial!
    I also thought, it would be pretty interesting if you could make a "community game" at a bigger scale, where we all could work together on one project and learn by our mistakes... I really think this could turn out great!

  • @binkbonkbones3402
    @binkbonkbones3402 ปีที่แล้ว

    Hey, I'm sorry to see this youtube video hasn't gotten more views and interaction, it's very informative and clear. If you would happen to be interested in something potentially more lucrative I am looking for someone to help me create a story. It'll be a 3rd person melee action game for mobile, sort of like infinity blade, but you seem to already have the skills we would need, and I think it could draw a lot of income. I wouldn't say it if I didn't think It could take off, because I need the money as much as the next guy

  • @user-zd1rd3rh4n
    @user-zd1rd3rh4n 14 วันที่ผ่านมา

    thank you teach me how to make fruit ninja in unity
    i just study unity in school
    I learned a lot from this video!

  • @minhtri7525
    @minhtri7525 2 ปีที่แล้ว

    Thank you very much. I have been trying to increase score for 2 days now without success. Thanks to this video I made it 🤩😍

  • @afriendRU
    @afriendRU 2 ปีที่แล้ว

    Cool tutorial and good working source code! Thank you!))

  • @radhegehlot7
    @radhegehlot7 8 หลายเดือนก่อน

    Bro u are amazing plz continue uploading video❤

  • @razorfer
    @razorfer 2 ปีที่แล้ว +1

    You are amazing, thank you very much for the tutorials

  • @thieberson
    @thieberson ปีที่แล้ว

    Awesome video and project. Thanks a lot!

  • @dorieta_gaming
    @dorieta_gaming 2 ปีที่แล้ว +7

    Brackeys apprentice has found boys.

  • @lucasbats
    @lucasbats 6 หลายเดือนก่อน

    Great tutorial, thank you so much!

  • @Skywalker_Jedi_Master
    @Skywalker_Jedi_Master ปีที่แล้ว

    Thank you for this amazing tutorial and the hard work you put in it , it's really helpful , keep it up

  • @nicolasfonseca1660
    @nicolasfonseca1660 4 หลายเดือนก่อน

    LEGEND!

  • @under2365
    @under2365 2 ปีที่แล้ว +1

    You are the best man!

  • @majime1764
    @majime1764 2 ปีที่แล้ว +1

    Great tutorial!

  • @spiderman699
    @spiderman699 8 หลายเดือนก่อน

    thank you for this tutorial , God bless you🙏🙏

  • @jackstirling4102
    @jackstirling4102 ปีที่แล้ว

    Amazing tutorial, going to save my assignment! Having a small issue with the fruit not rotating as they should when you slice them, but besides that works great!

  • @lazzzy5514
    @lazzzy5514 2 ปีที่แล้ว +3

    i loved the tutorial , i am new to c# and i want to create a game like alpha attack from miniclips . how should i start coding ?
    any tip or is there any way to datamine and get that games source code?
    i guess it will be a pretty good experience to make it on my own

  • @khoa4k266
    @khoa4k266 2 ปีที่แล้ว +2

    Have you ever thought of making a dev log of your own game? Please make one if possible
    Btw, your tutorials are extremely helpful and detailed

  • @osmanfrnc8924
    @osmanfrnc8924 2 ปีที่แล้ว +1

    Oh Amazing thanks you for everything

  • @Agent-wu6fr
    @Agent-wu6fr 2 ปีที่แล้ว

    Always thumbs up

  • @denissarca744
    @denissarca744 6 หลายเดือนก่อน

    Hello! Great tutorial and keep up the good work!
    How can i change the game so i can count the "mistakes"?
    By "mistakes" i mean the fruits that aren't sliced and fell off.

  • @fredsurj9687
    @fredsurj9687 2 ปีที่แล้ว

    Very good video, thx for the tutorial

  • @kg555tv8
    @kg555tv8 2 ปีที่แล้ว +1

    Keep it up

  • @themonkeysadvocate3265
    @themonkeysadvocate3265 2 ปีที่แล้ว +1

    I will try to make it on my own and then check the video for confirmation xd

  • @Pflaumenpflucker
    @Pflaumenpflucker 2 ปีที่แล้ว

    Amazing!!!

  • @tetelp7656
    @tetelp7656 2 ปีที่แล้ว

    Very nice Video.

  • @storm_claw
    @storm_claw ปีที่แล้ว

    can I please link to download this game, I just want to check how much I understood your explanation

  • @waleedal-thawadi2783
    @waleedal-thawadi2783 2 ปีที่แล้ว

    You are amazing ^_^

  • @zeeproject
    @zeeproject 2 ปีที่แล้ว

    Thanks Bro!!!!

  • @Accountant-rx1yn
    @Accountant-rx1yn 2 หลายเดือนก่อน

    Thanks for the great tutorial!
    The Blade for me did not move correctly until I updated my implementation to:
    private void ContinueSlicing()
    {
    // Convert mouse position to world space, keeping the Z position constant.
    Vector3 mousePosition = Input.mousePosition;
    mousePosition.z = -mainCamera.transform.position.z; // This ensures it is on the same Z plane as the fruits.
    Vector3 newPosition = mainCamera.ScreenToWorldPoint(mousePosition);
    newPosition.z = 0f; // Fix Z position to the plane where fruits exist.
    direction = newPosition - transform.position;
    isSlicing = true;
    float velocity = direction.magnitude / Time.deltaTime;
    bladeCollider.enabled = velocity > minSliceVelocity;
    transform.position = newPosition;
    Debug.Log("[ContinueSlicing] moving blade to " + newPosition);
    }

  • @vulcan5042
    @vulcan5042 หลายเดือนก่อน

    Followed the tutorial for just the blade and its not letting me drag the sphere around on clicks

  • @moonnight9474
    @moonnight9474 2 ปีที่แล้ว +1

    wow 😆😆

  • @juhainaahmed6090
    @juhainaahmed6090 2 ปีที่แล้ว

    The assets are in some other formats... like the Wood material is shown as Access table..could you please check

  • @MekoBello
    @MekoBello ปีที่แล้ว

    how would you put sound effects on this, every time you slice a fruit?

  • @borisyeltsinquispequispe4103
    @borisyeltsinquispequispe4103 2 ปีที่แล้ว

    gracias me ayudo muchisimo :D

  • @PulkitMalhotra
    @PulkitMalhotra 2 ปีที่แล้ว

    Thanks Great video. It took me 3 days. Auto-complete still not working.

  • @joenobre6310
    @joenobre6310 2 ปีที่แล้ว +1

    How are you? How I can add a combo system?

  • @nurulfathimah89
    @nurulfathimah89 9 หลายเดือนก่อน

    Can i know thjs video game have sound when we want to play please if anyone knows please tell me .

  • @kg555tv8
    @kg555tv8 2 ปีที่แล้ว

    Also can you please include design pattern and UML/architecture design as well ?

    • @kg555tv8
      @kg555tv8 2 ปีที่แล้ว

      @@---nu4ed ​well then why u even use unity, just use any drag and drop game maker lol

    • @kg555tv8
      @kg555tv8 2 ปีที่แล้ว

      @@---nu4ed ​ and still think design patterns are for nerds ? did you make any game complex large game, anyway I just like complex stuff else my mind goes numb.. plus I am bored on playing games let alone making them thru basic coding.

  • @lilxenonz3898
    @lilxenonz3898 2 ปีที่แล้ว +1

    geometry dash next

  • @random_precision_software
    @random_precision_software 2 ปีที่แล้ว +9

    Hi, this is the only game im disappointed at, there's been loads of tutorials on this game. I was hoping for something like defender or a dig dug or something. But that's just me moaning lol..I'll still watch it, and most probably still learn something from it. !

    • @kumatoons5508
      @kumatoons5508 2 ปีที่แล้ว

      Agreed

    • @sarahkatenoel
      @sarahkatenoel 2 ปีที่แล้ว +3

      I like the way Zig specifically explains stuff, even if fruit ninja does have a lot of other tutorials. Also, sometimes the backend for the same game is different if a different coder implemented it. (Though admittedly I haven't watched anyone else's fruit ninja videos) I like Zig's coding style. It's helping me be less kludgy with my projects.

  • @under2365
    @under2365 2 ปีที่แล้ว

    Can you make a udemy cours with games for unity please.

  • @muhammadjunaid649
    @muhammadjunaid649 2 ปีที่แล้ว

    Is this game for Android?

  • @georgitodorov8028
    @georgitodorov8028 6 หลายเดือนก่อน

    i did it everything correct but the fruits aint slicing for me

  • @baranidharan3561
    @baranidharan3561 ปีที่แล้ว

    how to open project settings tab

  • @PulkitMalhotra
    @PulkitMalhotra 2 ปีที่แล้ว

    1:13:27 my Project Settings not showing

    • @PulkitMalhotra
      @PulkitMalhotra 2 ปีที่แล้ว

      Package Manager also

    • @joliveres
      @joliveres ปีที่แล้ว

      @@PulkitMalhotra Edit -> Project Settings will open that window, while Window -> Package Manager will open the other. You can dock them next to the inspector if you want but it doesn't matter.

  • @PulkitMalhotra
    @PulkitMalhotra 2 ปีที่แล้ว

    1:17:46 how to enable auto-complete

  • @leoaguaviva6046
    @leoaguaviva6046 7 หลายเดือนก่อน

    Here's a hint for fruit look in my pfp

  • @FroztyyOnVR
    @FroztyyOnVR 6 หลายเดือนก่อน

    70% of the scripts are not what he's using and it didn't work, horrible tutorial ngl

  • @Leon-yw5qx
    @Leon-yw5qx 2 ปีที่แล้ว

    🄿🅁🄾🄼🄾🅂🄼 😬