ACTUAL Doors - Doors Game Tutorial #3

Поділитися
Вставка
  • Опубліковано 8 чер 2024
  • We finally add in some doors to connect up all our rooms
    DISCORD ► / discord
    TWITCH ► / gnomecode
    TWITTER ► / gnomecoderblx
    WEBSITE ► gnome.codes/
    TIMESTAMPS ►
    00:00 Intro
    00:28 Previous episode fix
    01:47 Creating door model
    04:14 New door module script
    05:45 Spawning doors
    08:00 Opening doors
    17:17 Door Numbers
    20:15 Playing open sound
    21:06 Formatting numbers
    22:45 Outro

КОМЕНТАРІ • 715

  • @gemmken
    @gemmken Рік тому +120

    I like how he kept the old start room forever lol

    • @GnomeCode
      @GnomeCode  Рік тому +70

      It's iconic!

    • @DaRealNoobKing
      @DaRealNoobKing Рік тому +6

      lol

    • @DaRealNoobKing
      @DaRealNoobKing Рік тому +8

      @@GnomeCode lol

    • @ultra_9861
      @ultra_9861 Рік тому +11

      @@GnomeCode if you ever gonna release this game keep it with a gray cube with a bell on it

    • @SourceDevv_
      @SourceDevv_ Рік тому +8

      @@GnomeCode It's the best starting room I've ever seen xD

  • @JustBey
    @JustBey Рік тому +11

    Awesome! You actually gave me a great way on generating rooms in your first video and saw this video on my recommendeds. Cool to see you making a new a project and helping other people GnomeCode =D

  • @bluecheese5791
    @bluecheese5791 Рік тому +3

    This series looking good so far! I’m excited to see how the entities work. I’m VERY new to scripting and I’m working on a disaster game. I know the commands and how they work, but that’s it. But not when to start a new line or when to add things like bool and intvalue. Time to watch your roblox studio series!

  • @definitelynot_me9851
    @definitelynot_me9851 Рік тому +3

    I absolutely love your videos gnome they've always helped me with a lot of my games keep up the good work

  • @12Duckz
    @12Duckz Рік тому +6

    Amazing video as always! Keep up the great work ❤

  • @blockinteractiveroblox
    @blockinteractiveroblox Рік тому +7

    I love this series so far! Keep making new episodes

  • @Ikazuri_Dev
    @Ikazuri_Dev Рік тому +1

    Nice tutorial man! I like how you work so well, making these tutorial videos!!! you deserve 1 Million subscribers

  • @juliusmagnu
    @juliusmagnu Рік тому +14

    Amazing series my friend!
    Excited to see how the entities are gonna look like.
    Keep up the good work!

    • @RealDimka
      @RealDimka Рік тому

      Check out:
      #6 - Hiding in closets: ua-cam.com/video/EV6Hjp1DcOk/v-deo.html
      #7 Making Rush Monster AI: ua-cam.com/video/fDIIv-XZbVY/v-deo.html

  • @Autistic2118
    @Autistic2118 Рік тому

    i have been waiting for this episode
    THE BEST!

  • @caz0gamz
    @caz0gamz Рік тому +2

    YES ITS OUT!! I was so excited for this!

  • @PumpyGT
    @PumpyGT Рік тому +12

    FINALLY
    ANOTHER TUTORIAL, ONE MORE STEP TOWARDS GREATNESS

    • @4yu567
      @4yu567 Рік тому

      true

    • @nika1506n0
      @nika1506n0 Рік тому

      WHAT DO YOU MEAN MY DOOR NOT PLAY

  • @ianjosh2
    @ianjosh2 Рік тому

    Series very good so far

  • @bezztube-gaming
    @bezztube-gaming Рік тому +1

    Finally i've been waiting for this!!!

  • @mrscienceguy5817
    @mrscienceguy5817 Рік тому

    Hey your back amazing tutorial again im having so much fun making it cant wait for the Ai part for entities

  • @quackywhackityphillyb.3005
    @quackywhackityphillyb.3005 Рік тому +1

    Another great video by the gnome!

  • @Yumon2
    @Yumon2 Рік тому

    i started creating my new game using this series thank u so much

  • @crowthefurry1481
    @crowthefurry1481 Рік тому +5

    Why was this unlisted?! I’ve been searching for ages! You’re doing amazing!

  • @fire.maniac.
    @fire.maniac. Рік тому +1

    finally part 3! cant wait for part 4 haha!

  • @pjAlxn
    @pjAlxn Рік тому +9

    on the *Door.Open(doorModel)* function I recommend adding this after you play the tween so that the player doesn't bump into the door
    *for i, part in pairs(doorModel:GetDescendants()) do* -- Loops through every descendant of the door
    *if part:IsA("BasePart") then* -- Makes sure that the part we found is a physical object
    *part.CanCollide = false* -- Disables collision
    *end*
    *end*

    • @austinvue2015
      @austinvue2015 Рік тому

      Na Im fine.

    • @BB-5.
      @BB-5. Рік тому

      I made it fine by extending the sensor part

    • @andy-gamer
      @andy-gamer 6 місяців тому

      What about disabling cancollide

    • @pjAlxn
      @pjAlxn 6 місяців тому

      @@andy-gamer thats literally what it does

    • @andy-gamer
      @andy-gamer 3 місяці тому

      @@pjAlxnbut why not just disable cancollide on your door model instead of a script

  • @Pix_Ule
    @Pix_Ule Рік тому +7

    Remember that CFrame can really mess you up with door placement, it can get your door in the wrong orientation and you will have to redo all the exits and entrances all over again.
    so make sure that the door has the SAME orientation as the exits and entrances. but you still have to rotate when its a right or left turn. I hope this helps people

    • @baconbroreal
      @baconbroreal Рік тому +3

      i did what you said but it still doesnt work

    • @Pix_Ule
      @Pix_Ule Рік тому +3

      ouch

    • @baconbroreal
      @baconbroreal Рік тому +2

      so i just welded it all and made it so it teleports the main part thats welded to every other part

    • @BB-5.
      @BB-5. Рік тому +1

      nah dude i got the door in the wrong orientation

    • @1_the1st_1
      @1_the1st_1 8 місяців тому +1

      literally got my door in the wrong position and orientation, how to fix pls

  • @pizzabro_gaming3092
    @pizzabro_gaming3092 Рік тому

    I cant wait for the stuff coming in the next episode!

  • @Milk-cx7ec
    @Milk-cx7ec Рік тому

    your older videos helped me so much that i was able to add in doors a few days before this video came out

  • @LatestOfSpeed
    @LatestOfSpeed Рік тому +4

    Hey Gnome! I was just wondering if you could upload the models as assets even so that I can use them as a reference as I am struggling with CFrames!

  • @realcontentgamer
    @realcontentgamer Рік тому

    lovely! keep up the great work

  • @star_smells6451
    @star_smells6451 Рік тому +1

    Yay it’s here!

  • @TheMutant_Real
    @TheMutant_Real Рік тому +5

    Please could you cover how to make room events that aren't generated and always happen at a certain time?

  • @kittieKicunya
    @kittieKicunya Рік тому

    Finally we have waited for a new tutorial!

  • @skrubtimer
    @skrubtimer Рік тому +3

    Do you think you can release the rooms you made (no code, just the models) as a sort of pack to speed up testing and dev?

  • @Boomerlol
    @Boomerlol Рік тому +1

    Done: amazing series

  • @Flip15
    @Flip15 Рік тому

    Great Tutorial!

  • @MarxismOfficial
    @MarxismOfficial Рік тому

    finnaly a new good episode

  • @jmac1882
    @jmac1882 Рік тому

    thanks for the help it help my every thing i need to install

  • @robcorpinc.robloxcoregames6621

    Such a helpful video, thanks!! P.S: Will you make this game open source when it’s done so that we can use it for our own purposes?

  • @Icy_Edits0
    @Icy_Edits0 Рік тому

    Yay part 3!

  • @redfire826
    @redfire826 Рік тому +1

    Keep it up bro!!

  • @ThePoopleMan
    @ThePoopleMan Рік тому +1

    Im So Exited For The Next Episode, I Hope It's Aboyt Hiding Places

  • @pagodeando5880
    @pagodeando5880 Рік тому

    I love This Serie please make more!!!

  • @DavidPlayz1000
    @DavidPlayz1000 Рік тому +1

    I like the fact that you're explaining what to do and then you just have gaps lol, also CONGRATS ON 69K SUBS!

  • @bennyhurray4891
    @bennyhurray4891 Рік тому +9

    I'm looking forward to seeing how the hiding system will be implemented and how it will affect the entities ai's.

    • @ItzJustTeam
      @ItzJustTeam Рік тому

      the hiding system is simple. i dont really know how to script it yet but i know how its made in the orginal game. while hiding a hiding animation will play.. but thats not all. you will be set to a team which makes you so rush's and ambush's hitbox will not kill you. when you go out of the hiding spot.. then you will be set to the normal team.

    • @ae-co5ue
      @ae-co5ue Рік тому +2

      @@ItzJustTeam Teams wouldn't be used it's more likely a simple attribute called 'Hiding' or something, then just setting it to true / false and checking that when the monster touches you.

    • @oldrusty20
      @oldrusty20 Рік тому

      @@ItzJustTeam hmm if you hide and you would be set to another team (which isnt true) then how can you hide behind objects?

  • @robloxstudier6142
    @robloxstudier6142 Рік тому

    Wow you the best!Thanks for tutorial!

  • @combo366
    @combo366 8 місяців тому +2

    how do I make it so instead of all the rooms generating at once it only generates 1 every time u open a door

  • @grgroyale
    @grgroyale Рік тому +3

    Maybe make a movement system like Door's a custom one so it feels more realistic and fun

  • @MarxismOfficial
    @MarxismOfficial Рік тому

    keep up the good work

  • @AstroDoge
    @AstroDoge Рік тому +2

    can't wait to see the item system, :D

  • @Antiwall_Dev
    @Antiwall_Dev Рік тому +1

    Wow you are goodest scripter ever i seen you are very cool thank you i appriciate it :D

  • @russelsuanson2727
    @russelsuanson2727 Рік тому

    thank you so much dude you're a god

  • @star80doessdastuff
    @star80doessdastuff Рік тому +2

    If gnomecode and griffpatch got together, they would be unstoppable.

    • @godzil7
      @godzil7 Рік тому +1

      they will be unstoppable

  • @Strifye
    @Strifye Рік тому

    LOVE U MAN

  • @nika1506n0
    @nika1506n0 Рік тому

    epic work now working

  • @dodimez
    @dodimez Рік тому +4

    Hey GnomeCode, could you please post more often? I bet that if you did, then everyone would start watching you, since right now there aren't really good doors tutorials yet, and I know that you probably be the only one who will make a good tutorial. ik that you're good at this stuff, but others who don't know you probably aren't.
    overall, you'd probably get many more subscribers and views if you post more often!
    hope you get to 69420 subs!!!

  • @lennyface987
    @lennyface987 Рік тому

    FINALLY HE MADE A PART 3 VIDEO

  • @youssefgamer2411
    @youssefgamer2411 Рік тому +1

    Nice bro keep up

  • @TheNightmare29813
    @TheNightmare29813 Рік тому

    thank you so much! i was making rooms game with my friend I mean friend make that game and this ep1 to ep7 help me a lot

    • @Pkygamez7
      @Pkygamez7 10 місяців тому

      im also making a rooms game!

  • @Kyxxio
    @Kyxxio Рік тому

    Hi gnomecode i have a question, could you add to your tutorial series with a tutorial on placing models like in your tower defence game but just separate? Please.

  • @__roblox__
    @__roblox__ Рік тому

    Yayyyy, guess who earned another subscriber

  • @AppleAdrian56
    @AppleAdrian56 Рік тому +2

    in the tween service i cant see the rest of the script pls make your screen bigger

    • @creeperzitoofc1403
      @creeperzitoofc1403 Рік тому +2

      I haved this problem too, you just need to go to 16:09 of the video, or just put CFrame = cframe

  • @Airdart306
    @Airdart306 11 місяців тому +1

    for anyone trying to make a different floor that doesnt go up to 1000 then instead of doing the formatting numbers part you can change the 'doorModel.Sign.Surface.TextLabel.Text = number' part of the script to 'doorModel.Sign.Surface.TextLabel.Text = "0" .. number'

  • @airbendur9546
    @airbendur9546 Рік тому

    Gnome code is the best

  • @caz0gamz
    @caz0gamz Рік тому +5

    Here are my suggestions for future episodes,
    Dark rooms with the fog effect
    Rush AI (there are a lot of tutorials but I dunno how it would work with random generation) plus hiding mechanic
    Specific locations spawning in specific rooms (like room 50 being library and 100 being elevator room)
    Jumpscares with Death screens

    • @orange_jam_yt
      @orange_jam_yt Рік тому

      prob have parts that show where rush can go in room

    • @PersonianOld
      @PersonianOld Рік тому

      What I think he should do next episode:
      - Proper Starting Room
      - Keys and doors that have a chance for being locked.
      - Some other occasional decorations that can spawn so it doesn't feel like the same thing over and over and over again
      Then the episode after that:
      - Implement crouching and the chance for a room that needs you to crouch to get through it
      - Implement the wardrobe/hiding
      - Possibly start with the basis of monster AI
      I think he should just add the monsters and hiding later off in the game rather than NOW.

    • @devilscripter9265
      @devilscripter9265 Рік тому

      well, we are in the generation phase so i think it will take a while...

    • @cat_icon
      @cat_icon Рік тому

      @@PersonianOld the proper start room will never exist. its iconic

    • @caz0gamz
      @caz0gamz Рік тому

      @Animator well some rooms would have them but some wouldn’t

  • @A_Rookie
    @A_Rookie Рік тому +2

    Never made a game, let alone code one, and here I am watching this for some odd reason. Also I think you should probably do a tutorial on how to make previous rooms despawn if you've already went through them.

  • @GreatRamilYT
    @GreatRamilYT Рік тому +1

    thanks! now im waiting 4th video, and rush/ambush system :)))
    (im subscribed! =)... )

    • @PersonianOld
      @PersonianOld Рік тому

      I think he should do things such as:
      Proper Starting Room
      The puzzles and locked doors (because some doors in Doors are locked and you need a key)
      Those two things, in my opinion is what I would do before implementing hiding or anything like that.

  • @JanBlox
    @JanBlox Рік тому

    Gnome, thanks for the doors video! I can make this game :D

  • @ca55iel
    @ca55iel Рік тому

    i love being gnome

  • @stivenhernandez2028
    @stivenhernandez2028 Рік тому

    Nice man

  • @Quadrilly
    @Quadrilly Рік тому +1

    Quick question, how can i fix the doors not appearing after i wrote that door.Open function?

  • @codeninjas-northwestaustin2344

    Why do two rooms spawn on my start room? I have a corner room and a long room and together, they look really weird and make it so I can't progress any further.

  • @Dinner_likes_DInner
    @Dinner_likes_DInner 7 місяців тому +1

    Here are sensory alternatives:
    --proximityPrompt
    doorModel.Door.OpenPrompt.Triggered:Connect(function()
    if doorModel:GetAttribute("Open") == false then
    door.Open(doorModel)
    end
    end)
    --For the proximityPrompt, it need to be inside the door part of the model and named "OpenPrompt"
    -- CLick Detector
    doorModel.Door.ClickDetector.MouseClick:Connect(function()
    if doorModel:GetAttribute("Open") == false then
    door.Open(doorModel)
    end
    end)
    -- for click detector you have to insert a click detector to the door part
    -- this is unrelated but if you want to have a close option here:
    function door.Close(doorModel)
    doorModel:SetAttribute("Open", false)
    local cframe = doorModel.Hinge.CFrame * CFrame.Angles(0, math.rad(-95), 0)
    local doorTween = TweenService:Create(doorModel.Hinge, TweenInfo.new(0.5), {CFrame = cframe})
    doorTween:Play()
    end

    • @ruslansmirnov9006
      @ruslansmirnov9006 4 місяці тому

      how did he solve the problem with intersecting rooms penetrating each other? or did i miss something in previous videos?

  • @Jamsybob
    @Jamsybob Рік тому +1

    Do you do this as you go? Or do you have some sort of script you follow with errors to help teach us?

    • @GnomeCode
      @GnomeCode  Рік тому +2

      I do each episode as I go, so I can read the comments each time

    • @Jamsybob
      @Jamsybob Рік тому +1

      @@GnomeCode clever

    • @trev_playz
      @trev_playz Рік тому

      @@GnomeCode indeeeeed

  • @its-haz_
    @its-haz_ Рік тому +1

    do you mind remaking the TD tutorials? I tried to use it but the enemy would not turn at all.
    (It would go to the first point, but then just stop.)

  • @EngineGamesSFM
    @EngineGamesSFM Рік тому +1

    GOOD WORK :D

  • @MarianHere
    @MarianHere Рік тому

    Also, is it possible to spawn doors on Rooms that has a connected room?
    what I meant by connected room is : A room that basically has another room like what you see in other houses (also apply in door+ ) and works the same thing on the main door script but doesn't rapidly spawns and only spawns on connected rooms
    I currently have Rooms that has additional room on it, I wanna add doors on it but I don't know how to. I tried to redo the same code to test if it would work but no chances.

  • @michaelmartins6132
    @michaelmartins6132 Рік тому

    YES! ITS OUT!

  • @thatdogewithvr
    @thatdogewithvr Рік тому

    how can you add text behind the number on the door? For example, how can you write "Office A", and then the number after that?

  • @4yu567
    @4yu567 Рік тому +1

    There is a alternative way to change the hinge position: HingeConstraints, it's the same way Doors opens their well, Doors.

  • @Zen_YTShorts
    @Zen_YTShorts Рік тому

    Hope u get 100k

  • @xduskdragon543
    @xduskdragon543 Рік тому

    when your done with this doors series can you create a video about creating a combat system with morphs?

  • @Kaizentry
    @Kaizentry Рік тому

    Woo actual doors! 🚪

  • @knowinapps9941
    @knowinapps9941 Рік тому

    Can you make a video on how to make the rooms spawn when a door opens so it doesn’t lag if you spawn 100 rooms at once

  • @miniknight4910
    @miniknight4910 Рік тому

    Could you make a tds video how to add skins, slash damage, freeze and other stuff. If it’s to hard or might take a while I been fine with it and try to do it myself.

  • @clip4er164
    @clip4er164 Рік тому

    I feel honored to be called a gnome

  • @pazlux
    @pazlux Рік тому +1

    can't wait for part two: "locked doors"

  • @TGB_RBLX
    @TGB_RBLX Рік тому +1

    Someone please count how many times he has said 'door' in this episode, or even in the series 😂

  • @IRWNum1
    @IRWNum1 Рік тому

    Gnoem code thank you so much for uploading (0:

  • @amymac599
    @amymac599 Рік тому +1

    when i started making the script to make the doors open, the rooms stopped spawning and i cant fix it

  • @jacobation69
    @jacobation69 Рік тому +1

    For some reason when i write the Door ModuleScript it just breaks the entire thing and the rooms don’t load anymore. I decided to delete the entire script and pay attention very closely while rewatching the tutorial, but I got the same result (please help)

  • @crystyl
    @crystyl Рік тому +4

    How accurate are you planning to go with this? Will things like the exact entities, dark rooms or room 50, 100 and the seek chases be included?

    • @MaxGamerFun
      @MaxGamerFun Рік тому +1

      Idk if my other reply got sent but basically he'll probably make it exactly the same except he'll make different designs for the entities. In his piggy game tutorial, he made Piggy a teddy bear.

    • @crystyl
      @crystyl Рік тому

      @@MaxGamerFun oh cool!

    • @PersonianOld
      @PersonianOld Рік тому

      I honestly would want a little of both tbh. Maybe add the monsters from the actual game but also add his own monsters.

    • @godzil7
      @godzil7 Рік тому

      @@PersonianOld that would be against lsplash

    • @Colognn
      @Colognn Рік тому

      @@PersonianOld bro you know that, if you take assets from doors, lsplash will smack your ass....

  • @KTS_God
    @KTS_God Рік тому

    amazing

  • @apro8723
    @apro8723 Рік тому +1

    I like how he assumes we are all gnomes even though I'm a corrupted freak lol

  • @PumpyGT
    @PumpyGT Рік тому

    Alright Gnomecode,
    is it fine that I add the doors inside the rooms first and fire a remoteevent when something needs to happen

  • @Serial_Designation_N861
    @Serial_Designation_N861 10 місяців тому

    Is there any way to change the easing style of the door moving?

  • @-Timmy0604
    @-Timmy0604 Рік тому +1

    I'm hoping that you will add specific room generation like door 50.

    • @PersonianOld
      @PersonianOld Рік тому +1

      He probably will. But he is still in the early phases, so we'll just have to see, I guess.

  • @liamplays6383
    @liamplays6383 Рік тому +1

    Hello, I had a problem on part 2 where, the rooms still go into each other, and in some cases the small room goes in backwards, i checked everything possible that could make this happen. any fix to it?

    • @khup.k1m
      @khup.k1m Рік тому +1

      its probably because either your rooms are too big for example the outer part of the room like the walls are sticking farther out the room then they are suppose to our u didnt make the entrance and exit part in the right spot the entrance should be 2 studs from the platform and the exit directly on the edge of the platform still being on the platform.

  • @ordinary2482
    @ordinary2482 Рік тому +1

    I wanna say that for formatting numbers you could use string.format() function since its easier to use

    • @GnomeCode
      @GnomeCode  Рік тому

      I'm not sure how that would avoid using an if statement

    • @cactuzhead
      @cactuzhead Рік тому +1

      @@GnomeCode just use
      doorModel.Sign.SurfaceGui.TextLabel.Text = string.format("%0.3i", number)

    • @ordinary2482
      @ordinary2482 Рік тому

      good luck with series

  • @artrobloxname983
    @artrobloxname983 Рік тому

    hello gnomecode, i have question, can u do in next tutorial guiding light generator or monster

  • @UserMe404
    @UserMe404 Рік тому

    Nice!

  • @soccerbros909
    @soccerbros909 Рік тому

    For the numbers whenever i play, the rooms don't generate and the error in the output says "Unable to assign property Text. string expected, got nil
    " help me out?

  • @daddygatzios6064
    @daddygatzios6064 Рік тому +1

    error saying: Unable to assign property Text. string expected, got nil - Server - Door:19 please help

  • @alone_k_night
    @alone_k_night Рік тому +1

    the door did not open for me, can you please share the door in toolbox?

  • @clairabbotts4067
    @clairabbotts4067 Рік тому

    did the scripting and its only generating about 2-15 rooms fix?

  • @DW-fz1lm
    @DW-fz1lm Рік тому +1

    Please help. When i try to do the number script it wont generate any of the rooms. Idk why no errors so what?