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

Sdílet
Vložit
  • čas přidán 6. 09. 2024

Komentáře • 75

  • @Zigurous
    @Zigurous  Před rokem +6

    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 Před rokem

      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 Před 2 měsíci

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

  • @theashbot4097
    @theashbot4097 Před rokem +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 Před 2 lety +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 Před 2 lety +1

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

  • @othrys5458
    @othrys5458 Před 2 měsíci

    Clearly one of the best tutorials on CZcams. Keep it up!

  • @dorieta_gaming
    @dorieta_gaming Před 2 lety +7

    Brackeys apprentice has found boys.

  • @GRZY21
    @GRZY21 Před 2 lety +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 Před 2 lety +3

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

  • @LeviPage
    @LeviPage Před 2 lety +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).

  • @luluckas1980
    @luluckas1980 Před 2 lety +2

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

  • @marinivosevic1378
    @marinivosevic1378 Před 2 lety +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 Před 2 lety +2

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

  • @iliachakarov7285
    @iliachakarov7285 Před rokem +1

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

  • @abhilashlr9259
    @abhilashlr9259 Před 2 lety +2

    Thanks for the tutorial Adam!

  • @binodsarkarIN
    @binodsarkarIN Před rokem +1

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

  • @khoa4k266
    @khoa4k266 Před 2 lety +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

  • @binkbonkbones3402
    @binkbonkbones3402 Před rokem

    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 Před 2 lety

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

  • @nicolasfonseca1660
    @nicolasfonseca1660 Před 2 měsíci

    LEGEND!

  • @razorfer
    @razorfer Před 2 lety +1

    You are amazing, thank you very much for the tutorials

  • @iSeeEZEkill
    @iSeeEZEkill Před 2 lety +1

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

  • @thieberson
    @thieberson Před rokem

    Awesome video and project. Thanks a lot!

  • @radhegehlot7
    @radhegehlot7 Před 6 měsíci

    Bro u are amazing plz continue uploading video❤

  • @under2365
    @under2365 Před 2 lety +1

    You are the best man!

  • @lucasbats
    @lucasbats Před 4 měsíci

    Great tutorial, thank you so much!

  • @majime1764
    @majime1764 Před 2 lety +1

    Great tutorial!

  • @denissarca744
    @denissarca744 Před 4 měsíci

    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.

  • @lazzzy5514
    @lazzzy5514 Před 2 lety +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

  • @afriendRU
    @afriendRU Před rokem

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

  • @Skywalker_Jedi_Master

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

  • @jackstirling4102
    @jackstirling4102 Před 10 měsíci

    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!

  • @spiderman699
    @spiderman699 Před 6 měsíci

    thank you for this tutorial , God bless you🙏🙏

  • @osmanfrnc8924
    @osmanfrnc8924 Před 2 lety +1

    Oh Amazing thanks you for everything

  • @themonkeysadvocate3265
    @themonkeysadvocate3265 Před 2 lety +1

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

  • @Agent-wu6fr
    @Agent-wu6fr Před 2 lety

    Always thumbs up

  • @fredsurj9687
    @fredsurj9687 Před 2 lety

    Very good video, thx for the tutorial

  • @kg555tv8
    @kg555tv8 Před 2 lety +1

    Keep it up

  • @nurulfathimah89
    @nurulfathimah89 Před 7 měsíci

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

  • @tetelp7656
    @tetelp7656 Před 2 lety

    Very nice Video.

  • @Accountant-rx1yn
    @Accountant-rx1yn Před 27 dny

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

  • @joenobre6310
    @joenobre6310 Před rokem +1

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

  • @Pflaumenpflucker
    @Pflaumenpflucker Před 2 lety

    Amazing!!!

  • @storm_claw
    @storm_claw Před 10 měsíci

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

  • @waleedal-thawadi2783
    @waleedal-thawadi2783 Před 2 lety

    You are amazing ^_^

  • @juhainaahmed6090
    @juhainaahmed6090 Před rokem

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

  • @urickbaptiste5297
    @urickbaptiste5297 Před 11 měsíci

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

  • @zeeproject
    @zeeproject Před 2 lety

    Thanks Bro!!!!

  • @random_precision_software

    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 Před 2 lety

      Agreed

    • @sarahkatenoel
      @sarahkatenoel Před 2 lety +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.

  • @borisyeltsinquispequispe4103

    gracias me ayudo muchisimo :D

  • @moonnight9474
    @moonnight9474 Před 2 lety +1

    wow 😆😆

  • @PulkitMalhotra
    @PulkitMalhotra Před 2 lety

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

  • @baranidharan3561
    @baranidharan3561 Před rokem

    how to open project settings tab

  • @georgitodorov8028
    @georgitodorov8028 Před 4 měsíci

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

  • @PulkitMalhotra
    @PulkitMalhotra Před 2 lety

    1:13:27 my Project Settings not showing

    • @PulkitMalhotra
      @PulkitMalhotra Před 2 lety

      Package Manager also

    • @joliveres
      @joliveres Před rokem

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

  • @under2365
    @under2365 Před 2 lety

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

  • @lilxenonz3898
    @lilxenonz3898 Před 2 lety +1

    geometry dash next

  • @kg555tv8
    @kg555tv8 Před 2 lety

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

    • @kg555tv8
      @kg555tv8 Před 2 lety

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

    • @kg555tv8
      @kg555tv8 Před 2 lety

      @@---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 Před rokem

    Is this game for Android?

  • @PulkitMalhotra
    @PulkitMalhotra Před 2 lety

    1:17:46 how to enable auto-complete

  • @leoaguaviva6046
    @leoaguaviva6046 Před 5 měsíci

    Here's a hint for fruit look in my pfp

  • @FroztyyOnVR
    @FroztyyOnVR Před 4 měsíci

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

  • @Leon-yw5qx
    @Leon-yw5qx Před 2 lety

    🄿🅁🄾🄼🄾🅂🄼 😬