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
I like how he kept the old start room forever lol
It's iconic!
lol
@@GnomeCode lol
@@GnomeCode if you ever gonna release this game keep it with a gray cube with a bell on it
@@GnomeCode It's the best starting room I've ever seen xD
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
Yea
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!
I absolutely love your videos gnome they've always helped me with a lot of my games keep up the good work
Amazing video as always! Keep up the great work ❤
I love this series so far! Keep making new episodes
How did u comment 12 hours ago?
@@alvaro-sf7kg the vid was unlisted
Nice tutorial man! I like how you work so well, making these tutorial videos!!! you deserve 1 Million subscribers
Amazing series my friend!
Excited to see how the entities are gonna look like.
Keep up the good work!
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
i have been waiting for this episode
THE BEST!
YES ITS OUT!! I was so excited for this!
Same!
FINALLY
ANOTHER TUTORIAL, ONE MORE STEP TOWARDS GREATNESS
true
WHAT DO YOU MEAN MY DOOR NOT PLAY
Series very good so far
Finally i've been waiting for this!!!
Hey your back amazing tutorial again im having so much fun making it cant wait for the Ai part for entities
Another great video by the gnome!
i started creating my new game using this series thank u so much
Why was this unlisted?! I’ve been searching for ages! You’re doing amazing!
It was because he was doing something with it
finally part 3! cant wait for part 4 haha!
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*
Na Im fine.
I made it fine by extending the sensor part
What about disabling cancollide
@@andy-gamer thats literally what it does
@@pjAlxnbut why not just disable cancollide on your door model instead of a script
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
i did what you said but it still doesnt work
ouch
so i just welded it all and made it so it teleports the main part thats welded to every other part
nah dude i got the door in the wrong orientation
literally got my door in the wrong position and orientation, how to fix pls
I cant wait for the stuff coming in the next episode!
your older videos helped me so much that i was able to add in doors a few days before this video came out
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!
lovely! keep up the great work
Yay it’s here!
Please could you cover how to make room events that aren't generated and always happen at a certain time?
Finally we have waited for a new tutorial!
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?
Done: amazing series
Great Tutorial!
finnaly a new good episode
thanks for the help it help my every thing i need to install
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?
Yay part 3!
Keep it up bro!!
Im So Exited For The Next Episode, I Hope It's Aboyt Hiding Places
I love This Serie please make more!!!
I like the fact that you're explaining what to do and then you just have gaps lol, also CONGRATS ON 69K SUBS!
great..
I'm looking forward to seeing how the hiding system will be implemented and how it will affect the entities ai's.
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.
@@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.
@@ItzJustTeam hmm if you hide and you would be set to another team (which isnt true) then how can you hide behind objects?
Wow you the best!Thanks for tutorial!
how do I make it so instead of all the rooms generating at once it only generates 1 every time u open a door
Maybe make a movement system like Door's a custom one so it feels more realistic and fun
keep up the good work
can't wait to see the item system, :D
Wow you are goodest scripter ever i seen you are very cool thank you i appriciate it :D
thank you so much dude you're a god
If gnomecode and griffpatch got together, they would be unstoppable.
they will be unstoppable
LOVE U MAN
epic work now working
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!!!
…nice sub number
sus
FINALLY HE MADE A PART 3 VIDEO
Nice bro keep up
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
im also making a rooms game!
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.
Yayyyy, guess who earned another subscriber
in the tween service i cant see the rest of the script pls make your screen bigger
I haved this problem too, you just need to go to 16:09 of the video, or just put CFrame = cframe
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'
Gnome code is the best
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
prob have parts that show where rush can go in room
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.
well, we are in the generation phase so i think it will take a while...
@@PersonianOld the proper start room will never exist. its iconic
@Animator well some rooms would have them but some wouldn’t
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.
wait
continue
thanks! now im waiting 4th video, and rush/ambush system :)))
(im subscribed! =)... )
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.
Gnome, thanks for the doors video! I can make this game :D
i love being gnome
Nice man
Quick question, how can i fix the doors not appearing after i wrote that door.Open function?
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.
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
how did he solve the problem with intersecting rooms penetrating each other? or did i miss something in previous videos?
Do you do this as you go? Or do you have some sort of script you follow with errors to help teach us?
I do each episode as I go, so I can read the comments each time
@@GnomeCode clever
@@GnomeCode indeeeeed
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.)
GOOD WORK :D
YEAH!
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.
YES! ITS OUT!
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?
There is a alternative way to change the hinge position: HingeConstraints, it's the same way Doors opens their well, Doors.
Hope u get 100k
when your done with this doors series can you create a video about creating a combat system with morphs?
Woo actual doors! 🚪
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
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.
I feel honored to be called a gnome
can't wait for part two: "locked doors"
Someone please count how many times he has said 'door' in this episode, or even in the series 😂
Gnoem code thank you so much for uploading (0:
when i started making the script to make the doors open, the rooms stopped spawning and i cant fix it
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)
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?
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.
@@MaxGamerFun oh cool!
I honestly would want a little of both tbh. Maybe add the monsters from the actual game but also add his own monsters.
@@PersonianOld that would be against lsplash
@@PersonianOld bro you know that, if you take assets from doors, lsplash will smack your ass....
amazing
I like how he assumes we are all gnomes even though I'm a corrupted freak lol
Alright Gnomecode,
is it fine that I add the doors inside the rooms first and fire a remoteevent when something needs to happen
Is there any way to change the easing style of the door moving?
I'm hoping that you will add specific room generation like door 50.
He probably will. But he is still in the early phases, so we'll just have to see, I guess.
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?
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.
I wanna say that for formatting numbers you could use string.format() function since its easier to use
I'm not sure how that would avoid using an if statement
@@GnomeCode just use
doorModel.Sign.SurfaceGui.TextLabel.Text = string.format("%0.3i", number)
good luck with series
hello gnomecode, i have question, can u do in next tutorial guiding light generator or monster
Nice!
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?
error saying: Unable to assign property Text. string expected, got nil - Server - Door:19 please help
the door did not open for me, can you please share the door in toolbox?
did the scripting and its only generating about 2-15 rooms fix?
Please help. When i try to do the number script it wont generate any of the rooms. Idk why no errors so what?