Jason Weimann
Jason Weimann
  • 837
  • 20 840 104
Learning Design Patterns with Unity w/ Harrison Ferrone - GameDevShow Episode 178
Learning Design Patterns with Unity - amzn.to/3XDDOjE
Game Architecture Course - game.courses/ga/
Join the Group - unity3d.group/
In this conversation, Jason Weimann and Harrison Ferrone discuss Harrison's new book, The Learning Design Patterns with Unity. They talk about the lack of design pattern books specifically for games and Unity, and how Harrison's book fills that gap. They highlight the importance of understanding design patterns and how they can solve common problems in game development. They also discuss specific design patterns like observer, type object, and flyweight, and how they can be applied in Unity. Overall, the conversation provides insights into the value of design patterns in game development. The conversation discusses the challenges of teaching and implementing design patterns in game development. The guest, Harrison Ferrone, talks about his book on design patterns and the importance of understanding the problem a pattern solves. They also touch on the difficulty of teaching certain patterns, such as flyweight and command, and the misconceptions people have about them. The conversation concludes with a discussion on the benefits of learning design patterns early in one's career and the usefulness of the book in interviews.
Keywords
design patterns, Unity, game development, book, observer pattern, type object pattern, flyweight pattern, design patterns, game development, teaching, implementation, challenges, book, problem-solving, flyweight, command
Takeaways
Harrison's book, The Learning Design Patterns with Unity, fills the gap of design pattern books specifically for games and Unity.
Understanding design patterns is important as they can solve common problems in game development.
Specific design patterns like observer, type object, and flyweight can be applied in Unity to improve performance and memory optimization.
Implementing design patterns should be done when there is a problem to solve, rather than trying to fit them into code right away.
Harrison's book provides a comprehensive guide to design patterns in Unity, with examples and explanations for each pattern. Understanding the problem a design pattern solves is crucial for effective implementation.
Teaching certain design patterns, like flyweight and command, can be challenging due to their complexity and misconceptions.
Learning design patterns early in one's career can be beneficial and helpful in interviews.
The book on design patterns provides practical examples and starter projects to facilitate learning and understanding.
Titles
Implementing Design Patterns: Timing is Key
The Value of Design Patterns in Game Development Challenges and Misconceptions of Teaching Design Patterns
Benefits of Learning Design Patterns Early in Your Career
Sound Bites
"There really aren't a lot of design pattern books out there, definitely not for games and Unity."
"You get into some really specific Unity things too, like integrating some of these patterns with scriptable objects."
"The observer pattern is the one I use the most, but the one that surprised me the most was type object."
"Making the systems work, as simply as possible, seems to trip a lot of people up."
"You can't teach a design, but you've gotten to the end of the design pattern."
"Flyweight and command are the patterns people struggle with the most."
Chapters
00:00 - Filling the Gap: Design Pattern Books for Games and Unity
02:22 - The Value of Design Patterns in Game Development
08:06 - Implementing Design Patterns: Timing is Key
20:51 - Teaching and Implementing Design Patterns
24:48 - Challenges and Misconceptions of Teaching Design Patterns
29:41 - Applying Design Patterns to Various Game Mechanics
37:11 - Benefits of Learning Design Patterns Early in Your Career
zhlédnutí: 1 585

Video

Top Game Development Tools for Solo Devs | Must-Haves for Unity
zhlédnutí 7KPřed 21 dnem
I recorded this right before GDC but it never got released. If you're a gamedev trying to figure out how to be effective, this is the set of tools I use the most and how I use them to speed things up. 🔧 Essential Game Development Tools 🔧 JetBrains Rider: www.jetbrains.com/rider/ Odin Inspector: odininspector.com/ vTabs Plugin: assetstore.unity.com/packages/tools/utilities/vtabs-197615 ChatGPT: ...
Future for video games deployment?
zhlédnutí 3,8KPřed měsícem
Subscribers Get Exclusive Early Access - playonray.com/devs/ Game Architecture - game.courses/ga/ Join the Group - unity3d.group/ (facebook) 00:00 - Introduction 02:00 - Interview Starts 04:26 - Flash Killed by Steve Jobs 06:39 - Ray 10:00 - Why it's better and what it does 17:22 - Getting started with Ray & WebGPU
Instant Code Changes in Unity with HotReload
zhlédnutí 5KPřed měsícem
Get HotReload - hotreload.net/ Game Architecture - game.courses/ga/
Unity's New Camera System! (And Mario Galaxy Character Controller)
zhlédnutí 18KPřed měsícem
Cinemachine Docs - docs.unity3d.com/Packages/com.unity.cinemachine@3.1/manual/index.html Game Architecture Course - game.courses/ga/
Ball Physics, Cursors, Scifi Characters, Mobile Device Editor!
zhlédnutí 2,3KPřed měsícem
Free Deals Cursor Pack - kenney.nl/assets/cursor-pack Ballistics Pack - assetstore.unity.com/publisher-sale?aid=1011lkXUB Flash Deals (70% OFF) Protofactor Mega Bundle - assetstore.unity.com/packages/3d/characters/creatures/heroic-fantasy-creatures-ultimate-collection-bundle-179208?aid=1011lkXUB Protofactor Monsters Bundle - assetstore.unity.com/packages/3d/characters/creatures/monsters-ultimat...
$30k Discord Game Opportunity
zhlédnutí 4KPřed 2 měsíci
game.courses/ga/ - Game Architecture Course discord.com/build/app-pitches-2024 - Pitch Announcement unity3d.group - Join the Group
Non-Compete Banned - What's it mean for GameDevs?
zhlédnutí 17KPřed 2 měsíci
Game Architecture - game.courses/ga/ FTC Ruling - www.ftc.gov/news-events/news/press-releases/2024/04/ftc-announces-rule-banning-noncompetes
3 deals for #unity3d devs - First one is Free And Crazy!
zhlédnutí 4,1KPřed 2 měsíci
Claim your Game Architecture Code - game.courses/ga/ Free Simple Skybox - assetstore.unity.com/publisher-sale?aid=1011lkXUB (NOT SIMPLE AT ALL! :) Leartes 25 Pack Bundle - gumroad.com/a/689654803/bpfwk (Under $1 / pack..) - Use Code JW70
The 3 Debugging Techniques I Use - #unity3d #unitytips
zhlédnutí 2,5KPřed 2 měsíci
The 3 Debugging Techniques I Use - #unity3d #unitytips
3 Magic Lines for Game Devs - #unity3d
zhlédnutí 4,7KPřed 2 měsíci
3 Magic Lines for Game Devs - #unity3d
Prefabs VS Scriptable Objects - Spikarian #unity3d
zhlédnutí 5KPřed 2 měsíci
Prefabs VS Scriptable Objects - Spikarian #unity3d
Combined League+TFT+Clash+DD as an 8 player FFA
zhlédnutí 2,6KPřed 2 měsíci
Combined League TFT Clash DD as an 8 player FFA
2 Overrides every Unity Dev should Use #unitytips
zhlédnutí 10KPřed 2 měsíci
2 Overrides every Unity Dev should Use #unitytips
Interviewed a VR Dev building a Unity mmo!
zhlédnutí 1,2KPřed 2 měsíci
Interviewed a VR Dev building a Unity mmo!
Control Everything in your game or my Moba with bind #unity3d
zhlédnutí 7KPřed 2 měsíci
Control Everything in your game or my Moba with bind #unity3d
Crazy 5 for $20 #unity3d #assetstore
zhlédnutí 4,2KPřed 2 měsíci
Crazy 5 for $20 #unity3d #assetstore
NO UI Prefabs!
zhlédnutí 11KPřed 2 měsíci
NO UI Prefabs!
Adding 100's of abilities to my MOBA - Unity Source Code Included
zhlédnutí 4,5KPřed 2 měsíci
Adding 100's of abilities to my MOBA - Unity Source Code Included
2 Big Surprises | Best GDC24 Tech for Unity Devs
zhlédnutí 4,7KPřed 3 měsíci
2 Big Surprises | Best GDC24 Tech for Unity Devs
YOUR BEST GameDev questions and the Answers..
zhlédnutí 2KPřed 3 měsíci
YOUR BEST GameDev questions and the Answers..
Generate NavMesh from Your Terrain Paths #unity3d
zhlédnutí 3KPřed 3 měsíci
Generate NavMesh from Your Terrain Paths #unity3d
Building Games that Push the Limits w/ Dan Baker
zhlédnutí 2,1KPřed 3 měsíci
Building Games that Push the Limits w/ Dan Baker
If you miss #12 you'll be sad - check the comments
zhlédnutí 2,4KPřed 3 měsíci
If you miss #12 you'll be sad - check the comments
Best new place for GameDev Jobs! - Looking for work? Watch Now!
zhlédnutí 5KPřed 3 měsíci
Best new place for GameDev Jobs! - Looking for work? Watch Now!
Unity Chef - Matt Smith | Full Interview (Unity Cookbook 5th Edition)
zhlédnutí 3KPřed 3 měsíci
Unity Chef - Matt Smith | Full Interview (Unity Cookbook 5th Edition)
Coding an 8 Team Moba - ffa or 2v2v2v2v2v2v2v2?
zhlédnutí 1,3KPřed 3 měsíci
Coding an 8 Team Moba - ffa or 2v2v2v2v2v2v2v2?
Unity Tool of the Month
zhlédnutí 3,5KPřed 4 měsíci
Unity Tool of the Month
Made a Procedural World & Level Generator for my game (code in desc)
zhlédnutí 3,5KPřed 4 měsíci
Made a Procedural World & Level Generator for my game (code in desc)
Fresh Sale Favs & A bunch of FREE game dev assets
zhlédnutí 3,8KPřed 4 měsíci
Fresh Sale Favs & A bunch of FREE game dev assets

Komentáře

  • @machine0man
    @machine0man Před 8 hodinami

    Stereo videos are made for left and right eye. So the single video texture needded to be split into two and rendered to two different cameras int VR( left and right) to give the depth effect. Otherwise it is simply renderering a stereoscopic video as monoscopic. So I wonder, how can this shader give the depth effect. If this video is not meant to view stereo video with depth. its title should be like "rendering 3d stereo video as mono in unity3d"

  • @muneebhero1159
    @muneebhero1159 Před 8 hodinami

    How can I learn unity animator their are non video

  • @Krowerom
    @Krowerom Před 11 hodinami

    Hello, I only started in Game Dev in Oct 2023 and haven't used scriptable objects before and found this VERY useful! I am going to start using them in my project. Using them should lead to a greater understanding. Thank you :)

  • @carlossilvaa2022
    @carlossilvaa2022 Před 18 hodinami

    I have a i7-12700k . Is worth upgrading for i7-14700k ?

  • @Gooosek
    @Gooosek Před 19 hodinami

    Thats one of the best tutorials for unity ive ever seen! Keep it up!

  • @MudrankitGupta
    @MudrankitGupta Před 20 hodinami

    When I add assembly definition (Scripts.asmdef) inside the Scripts folder, loads of missing reference of namespace in the scripts errors show up. These scripts had no such error before adding asmdef. Could you help?

  • @SnakeEngine
    @SnakeEngine Před dnem

    I got "Learning C# by Developing Games with Unity 2021" by him. Sorry, but it's a pretty poor performance, also having many semantic mistakes. It might still be useful for people new to Unity to get started quickly.

  • @Digildon
    @Digildon Před dnem

    ye, this is really cool tool

  • @KoltPenny
    @KoltPenny Před 2 dny

    Engine developers are needed too.

  • @Rammbriel
    @Rammbriel Před 2 dny

    How would you implement super states? The superstate is a state with a statemachine inside? This is the best video there is on CZcams on State Machines btw.

  • @dustintaub
    @dustintaub Před 2 dny

    I bought this book after watching this video. I have many programming and Unity books but this is one of my favorites. It has the versatility of Robert Nystrom's Game Programming Patterns book but aimed at the nuance and needs of the Unity engine. I like the way Harrison explains the pattern, goes over pros and cons of it's use, and shows detailed code to built the patterns for reusability. Because it's Unity, a lot of his examples show alternative ways to implement these patterns using Scriptable Objects.

    • @MrHferrone
      @MrHferrone Před dnem

      Thanks so much for the feedback, it's great to hear this kind of stuff from the community!

  • @Synith19
    @Synith19 Před 2 dny

    TakeMyMoney.png

  • @Andrew-wm7kk
    @Andrew-wm7kk Před 2 dny

    I'm not sure if I was following Jason's argument about fully remote work. He said if someone wants to be fully remote, it's because they don't like their team or they don't like their project, and " That's factual". If this is indeed what he means, he needs to understand that some people simply enjoy their actual life more than work. There are dozens of reasons to be fully remote that doesn't compromise your interest in your work. Very ignorant/workaholic mindset

    • @JasonStorey
      @JasonStorey Před 2 dny

      To be clear _i'm fully remote_ . What I am saying is if you are on a project and truly care if a project succeeds and visiting the office/meeting in person is not prohibitive its a red flag if someone refuses to come into the office. I am not saying you can't default to remote. I am not saying a company culture cant greatly support remote or that you should dedicate your life to a project. What I am saying is that undeniably without question there is value in getting together with your team. it removes friction, speeds up communication and ultimate is collaborative and relationship building. If someone wont even engage the idea of sacrificing _some_ days for the incalculable downstream benefits of in person work SOME times, then the statements like "enjoy their _Actual_ life" is a nice clear indicator that they see this project as a begrudging thing they _have_ to do, and not something they are overly excited about. which can be fine, but again means they don't like the team or project.''ll stand by that. making anything is hard and its collaborative. Noticing the amount (or lack) of buyin from the people you are relying on when racing to the finish line of a large project like a game is not a "workaholic" mindset, its the mindset of someone who respects the effort of a whole team and our investment over my personal comfort. I would hope to see the same. not devotion, respectful compromise.

  • @melipefello
    @melipefello Před 2 dny

    Just bought the book, looking forward to it :)

  • @KorenyukOlexander
    @KorenyukOlexander Před 2 dny

    Im using Stable Diffusion and Llama, wrapped in my pipelines, heavily to automate generation of content locally.

  • @user-rm2pj9jf8s
    @user-rm2pj9jf8s Před 3 dny

    GOOD!!!!!!!!!!@

  • @modiddymo
    @modiddymo Před 3 dny

    Hey Jason, long time subscriber. Thanks for your continuous Unity content. The text at the bottom of this video isn’t very pleasant. I can see this working for TikTok where people watch videos muted, but YT is a bit different. Also when baked into the video, unlike closed captions, there’s no way to turn them off.

    • @Unity3dCollege
      @Unity3dCollege Před 3 dny

      Good point, will remove it and re-upload soon. It was just a new feature I turned on to try out :)

    • @personalgamedevyt9830
      @personalgamedevyt9830 Před 3 dny

      ​@@Unity3dCollegeSubtitles are a good thing though for accessibility. Having it as a toggle able option on CZcams is good to have instead. Thank you for trying new things and listening to very learners.

  • @fokeyjo
    @fokeyjo Před 3 dny

    "Is it RAM 3, not RAM 2023?" - Very snide, Mr. Weimann!

  • @dr.merlot1532
    @dr.merlot1532 Před 3 dny

    I did lots of leetcode grinding and studied lots of math but none of this helped me get better at unity. Vertices[0]=new Vector3(88f,99f,111f);

  • @CyrillKurochkin
    @CyrillKurochkin Před 3 dny

    Gratulacje

  • @renonth
    @renonth Před 4 dny

    ParelSync allows you to make a "clone" of your project that stays up to date with the original. Great to test multiplayer games locally without having to build each time you change something

  • @lln6123
    @lln6123 Před 6 dny

    thanks!

  • @razerbond1910
    @razerbond1910 Před 7 dny

    When I do this my canon just goes crazy and flyes around. Might be outdated?

  • @DrewofDonuts
    @DrewofDonuts Před 7 dny

    Strictly speaking as an end user - I HATE yearly version labeling. Seeing NM tools move to the new naming scheme is awesome.

  • @IsraelBelongToChrist

    Does this work at runtime?

  • @sergeistarovoitov7663

    I have an issue in a build with that approach. Garbage collector cleans a HashSet in SO during loading a scene: Registering listener: PlayerPopupsUI to event: AnimationFinished_IntroScene; Total listeners: 3 Registering listener: SceneManager to event: AnimationFinished_IntroScene; Total listeners: 4 Unloading 1575 unused Assets to reduce memory usage. Loaded Objects now: 37889. Total: 17.566200 ms (FindLiveObjects: 1.458500 ms CreateObjectMapping: 0.920200 ms MarkObjects: 12.912100 ms DeleteObjects: 2.275000 ms) Registering listener: SALSA_Player to event: AnimationFinished_IntroScene; Total listeners: 1 Invoking event: AnimationFinished_IntroScene on listener: SALSA_Player So only instantiated objects work correctly. In the editor, there is no such issue

  • @csharptitan
    @csharptitan Před 8 dny

    Excellent video , Jason. I use JetBrains Rider daily and it’s an awesome IDE. Worth every penny. For the AI assistant, I tried the one that comes with Rider, but now use Tabnine as it has a free tier. It works great. Integrated chat in all JetBrains IDEs as well as Vscode.

  • @mohdsala9263
    @mohdsala9263 Před 9 dny

    Well here my journey begins! I hope it's not too late for me to start despite this fact that these ai things are happening and growing in the world

  • @JDogB-tc3lx
    @JDogB-tc3lx Před 9 dny

    Anstract Singleton Factory Proxy Observer Pattern

  • @progamejr
    @progamejr Před 9 dny

    can you do for uvc

  • @edw0rd21
    @edw0rd21 Před 9 dny

    A video on creating a portfolio with some suggestions on what to include and how to demonstrate clean code/progression, for a game programmer, would be very helpful

  • @Hazzel31337
    @Hazzel31337 Před 10 dny

    great show always great love it

  • @mohdsala9263
    @mohdsala9263 Před 11 dny

    Best tutorial I've ever seen. Very clear. Very nice way of explaining stuff. For me as a person who didn't know anything about Unity, it was PERFECT.

  • @etistyle96
    @etistyle96 Před 11 dny

    this is genius lvl ! it smells like singleton but without all the bad stuff that comes with it.

  • @tehmasipalikhan8598
    @tehmasipalikhan8598 Před 11 dny

    having issue only connects one time to the server

  • @tehmasipalikhan8598
    @tehmasipalikhan8598 Před 11 dny

    response success for the first time after that it keeps on failing ?

  • @hiltonvarian3352
    @hiltonvarian3352 Před 11 dny

    How about topics about Procedural Music Creation with FMOD and The URP of Unity and the HDRP

  • @RsouthR
    @RsouthR Před 11 dny

    How do you get to have a preview of the prefab in the inspector ?

  • @RsouthR
    @RsouthR Před 11 dny

    Character code link is not working

  • @64imma
    @64imma Před 12 dny

    Very interesting video. I've unknowingly used the first 2 patterns in my amateur game development endeavors. I'm definitely looking to learn to design games better and get more comfortable with game development in general.

  • @nwotyzarc
    @nwotyzarc Před 12 dny

    Hey Jason, I have another question regarding the scene load additive/single I now split my scene into "BattleLogic" and "BattleEnvironment" I load the Logic as single and then the environment additive. But then the "look of the scene" (lighting / skybox etc.) is used from the battle logic So would it make more sense to load the environment as Single and the logic as additive scene? Thanks in advance for your help 🙏

    • @Unity3dCollege
      @Unity3dCollege Před 12 dny

      I'm marking this as a topic for the show tomorrow. If you're able to join us live well get everyone's opinion on it :)

  • @gregoryl_unity
    @gregoryl_unity Před 13 dny

    Jason, thanks for the great overview and the kind words. We put a lot of effort into the new samples and we hope they'll be useful. If you have any suggestions for other helpful samples, we'd love to hear them.

  • @yusarimahubara
    @yusarimahubara Před 13 dny

    A homeless teaching, cool

  • @sashabagdasarow497
    @sashabagdasarow497 Před 14 dny

    You look like Dan Harmon

  • @512Squared
    @512Squared Před 14 dny

    Cool stuff

  • @JustFor-dq5wc
    @JustFor-dq5wc Před 14 dny

    Great, as always.

  • @user-sn8bd7iw5i
    @user-sn8bd7iw5i Před 15 dny

    Гори в аду🤬🤬🤬

  • @SrikanthG11
    @SrikanthG11 Před 15 dny

    you are not a worthy game developer. you just use assets a lot.

    • @Unity3dCollege
      @Unity3dCollege Před 15 dny

      Tools are extremely helpful if you want to get games done..

  • @SrikanthG11
    @SrikanthG11 Před 15 dny

    czcams.com/video/4_j_i0PQaUs/video.html

  • @Director414
    @Director414 Před 15 dny

    Great video!! :) I would be so grateful if you could make a video about the workflow needed to keep larger projects as small as possible. My project is really growing out of control. I hear some folks have like a "asset dump-project" in which they download all things from asset store, then perhaps (i guess), the export only the needed fbx's in reduced quality, to keep them small . Anyhow, some guidance from a pro like you would be super helpful as im entering 30 GB in size in a project that should be perhaps 1 GB. :) Cheers and keep up the good work on you awesome channel!!