Unity Farm Game Tutorial - Planting & Harvesting - Part 1

Поделиться
HTML-код
  • Опубликовано: 22 окт 2024

Комментарии • 93

  • @DelishPopcornGames
    @DelishPopcornGames Год назад +1

    You have no idea how excited I was to see this... and then see the playlist of more! Thank you!!!

  • @midiolympics5105
    @midiolympics5105 3 года назад +7

    So excited for this tutorial series, I really love farming sim games. Thank you so much!

  • @princess-celestia
    @princess-celestia 3 года назад +1

    Got the urge to pick up Unity again after a grueling job sucked my energy for a year; this is lovely tutorial to refresh!

    • @SilverlyBee
      @SilverlyBee  3 года назад

      Nice! Hope it helps you fuel the passion for game making!

  • @qmerk2661
    @qmerk2661 Год назад +3

    if anyone is new to unity, and having a hard time learning or remembering things, i have a great way to go about getting better at it. (i figured id come back to the first video to say this so if anyone wants to try this, they can start right away in this series)
    this IS what i do and it helps a lot, but it is also a lot more work (but so is going thru a bunch of tutorials and not remembering much, and then needing to keep learning for longer)
    ok so, what i do is, i follow an episode, and then when its done, i restart it from the beginning, then i open notepad, and then as the video is going, i write down each step that the tutorial explains or does. i also copy and paste the scripts in sections based on when they were edited or when code was added (explaining in my noted why or what is needed to be added in the script)
    and then after ive finished making notes(and copying and pasting the scripts sections) of the episode, i move on to the next episode and do the same thing.
    and repeat this until i finish the series.
    at the end i start a new project and remake the game without the tutorial by doing as much as i can without the notes and when needed, i use the notes i made. and i use the scripts i copied only to remember something that i forgot.(its not a problem if you have to completely copy again, just try hard not to)
    while also adding comments in my scripts explaining why and what everything im doing.(it helps understand better trust me)
    and i legit do all of this a couple of times. and i swear by a couple of times, i can make this or any other tutorials game without notes or a tutorial. and the best part is that i understand it enough to make a completely different version of it or add to it(really whatever).able to make your own game.
    i understand this seems like a lot of work, but just think of it like this. you spend a week on a couple tutorials just following a long, and at the end of it, you really still dont know how to make any games like that by yourself without any help.
    or you spend about a week on a tutorial doing what i just mentioned and then you ARE able to make a game like this without any help.
    it truly just drives it into your brain doing it this way, and you cant help it to remember things and understand thing.
    well anyways, if anyone tries this, come back here and let me know if it helped. have a great day!
    oh and great tutorial SilverlyBee! 🙂

    • @Tbreck11
      @Tbreck11 Год назад

      That's a great method! I will give this a try myself!

  • @MiMiBrokenbourgh
    @MiMiBrokenbourgh 2 года назад +1

    Gonna be making this for my mom! Farming simulators have always been my fav type of game.

  • @murphhsstudio7098
    @murphhsstudio7098 2 года назад +5

    You inspired me to build this in 2D with normal tilemaps, RPG style. Had to re-do a lot of the art.
    So far, have 1 fully working plot! The rest comes easy :D Thank you

    • @SilverlyBee
      @SilverlyBee  2 года назад

      Nice! Good luck on your project!

    • @bee25tyler
      @bee25tyler 2 года назад

      HI I am looking to make the most basic faming game with a few plots and a few crops for the playdate. DO you think this is a good starting approach for someone who has never written code?

    • @SilverlyBee
      @SilverlyBee  2 года назад +1

      @@bee25tyler If you're familiar with unity then yes. If you're not then you might struggle a bit with the engine at first.

    • @bee25tyler
      @bee25tyler 2 года назад

      @@SilverlyBee thank you. I'll see what I can do. I've never done anything like this.

    • @SilverlyBee
      @SilverlyBee  2 года назад

      @@bee25tyler Good luck!

  • @aussiedev5930
    @aussiedev5930 3 года назад +3

    Nice tutorial, A little hint for future videos can you please zoom in the visual studio code to make it easier to read. Great work. Love it.

    • @SilverlyBee
      @SilverlyBee  3 года назад +1

      Thanks! I'll keep that in mind for my future videos ;)

  • @TheKr0ckeR
    @TheKr0ckeR 3 года назад +4

    Thanks you! can't wait to see other parts! I'm really into a farming game.

    • @SilverlyBee
      @SilverlyBee  3 года назад +1

      Farm games rule! :D It'll be up soon.

  • @alinadavis3055
    @alinadavis3055 9 месяцев назад

    Thank you for the tutorial. hopefully in the next video we will actually be able to see the video screen. Also I had to manually reclip all the sprites.

  • @potantirittisak8494
    @potantirittisak8494 3 года назад +1

    Thank you! Excited to start this project!

  • @ocofredacuriosidade
    @ocofredacuriosidade 9 месяцев назад

    Hi, how are you? How did you get those assets? Did you make it yourself? I would love to know so I can expand on the idea of you tutorials.

  • @cozygamemaker
    @cozygamemaker 6 месяцев назад

    Thanks a ton for great tutorials!
    I'm not sure about why Rigibody2d needed to be added.
    I could see if I don't add Rdbd, clicking corn doesn't work even if Collider exist in that area.
    But why?😬

  • @Dunga
    @Dunga 3 года назад +2

    Trying to follow along, but my visual study doesn't automatically create a new private void, nor do the colours change if I write Debug.Log.
    Makes me wonder if I'm missing some settings. (First year student btw)

    • @SilverlyBee
      @SilverlyBee  3 года назад

      Hi, this solution should probably work (if it does or doesn't let me know because there are other things that can be changed as well):
      1 - close out of Visual Studio
      2 - Open Unity and go to Edit>Preferences
      3 - On the left side tabs chose "External Tools" and on there, there should be an "External Script Editor" option, just select the visual studio you are using, btw I'm using visual studio community (what I see most often referred to as Visual Studio) but there's also visual studio code (that people refer to as VS Code).

    • @Dunga
      @Dunga 3 года назад +1

      @@SilverlyBee Got it. Working in Visual Studio 2019.
      First venture into C# and this is our project (very similar at least).

    • @SilverlyBee
      @SilverlyBee  3 года назад +1

      @@Dunga Nice! :D

  • @lucasferreiravilela7247
    @lucasferreiravilela7247 3 года назад +3

    Amazing! Waiting for next parts of tutorial :)

  • @tweetymr
    @tweetymr 3 года назад +4

    Nice tutorial! Just what I needed right now. Kind of scary :-D
    I have one question: Under what license the Sprites and the scripts are published?
    I would like to use some parts of this in my own farming game, if you allow that :-)
    Please keep up the good work.
    Beautiful code, beautiful voice and well explained!

    • @SilverlyBee
      @SilverlyBee  3 года назад +4

      Hi, thank you :) I haven't published it under any licenses, I made the sprites and the scripts myself and I don't mind use/alterations on them, but credits would be nice and sure use them however you'd like :)

  • @vayneirisu6961
    @vayneirisu6961 2 года назад +1

    thank's for your great tutorial , can i know what app you used to make all the sprite? because i kind of new with this farming game tutorial and i want to try to making the sprites myself . Thank You

    • @SilverlyBee
      @SilverlyBee  2 года назад +1

      Hey, I used pixilart and sometimes piskel. There's a video on my channel where I go in depth about the apps you can use and how I normally make those sprites.

    • @vayneirisu6961
      @vayneirisu6961 2 года назад +1

      @@SilverlyBee cool! Thank You , I will watch it .

  • @KhaledIron
    @KhaledIron Год назад

    That's so cool, strangely I did a game similar to this but just in 2D and not 2.5D, really awesome game!

  • @meiner9047
    @meiner9047 3 года назад +5

    Thank You for this tutorial. :)

  • @dranoeldragon3457
    @dranoeldragon3457 3 года назад +1

    Thank you wery much. I am going to make a farming game and Your tutorials are wery cool!

  • @creativetranscendentgames6893
    @creativetranscendentgames6893 3 года назад +2

    Wow this looks amazing

  • @Tri_Music
    @Tri_Music 2 года назад

    Nice Tutorial! I still have a question: When i finished the plantStages thing it said in the console with a error saying "cannot convert flioat to int(Are you mising a cast?)" i still cannot solve the problem. Do you know why?

  • @GavenXu-e1k
    @GavenXu-e1k 3 месяца назад

    You are awesome . Thank you very very much!

  • @damdakos
    @damdakos 3 года назад +2

    Great tutorial!

  • @erased_unocard7760
    @erased_unocard7760 Год назад +1

    (Fixed)
    My box collider seems to be high above the place where it should be, I know this is not a code problem (because I tried the code in the desc) so it must be an option I selected though I can’t find any difference between mine and yours.
    Any idea what could be causing this?
    Edit:
    I did y/20 instead of y/2 and it worked with pin-point accuracy, I believe this is because I have created my own sprites and they are small on scale or something. If anyone else has a similar problem just adjust y/

  • @고태영-y5s
    @고태영-y5s 2 года назад +1

    Thank you from Korea! Could I use these Images in my game project?

    • @SilverlyBee
      @SilverlyBee  2 года назад

      Sure, though credits would be nice :)

  • @GeneralNescau
    @GeneralNescau 3 года назад

    Nice, remembers me my childhood.

  • @mustFLEXboi
    @mustFLEXboi 3 года назад +1

    Good tutorial. Will wait for next

    • @SilverlyBee
      @SilverlyBee  3 года назад +2

      Thanks :) the next is already up!

  • @BiggTurkk
    @BiggTurkk 3 года назад +2

    getting an error at 17 mins in after i saved last code. Spriterenderer does not contain a definition for Sprite ETC ETC. i Have everthing as you do.

    • @SilverlyBee
      @SilverlyBee  3 года назад

      If you could send me the error I could be more precise, but I think your problem is in the UpdatePlant function (since it involves Spriterender and sprites). My best guess is that you wrote .Sprite when trying to access the sprite in the plant, since C# is case sensitive (Sprite is different from sprite or SPRITE or sPrItE on C#), I believe using .sprite should fix it. If that doesn't work, I'm almost certain the error is on the UpdatePlant function, just check yours and mine to be sure it's written the same.

    • @BiggTurkk
      @BiggTurkk 3 года назад +1

      @@SilverlyBee omg I was thinking that but on the video i swear it looked like a capital! thanks so much for reply quick it was helpful. I will be around supporting your videos! Thanks!

    • @SilverlyBee
      @SilverlyBee  3 года назад

      @@BiggTurkk Glad it helped :) thank you for your support!

  • @funduino8322
    @funduino8322 2 года назад

    Awesome, thank you

  • @MiMiBrokenbourgh
    @MiMiBrokenbourgh 2 года назад

    Also I have a question. How do you make the multi cursor in VS? Thank you.

    • @SilverlyBee
      @SilverlyBee  2 года назад

      There's a shortcut that's "InsertNextMatchingCaret" that I have assigned to Ctrl+D (because that's the shortcut in VS Code). There's also other tricks such as Shift+Alt+Up/Down Arrow to select multiple lines

  • @AperireMens
    @AperireMens Год назад

    When I harvest the plant and then plant it again it starts from the sprite of the fully grown plant. Anyone know what's going on?
    @SilverlyBee could really use help with this.

  • @fusion_guardian
    @fusion_guardian 3 года назад +1

    What Visual Studio Code plugin are you using?

    • @SilverlyBee
      @SilverlyBee  3 года назад

      Just the visual studio tools for unity, I think it's installed when you install unity.

    • @fusion_guardian
      @fusion_guardian 3 года назад

      @@SilverlyBee Ok thanks :)

  • @lovesky2921
    @lovesky2921 2 года назад +1

    Thanks a lot !!

  • @chuchomelon5866
    @chuchomelon5866 2 года назад +1

    Thank You for this tutorial

  • @Nirvana-yq2dm
    @Nirvana-yq2dm 3 года назад +1

    Rly nice ttl in details!

  • @kanlimun7123
    @kanlimun7123 3 года назад +2

    Github not working, please upload files project

    • @SilverlyBee
      @SilverlyBee  3 года назад

      Thank you for noticing, I'm guessing RUclips might have removed the link. I have updated it on the description, but in case it doesn't work the project is hosted on github at /silverlybee/farm-game-tutorial

  • @gfjwgldwzqfdkgdhdfdjledkdd9856
    @gfjwgldwzqfdkgdhdfdjledkdd9856 3 года назад +2

    really good tutorial keep this up. you earn more subs

  • @DylanPlayzz87
    @DylanPlayzz87 3 года назад

    i would love to learn how to make a game like hay day or farm ville. Could you do on like that?

    • @SilverlyBee
      @SilverlyBee  3 года назад

      Hi, for this tutorial it is only going to cover planting/harvesting and a few adjacent mechanics. Maybe in the future I could expand on other parts of a farm, but there's nothing planned as of now.

  • @Playertransform
    @Playertransform 2 года назад

    Thanks My English so bad but Im trying to learn form you.

  • @BiggTurkk
    @BiggTurkk 3 года назад +2

    does not do anything wwhen i click the plot

    • @SilverlyBee
      @SilverlyBee  3 года назад

      Hey, I don't know if you've been able to fix this, but have you tried checking the collider? Maybe your problem is there

    • @BiggTurkk
      @BiggTurkk 3 года назад

      @@SilverlyBee the collider? sorry really new to unity

    • @SilverlyBee
      @SilverlyBee  3 года назад +1

      @@BiggTurkk Yes, the collider 2D is a component to detect collisions (and clicks). At 5:35 I add it to the plot and at 18:25 I talk a bit about the collider in the corn. It could be what's causing you the problems.

    • @BiggTurkk
      @BiggTurkk 3 года назад

      I don't know what was casing it but its fixed now. It was letting me plant the crop. But after not accepting another click input to harvest it. Seems fine now tho.

    • @SilverlyBee
      @SilverlyBee  3 года назад

      @@BiggTurkk Glad it's fixed!

  • @crypticcoding9680
    @crypticcoding9680 3 года назад +2

    My subscribers tell me to create a farm game, I am redirecting them to this video

  • @Schultz3
    @Schultz3 3 года назад

    Hype

  • @shubpokemon2000
    @shubpokemon2000 3 года назад +1

    GitHub not working :(

    • @SilverlyBee
      @SilverlyBee  3 года назад +2

      Thank you for noticing, I'm guessing RUclips might have removed the link. I have updated it on the description, but in case it doesn't work the project is hosted on github at /silverlybee/farm-game-tutorial

  • @finnawennijpels6045
    @finnawennijpels6045 2 года назад

    silverlybee can you please give me the game as a sample so i can use it and make it better (own use)

  • @MONSTERGAMING-tu6tf
    @MONSTERGAMING-tu6tf 2 года назад

    Bro ithu oda codings venumu

  • @luciohenrique1092
    @luciohenrique1092 3 года назад

    H y p e

  • @lasinskasgui
    @lasinskasgui 3 года назад

    Hype

  • @gabrielcampista5740
    @gabrielcampista5740 3 года назад

    Hype

  • @TheJean190
    @TheJean190 3 года назад

    Hype

  • @11josb
    @11josb 3 года назад

    Hype

  • @fernando.callera
    @fernando.callera 3 года назад

    hype