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

Поділитися
Вставка
  • Опубліковано 15 вер 2024

КОМЕНТАРІ • 75

  • @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 2 місяці тому

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

  • @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

  • @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 :)

  • @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 2 місяці тому

    Clearly one of the best tutorials on UA-cam. 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).

  • @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!

  • @OS975
    @OS975 2 роки тому +3

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

  • @marinivosevic1378
    @marinivosevic1378 2 роки тому +2

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

  • @luluckas1980
    @luluckas1980 2 роки тому +2

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

  • @melih__-kx2tt
    @melih__-kx2tt 2 роки тому +2

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

  • @iliachakarov7285
    @iliachakarov7285 Рік тому +1

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

  • @abhilashlr9259
    @abhilashlr9259 2 роки тому +2

    Thanks for the tutorial Adam!

  • @binodsarkarIN
    @binodsarkarIN Рік тому +1

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

  • @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

  • @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 🤩😍

  • @dorieta_gaming
    @dorieta_gaming 2 роки тому +7

    Brackeys apprentice has found boys.

  • @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

  • @razorfer
    @razorfer 2 роки тому +1

    You are amazing, thank you very much for the tutorials

  • @iSeeEZEkill
    @iSeeEZEkill 2 роки тому +1

    Love the video! As I mentioned before in your previous video, smash tv next please?

  • @afriendRU
    @afriendRU Рік тому

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

  • @thieberson
    @thieberson Рік тому

    Awesome video and project. Thanks a lot!

  • @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

  • @radhegehlot7
    @radhegehlot7 7 місяців тому

    Bro u are amazing plz continue uploading video❤

  • @jackstirling4102
    @jackstirling4102 10 місяців тому

    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!

  • @under2365
    @under2365 2 роки тому +1

    You are the best man!

  • @nicolasfonseca1660
    @nicolasfonseca1660 2 місяці тому

    LEGEND!

  • @lucasbats
    @lucasbats 4 місяці тому

    Great tutorial, thank you so much!

  • @majime1764
    @majime1764 2 роки тому +1

    Great tutorial!

  • @osmanfrnc8924
    @osmanfrnc8924 2 роки тому +1

    Oh Amazing thanks you for everything

  • @spiderman699
    @spiderman699 6 місяців тому

    thank you for this tutorial , God bless you🙏🙏

  • @kg555tv8
    @kg555tv8 2 роки тому +1

    Keep it up

  • @Agent-wu6fr
    @Agent-wu6fr 2 роки тому

    Always thumbs up

  • @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

  • @fredsurj9687
    @fredsurj9687 2 роки тому

    Very good video, thx for the tutorial

  • @denissarca744
    @denissarca744 4 місяці тому

    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.

  • @themonkeysadvocate3265
    @themonkeysadvocate3265 2 роки тому +1

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

  • @tetelp7656
    @tetelp7656 2 роки тому

    Very nice Video.

  • @Pflaumenpflucker
    @Pflaumenpflucker 2 роки тому

    Amazing!!!

  • @moonnight9474
    @moonnight9474 2 роки тому +1

    wow 😆😆

  • @Accountant-rx1yn
    @Accountant-rx1yn Місяць тому

    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);
    }

  • @zeeproject
    @zeeproject 2 роки тому

    Thanks Bro!!!!

  • @waleedal-thawadi2783
    @waleedal-thawadi2783 2 роки тому

    You are amazing ^_^

  • @joenobre6310
    @joenobre6310 Рік тому +1

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

  • @storm_claw
    @storm_claw 10 місяців тому

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

  • @borisyeltsinquispequispe4103
    @borisyeltsinquispequispe4103 2 роки тому

    gracias me ayudo muchisimo :D

  • @nurulfathimah89
    @nurulfathimah89 7 місяців тому

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

  • @MekoBello
    @MekoBello 11 місяців тому

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

  • @juhainaahmed6090
    @juhainaahmed6090 Рік тому

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

  • @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.

  • @PulkitMalhotra
    @PulkitMalhotra 2 роки тому

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

  • @georgitodorov8028
    @georgitodorov8028 4 місяці тому

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

  • @baranidharan3561
    @baranidharan3561 Рік тому

    how to open project settings tab

  • @under2365
    @under2365 2 роки тому

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

  • @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.

  • @lilxenonz3898
    @lilxenonz3898 2 роки тому +1

    geometry dash next

  • @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.

  • @muhammadjunaid649
    @muhammadjunaid649 Рік тому

    Is this game for Android?

  • @PulkitMalhotra
    @PulkitMalhotra 2 роки тому

    1:17:46 how to enable auto-complete

  • @leoaguaviva6046
    @leoaguaviva6046 5 місяців тому

    Here's a hint for fruit look in my pfp

  • @FroztyyOnVR
    @FroztyyOnVR 5 місяців тому

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

  • @Leon-yw5qx
    @Leon-yw5qx 2 роки тому

    🄿🅁🄾🄼🄾🅂🄼 😬