How the walls in The Sims are lying to you | Bitwise

Ойындар

I'm a professional programmer who works on games, web and VR/AR applications. With my videos I like to share the wonderful world of programming with everyone!
Have you ever thought about how the walls actually work in The Sims? No? Well, there's a lot more to it than you can imagine! I explain what challenges there are to building a wall system like The Sims and reveal some secret cheats they used to fool you.
Timestamps
0:00 Intro
0:55 Defining and testing our hypotheses
4:15 What solution we developed ourselves
8:02 How the Sims is lying to you with their lighting
My patreon: / digidigger
Music in in outro:
Besus y Abrazor - Rolemusic: freemusicarchive.org/music/Ro... available under a Creative Commons Attribution license creativecommons.org/licenses/...

Пікірлер: 62

  • @quentinmcwimberton6797
    @quentinmcwimberton6797 Жыл бұрын

    Who can we trust if even the walls intend to deceive us?

  • @diekrahe.

    @diekrahe.

    Жыл бұрын

    That sounds like a Rush lyric

  • @sikyansin8831
    @sikyansin8831 Жыл бұрын

    grandpa, the youtuber you loved just uploaded a new video!

  • @Chadderbox
    @Chadderbox Жыл бұрын

    If I knew the walls were up to this much mischief, I would have blamed them when all 5 of my Sims set on fire and then drowned.

  • @SomethingExtra

    @SomethingExtra

    Жыл бұрын

    SHUT UP

  • @poopnakedyeah
    @poopnakedyeah Жыл бұрын

    nft? no fucking thanks

  • @CooperHMan

    @CooperHMan

    Жыл бұрын

    L take

  • @ReBufff
    @ReBufff Жыл бұрын

    *The King has returned*

  • @sofiggy
    @sofiggy Жыл бұрын

    Another great video showing off something very few stop and think deeply about! Always a treat! :) That said, what you work professionally on isn't anyone's concern, and I still enjoyed watching how you implemented Sims-like wall logic in your game. As a viewer, however, I really do want to express my hope that this is the only context in which we see NFTs on this channel.

  • @DigiDigger

    @DigiDigger

    Жыл бұрын

    Glad you liked the video! In order to use the footage of the game we're working on I had to promise to also provide a link to the project under the video. Don't worry, I haven't sold my channel to NFT investors or anything. I'm just here to make interesting content about games and game development.

  • @Hateburn
    @Hateburn Жыл бұрын

    It's amazing that this topic has been on my mind for the last few weeks, and suddenly this appears. Thank you!!!

  • @highestsettings
    @highestsettings Жыл бұрын

    The walls in my house lie to me too. They tell me things that no man should hear. So I just put my fingers in my ears and shout "LALALALA I'M NOT LISTENING LALALALA". But they never stop, tis only a brief respite from the never ending horror.

  • @Codes97
    @Codes97 Жыл бұрын

    It's great to have news from you! Excellent video!

  • @heatherlee4366
    @heatherlee4366 Жыл бұрын

    The windows should change their brightness depending on which direction they're facing

  • @quirkyviper
    @quirkyviper Жыл бұрын

    Wow! I just found your channel and I'm so excited to watch your back catalog. These are some of the things I think about but wouldn't even know where to begin to find an answer, much less one I could understand having no experience with programming. Pls know that my nerdy, adhd brain is grateful 🙂

  • @FireDotExe
    @FireDotExe Жыл бұрын

    Always beautiful to have a new video of yours

  • @chnhakk
    @chnhakk Жыл бұрын

    I was thinking about this last week!

  • @InfinitySkiesDFG
    @InfinitySkiesDFG Жыл бұрын

    Awesome video! Love the explanation of this and it really showcasing just how much thought went into our game! 👏

  • @PietroSanta
    @PietroSanta Жыл бұрын

    OMG finally new video!

  • @johnatangonzalez9099
    @johnatangonzalez9099 Жыл бұрын

    excellent video!

  • @friendlyfox2189
    @friendlyfox21898 ай бұрын

    how do you deal with the wall corners or when walls are connected in weird angles how do you properly connect walls together?

  • @TheAmethystAurora
    @TheAmethystAurora9 ай бұрын

    I knew they were lying after my Sims walked through them

  • @aldyaljufrie
    @aldyaljufrie Жыл бұрын

    cool video, i'm trying to build the same thing, the only thing i can't figure out yet is the way to detect which direction the wall should hide. nevermind, looks like dot product between camera & wall is the answer 😅

  • @zxuiji
    @zxuiji Жыл бұрын

    I would do it slightly different, I would follow the wall connections instead, if I can circle back to the starting point then everything inside is marked as inside, if it was already marked inside then it's flipped to indicate outside, whenever removing walls the ones furthest from point 0,0 declare the state of inner ones if no connecting seal detected

  • @Cleefbag71

    @Cleefbag71

    Жыл бұрын

    Unfortunately that's not going to work when you build a wall that divides an existing room. You'll be able to circle back to your starting point and the two new rooms you've made will be already marked as inside, so they'll get flipped to outside.

  • @zxuiji

    @zxuiji

    Жыл бұрын

    @@Cleefbag71 Looks like you didn't read my comment properly otherwise you'd realise that's already taken care of by a higher priority rule despite me not considering that situation in the 1st place

  • @Cleefbag71

    @Cleefbag71

    Жыл бұрын

    @@zxuiji I read it perfectly fine, thanks. "if I can circle back to the starting point then everything inside is marked as inside, if it was already marked inside then it's flipped to indicate outside" is the ONE rule for adding walls, no mention of priorities anywhere. Maybe you should articulate yourself better.

  • @zxuiji

    @zxuiji

    Жыл бұрын

    @@Cleefbag71 keep re-reading it until you see where you went wrong, I'm not gonna treat you like a child who can't work things out for themselves

  • @Cleefbag71

    @Cleefbag71

    Жыл бұрын

    @@zxuiji Here's a better idea: how about you implement your algorithm and prove that it works. I can wait.

  • @exanc
    @exanc Жыл бұрын

    As you said, the flood fill algorythm is very slow and even if you managed to optimize it to only use it when really needed this will always slow down the game everytime you close a room. What about an A* pathfinding from one side of a wall to the other, In the case of a closed room it's equivalent to a flood fill but in the case of an open room it can save you some precious computing time. Anyways, this was a good video.

  • @duckrinium
    @duckrinium Жыл бұрын

    I'm not sure about lightning going out from 4 sides. That's not really how light works. One side should be giving brighter sun than other imo. Sun is only on one side, but ambient gives same power. Am I wrong?

  • @OrchidAlloy
    @OrchidAlloy Жыл бұрын

    Oh shit new video

  • @Nervniyak
    @Nervniyak Жыл бұрын

    Great video. You explained the process behind adding or removing 1 wall node. What are you doing when removing multiple nodes? Do you run the algorithm N times or is there an optimization?

  • @DigiDigger

    @DigiDigger

    Жыл бұрын

    That's the neat part, you just remove wall pieces one by one in a single frame. You only need to run the algorithm for the wall pieces that connect to at least two walls. If you do it in the right order, for an entire segment usually just the first piece you remove is connected to two other walls. For the rest you probably won't even need to run to algorithm anymore since they're usually not connected to more than one wall piece.

  • @LEGnewTube
    @LEGnewTube Жыл бұрын

    How did I not get notified for this video…

  • @SmartGamer1234
    @SmartGamer1234 Жыл бұрын

    My brain hurts now, why is this so complicated?

  • @jp9707
    @jp9707 Жыл бұрын

    You're back!! Is this a one-off, or are you back to doing regular videos? No pressure, I'm just interested 🙂

  • @keithperry955
    @keithperry955 Жыл бұрын

    Is the wall system you created for sale? Would love to see under the hood of your system!

  • @user-tk1re2hd2y
    @user-tk1re2hd2y Жыл бұрын

    More more more!

  • @SemihFatihAdem
    @SemihFatihAdem Жыл бұрын

    Quality content 👌

  • @alessiobenvenuto5159
    @alessiobenvenuto5159 Жыл бұрын

    2:04 maybe the game thinks that because there is no floor/ceiling? Or maybe simply the game doesn't update the wall visual condition properly.

  • @kvbc5425
    @kvbc5425 Жыл бұрын

    holy it's been 10 months

  • @Dogedevcd
    @Dogedevcd Жыл бұрын

    my brain hurts

  • @SplitScreamOFFICIAL
    @SplitScreamOFFICIAL Жыл бұрын

    I wonder how many Sims games still have this as a bug or intentionally

  • @lemonslover
    @lemonslover Жыл бұрын

    I didn't watched it yet, but the video is just great! I love it!

  • @charlotte80389
    @charlotte80389 Жыл бұрын

    it doesn't it's broken

  • @AafliW
    @AafliW Жыл бұрын

    "Hey let's check out the game he's working on." >NFTs Yeah, unsubbed. NFTs contribute nothing to the future of video games and only a very select few can truly profit off of it when it comes to time investment. It's no different than gambling. Cya.

  • @duckrinium

    @duckrinium

    Жыл бұрын

    Well, you can continue watching content but not play their game if you don't like that. You may be liking content they do, but no one said that you need to like other stuff they make. I haven't even noticed it's NFT related, and I still don't care about it.

  • @InfinitySkiesDFG

    @InfinitySkiesDFG

    Жыл бұрын

    Don't knock it until you try it👍 The game is also free to play so investment is optional!

  • @CooperHMan

    @CooperHMan

    Жыл бұрын

    The way Infinity Skies incorporates the use of NFT's is what sets it apart, it's not a ponzi scam. It's just a good game with an extraordinary vision utilizing new technology. I know i'll cop hate but all I gotta say is you have to keep an open mind. Too many people are narrow minded with what can be achieved here.

  • @KanaevM
    @KanaevM Жыл бұрын

    "NFT-Value" guess this channel should stay dead for the rest of time.

  • @Noughtilus

    @Noughtilus

    Жыл бұрын

    Yeah there's a link in the description. Some kind of dead on arrival NFT grift (surprise). A shame.

  • @BlueTJLP

    @BlueTJLP

    Жыл бұрын

    NFTs bad, upvotes go brrrr

  • @xriuk

    @xriuk

    Жыл бұрын

    Bruh, he didn't even mention his game or invited to download it, just said he's working on it. The video is great, just enjoy it...

  • @RakastanPorkkanakakkua
    @RakastanPorkkanakakkua Жыл бұрын

    Nice to see you are back. ... But, does this topic really deserves a video?

  • @tsunamininja
    @tsunamininja Жыл бұрын

    Great video but I have one tiny inconsequential gripe. At 0:13 you say you "build a couple (of) walls" but actually build 4. I have a huge annoying complex about this because of heaps of interactions like this growing up, which made me incorrectly believe that a couple meant 4 exactly when it means 2.

  • @SolantisA

    @SolantisA

    Жыл бұрын

    A couple could mean 4 as well... if you're open-minded enough 😏

  • @GrandHighGamer

    @GrandHighGamer

    Жыл бұрын

    @@SolantisA "Build a polycule of walls"

  • @blueninja012
    @blueninja012 Жыл бұрын

    yoooooooooooooooooooooooooooooo

Келесі