Making a Unity Idle Game [EP 1]

Sdílet
Vložit
  • čas přidán 13. 06. 2024
  • Idle games provide a casual game experience where a player can progress through the game without actively interacting with it. In this first episode of our tutorial series on creating a unity idle game, you'll learn how to create a scriptable object for all your items, increment items over time, and toggle between different items to increment.
    ► Socials
    Twitter: / the_real_aia
    Discord: / discord
    My free web games: aiadev.fun/
    ► Get the scripts: unicornone.gumroad.com/l/idle...
    ► How to create UI in Unity: • Unity UI Tutorial | An...
    ► How to create Buttons in Unity: • Unity Button Tutorial
    ► Download Unity 3D: on.unity.com/3cbxhXY
    For more educational content on video game development, unity tutorials, and c# programming don't forget to subscribe!
    Chapters:
    0:00 Introduction
    0:38 Overview
    1:48 Creating the InventoryItem script
    3:11 Creating the Item scriptable object script
    5:13 Creating item scriptable objects
    6:14 Creating the Utils script
    8:11 Creating the ItemManager script
    9:58 Sorting the Items by id
    10:37 Creating the InventoryCreator script
    15:48 Setting item quantities
    16:36 Choosing which items to increment
    18:54 Incrementing items over time
    22:46 Creating the EventManager script
    22:55 Outro
    ········································­­·······································­·­····
    ****
    Get a 90% discount on a .fun domain for one year on www.get.fun using the coupon “AIA”
    ****

    #unity3d #unitytutorial #gamedev

Komentáře • 54

  • @statesmancomics7284
    @statesmancomics7284 Před rokem +17

    For future videos what would be nice is to have a 30 sec end or beginning credit with all the Hierarchys open and then click through them so we can see the inspector to make sure all of our stuff is set up right. then we can pause to check our inspector against yours to make sure everything is correct. THIS WOULD BE A HUGE HELP LIKE THE VIDEOS.

  •  Před 2 lety +14

    Simply awesome. Dude, i know you lost this project, but it would be great to get the rest of serie, even in paid format like an udemy course. In only 25 minutes you have improved a lot of wrong practices i had in my prototypes, so in 4-5 hours it can be mindblowing. My kudos, AIA

    • @AIAdev
      @AIAdev  Před 2 lety +4

      That's great to hear. That's not a bad idea.
      PS. Awesome 3d modelling channel you've got ;)

  • @Kyt2024
    @Kyt2024 Před 2 lety +3

    I’d love to see this expanded on!

    • @AIAdev
      @AIAdev  Před 2 lety +3

      I have some pretty heartbreaking news... this project was on a hard drive that became corrupted. I'll have to start all over and I'm not sure if I have it in me or not

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

    Omg this is amazing exactly what im looking for thank you 🙏🏼

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

      Glad it was helpful!

  • @TimelordSnowy
    @TimelordSnowy Před rokem +3

    Sad to here you won't be continuing this. Making an idle game for class and this is the closest video I've found to what I want(most are actual clicker games as opposed to idle idle) it's a good straight at least. Hopefully I can finangle my way through with this and other tutorials I can find on the subject.

  • @aussiedev5930
    @aussiedev5930 Před 2 lety +9

    very nice tutorial, just one little thing when you're typing code and you are near the bottom of the screen can you move it up so its easier to see, thanks looking forward to more in this series it is working great so far love it your awesome, thank you.

    • @AIAdev
      @AIAdev  Před 2 lety +4

      Thanks for the love and constructive criticism. I'll make sure to try and keep the code I'm writing towards the middle of the screen from here on :)

  • @titas224
    @titas224 Před rokem +5

    PART 2 PLS

  • @thedarkloff8926
    @thedarkloff8926 Před 2 lety

    The codes are very pure. Thank you a lot 💙

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

    you're going to have millions of subs one day

    • @AIAdev
      @AIAdev  Před 2 lety

      I hope so! Thanks for leaving a comment :)

  • @noahwarrior
    @noahwarrior Před rokem +1

    Love it

  • @By_Brice
    @By_Brice Před rokem +2

    This tutorial is by far the best so far when it comes to idle / incremental games. I have been looking for a while for a series to start to learn. After looking at your channel the quality is amazing. I learned a lot about new aspects of Unity such as prefabs.
    Sad part: I saw you stopped uploading this series due to a hard drive error. I definitely think if you continued or start a new series it would be so beneficial.
    Constructive Criticism: 1.) Could you pause after you finish editing code before cutting to a new screen so its easier to copy and paste and debug if I copied wrong. 2.) Instead of zooming in post where its blurry could you just increase the font size of the IDE? 3.) As someone who is new ish to Unity its hard to set up my project similar to yours so if you could quickly just click on each component to show their values that would be awesome.
    Again thank you so much for this tutorial and I pray you'll restart the series.

  • @kutup1763
    @kutup1763 Před rokem

    bro I have a question how can I storage my datas ?

  • @akuno_
    @akuno_ Před 2 lety

    What are the names of the games displayed at the beginning?

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

    Thanks man! What's the game from 0:09 in the video? Fruit picking..?

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

    Is there a ETA on the next video in this series? Great video.

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

      Thanks for the kind words :). Not ETA yet, but this video has been gaining a little traction recently, if it continues that way it will be sooner rather than later.

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

      @@AIAdev thank you for putting the time and effort into this tutorial but just as feedback i clicked on this channel to follow this tutorial, but probably won't be coming back since the rest of the series isn't finished

    • @AIAdev
      @AIAdev  Před 2 lety

      @@BearyK8 Thanks for the feedback. You'll be missed friend

  • @SqualidsargeStudios
    @SqualidsargeStudios Před rokem

    hi, did you know you have a random vid of smackdown in the unity tutorials playlist?

    • @AIAdev
      @AIAdev  Před rokem

      Thanks, I removed it

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

    Nice

  • @nikolayvalchanov5686
    @nikolayvalchanov5686 Před 2 lety

    How would you recommend storing really big numbers, like sixtilions and septilions?

    • @AIAdev
      @AIAdev  Před 2 lety

      I would use doubles (this can go up to E+308) in-game then save as a string playerpref. Then on load parse the string back to a double.

    • @nikolayvalchanov5686
      @nikolayvalchanov5686 Před 2 lety

      @@AIAdev I will try to do so😁

  • @Cybarxz
    @Cybarxz Před rokem +3

    Are we getting an ep 2?

  • @andrewalexart
    @andrewalexart Před rokem

    Thanks for the tutorial! Can somebody tell me what is the name of expression( p => p.id) how it's called?

  • @457Deniz457
    @457Deniz457 Před rokem

    More parts? :)

  • @user-ck5ee4mo8b
    @user-ck5ee4mo8b Před 6 měsíci

    cant work, i have an error "unable to get string *item name"

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

      Seems like you may not have configured one of the items correctly

  • @luisjoia9744
    @luisjoia9744 Před 3 měsíci

    hello, whatsd the name of the game in the thumbnail?

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

    Are you going to continue this game ?

    • @AIAdev
      @AIAdev  Před 2 lety

      I would love to but unfortunately, the HD that contained the project died and I was a dummy and never backed it up.

    • @collinvisser7108
      @collinvisser7108 Před 2 lety

      @@AIAdev that sucks - sorry about that - back up are very important. Did you create a scope for the game ?

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

      @@AIAdev OOF, that sucks. Any chance you can follow your own tutorial and continue from there? I really liked how you are going about this project.

  • @HarshArorra
    @HarshArorra Před rokem

    Its been a year😢 please complete this series 😭

    • @AIAdev
      @AIAdev  Před rokem +2

      I would love to but unfortunately, the HD that contained the project died and I was a dummy and never backed it up.

    • @HarshArorra
      @HarshArorra Před rokem

      @@AIAdev T_T

    • @tinnyelk2962
      @tinnyelk2962 Před rokem

      @@AIAdev redo the series 🤓

    • @logic9307
      @logic9307 Před rokem

      @@AIAdevredo it please

  • @MrFearlesskiller
    @MrFearlesskiller Před rokem +1

    You skipped way too much from the start... Should've shown from scratch not start half way through

    • @AIAdev
      @AIAdev  Před rokem

      oops

    • @MrFearlesskiller
      @MrFearlesskiller Před rokem +1

      @@AIAdev It's fine, i found this other dude doing a good job a just explaining the basics

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

      @@MrFearlesskillercould you tell me the name of the channel? 🙏