Data Structures For Game Devs: Dictionaries | Unity Tutorial (Part 3)

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

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

  • @AnnisVeryGoodGames
    @AnnisVeryGoodGames  3 года назад +8

    Become a master game dev by completing the series 💪 ;) >>> Part 4 on Queues & Stacks: ruclips.net/video/jlPgg8TBoTc/видео.html

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

    “If you’re really evil, you can also make them strings” ouuuch, shots fired! XD

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

    Your videos just in the right edge of complexity for me. I pause them multiple times to understand, but eventually understand them. Perfect, thanx!

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

      Awesome, thanks for commenting, that's great to hear! :)

  • @the.xrchitect
    @the.xrchitect 2 года назад +3

    This series is amazing. You explain everything so eloquently and the practical examples make the content so much more interesting.

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

    WOW, now I understand why so many people like and recommend dictionaries. Great tutorial short and to the point and very easy to understand even outside of the series.
    I was literally doing a kind of translator from a binary id to words, this is exactly what I needed!

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

      So it sounds like you re-invented the dictionary, great job! :D but yeah, might want to switch over to the existing implementation at this point. :)

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

    great vids, thanks!

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

    We need more videos Anni. All i can say is really thank you.

  • @emanueltejadacoste2250
    @emanueltejadacoste2250 2 года назад +2

    This channel has amazing coding tips, hope you keep doing videos

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

    Hello thnak you fro this I never saw a correlation with this IM gonna try and construct a power-up system

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

    thank you!
    A tip: using an ENUM as a dictionary key results in boxing (which allocates garbage). Prefer to us an integer ((int)Enum.Value).

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

    Excellent video! I love a good dictionary. My whole collision engine wouldn't work without dictionaries and hashsets.

  • @adamasteway4828
    @adamasteway4828 16 дней назад

    can you do a video on what ienumerables are?

  • @technoo4891
    @technoo4891 3 года назад +6

    Amazing tutorial, definitely looking for the next tutorial for queues and stacks, thanks. edit: You could also make a tutorial for tuples, if Unity supports the new C# versions, thanks.

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

      Thanks! I also considered a few of the more exotic data structures (sorted sets or maybe even trees and graphs), but it gets quite... specific. ;) Just released the last part on Queues and Stacks: ruclips.net/video/jlPgg8TBoTc/видео.html

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

    Great tutorial. Thank you. If you could expand more on dictionaries, that would be fantastic.

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

    Thanks Anni this will become useful soon

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

    very helpful series, thank you.

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

    If we used if else instead of this will we have optimization problems or what?

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

    I have doubts in in list. i can understand array, dictionery and enumerators but list and hasttag seem uncessary, i cannot understand their importance and how are they different.

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

    Thank you Anni for fantastic tutoritals :>>

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

    As a person making my first serious attempt at a game after several months of learning c# and unity, I'm finding dictionary implementation somewhat challenging to fully grasp. Little by little, I'm beginning to figure out how to make it work in my code. It's an uphill battle. The examples that you find online are not very beginner friendly.

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

    Thank you for these videos. Can we use {get; set;} with a dictionary?

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

    Where did you learn this? It seems very complex.

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

      I'm a software engineer by trade, so programming is the one aspect in game Dev I'm actually good at ;)

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

    Yaay. Perfect!

  • @thereisnospace
    @thereisnospace 11 дней назад

    1:16 Nüsslisalaat :D

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

    This was really good. None of the of tuts on dicts. use real game examples. Thanks.