Complex Room Generation - Doors Game Tutorial #2

  Рет қаралды 182,013

GnomeCode

GnomeCode

Күн бұрын

Пікірлер: 1 500
@Rizzzzzzzzzzzzzzzzzzzzzzzzzzzz
@Rizzzzzzzzzzzzzzzzzzzzzzzzzzzz Жыл бұрын
I was really hoping he would design the rooms on camera too, kinda ruined my motivation but the tutorials have been incredible! Cant wait to see how this pans out
@BenGodot
@BenGodot Жыл бұрын
What do you mean?
@Erolsaurus
@Erolsaurus Жыл бұрын
@@BenGodot He means building the rooms on camera.
@andy-gamer
@andy-gamer 10 ай бұрын
Do u lack creativity or something
@doomsdomain
@doomsdomain 9 ай бұрын
@@andy-gamer Yes i do
@thescaryscream5963
@thescaryscream5963 5 ай бұрын
Did you watch part one first?​@EnderSnak
@FishyBoiFN1
@FishyBoiFN1 2 жыл бұрын
I love how frequently you upload these new parts! It helps me alot with making this game while being short on time!
@ExperimentedBacon
@ExperimentedBacon Жыл бұрын
just setting a stamp to remind myself: 5:20 Love your stuff! Keep up the great work!
@doinic09
@doinic09 2 жыл бұрын
0:20 "Just did some mining off camera, not too much."
@EverythingsBrent
@EverythingsBrent 3 ай бұрын
true broXD
@the_endermanelio
@the_endermanelio 3 ай бұрын
TRUE
@PonkoKnight
@PonkoKnight 2 жыл бұрын
I can't wait to see how this game is going to be at the end. Enjoying the whole series so far.
@swiimer-the-topphat
@swiimer-the-topphat 2 жыл бұрын
same
@YaserProz
@YaserProz 2 ай бұрын
@@swiimer-the-topphat same
@dr3amst0ryb0om
@dr3amst0ryb0om Ай бұрын
@@YaserProz same
@IULITM
@IULITM 2 жыл бұрын
Wow, that's great! Keep up the good work!
@BoniDev
@BoniDev 2 жыл бұрын
Hi IULITMx !
@zeroplix
@zeroplix 2 жыл бұрын
IULITMx!
@tkn1ght493
@tkn1ght493 2 жыл бұрын
ayo, Why are you here wasnt expecting you lol
@Trazor_
@Trazor_ 2 жыл бұрын
yo waddup
@jenjen2776
@jenjen2776 2 жыл бұрын
yo
@Untitled_User
@Untitled_User 3 ай бұрын
For all of those struggling with building overlaps, I found that for some doors, I had either the entrance or exit facing the wrong way, so the next room would be placed inside the previous room. Hope this helps 2 years later!
@saiedwlblzknxlekfrn3ourfb
@saiedwlblzknxlekfrn3ourfb 2 ай бұрын
did the code work correctly for u or did u have to change bits cos its old?
@Untitled_User
@Untitled_User 2 ай бұрын
@@saiedwlblzknxlekfrn3ourfb It works still.
@lancerdoesgames
@lancerdoesgames 2 ай бұрын
yay it works now thanks
@mixn8tr
@mixn8tr 15 күн бұрын
thats what happened with me haha, 1 year later and about 50% more coding knowledge i can do it (also more patience) thanks for spreading the word man!
@PyramidDown
@PyramidDown 12 күн бұрын
thank you, i was having problems with that for ages
@disposablebody3379
@disposablebody3379 2 жыл бұрын
Bro this is exactly what I needed! I was worried I wouldn't be able to release my game before Halloween, but you got it here quick. Thanks!
@azutreo
@azutreo 2 жыл бұрын
In my opinion, for tutorials like this, I feel like spreading the usage of Attributes would be extremely beneficial for teaching this new generation of developers as attributes help narrow down the divide between artists and programmers; it allows almost anyone on the team to declare HasStairs to true or Direction to Left or Right.
@TheRageCommenter
@TheRageCommenter Жыл бұрын
100%
@S7vie
@S7vie Жыл бұрын
LSPLASH used Attributes for rooms, for example ["Weight"].
@randomchannel-kh7oc
@randomchannel-kh7oc 3 ай бұрын
thanks, i fixed the error where it doesn't know the room info is there
@PollenJH
@PollenJH 2 ай бұрын
@@randomchannel-kh7oc same here, learnt something new as well
@monkeymanolaiba6117
@monkeymanolaiba6117 2 жыл бұрын
This is AWSOME and I can't wait for episode 3! I love your tutorials! ❤
@Pix_Ule
@Pix_Ule 2 жыл бұрын
guys, the orientation of the exit and entrance is EXTREMELY IMPORTANT otherwise everything will just glitch out. to check it, just right click on the entrance or exit and select "show orientation indicator"
@thatdogewithvr
@thatdogewithvr Жыл бұрын
Which way is the orientation supposed to face?
@Pix_Ule
@Pix_Ule Жыл бұрын
i think it should be facing the same orientation as all the other models and parts
@HeldByStrings
@HeldByStrings Жыл бұрын
what happens with rooms that change orientation; Nvm, I got all Figured out, just make parts face the WAY to the exit.
@Nicolas99998
@Nicolas99998 Жыл бұрын
Man you saved my ass❤❤
@Treviolation
@Treviolation 8 ай бұрын
@@Nicolas99998 💀
@Inktrom
@Inktrom 2 жыл бұрын
Let's say the truth: GnomeCode is the best delevoper!
@mayronmontoya
@mayronmontoya 9 күн бұрын
not really
@TheRealKensterBoosteryt
@TheRealKensterBoosteryt 2 жыл бұрын
When he says” hello my fellow gnomes!” That is the best part Edit: thx for 35 likes!
@godzil7
@godzil7 2 жыл бұрын
correct
@theunknowns999
@theunknowns999 2 жыл бұрын
I'm actually not super late to a video
@despwned_PL
@despwned_PL 2 жыл бұрын
I agree
@JJJ-ti2ys
@JJJ-ti2ys 2 жыл бұрын
True
@RevolutionSpiff
@RevolutionSpiff 2 жыл бұрын
Agreed
@creepermccreations
@creepermccreations Ай бұрын
this is why were subscribed to gnomecode, amazing content
@star_smells6451
@star_smells6451 2 жыл бұрын
Gnomecode, ever since I found you via the piggy stuff, You've been amazing! You've helped me understand so many things And I can't THANKYOU enough! I am so excited to see where the rest of these videos go, you have a amazing future ahead!
@forwhateverreason.
@forwhateverreason. Жыл бұрын
Good tutorial! It gives me just enough information that if I make a mistake in the code or in orientation I can fix it with relative ease.
@koainanis5840
@koainanis5840 2 жыл бұрын
You made so awesome tutorials, you have a clear voice and on the most videos i learned a lot of coding. Thank you for your work. Did you plan more tutorials on this series ? I love this game.
@seojun1512
@seojun1512 2 жыл бұрын
Korean?
@C00LTYPER
@C00LTYPER Жыл бұрын
ngl this is the best tutorial i have seen in years
@FreddyFazGlitch
@FreddyFazGlitch 2 жыл бұрын
This series is great! Can't wait for the next part :)
@Punchie-ThePro
@Punchie-ThePro 2 жыл бұрын
I got 2 15 second ads that I couldn’t skip and I was not happy that I wasn’t able to watch gnomecode
@12Duckz
@12Duckz 2 жыл бұрын
Love these videos gnome! Keep up the great work ❤
@musztardagamer6974
@musztardagamer6974 2 жыл бұрын
Really Thanks bro. Im waiting for the 3part
@me_ghxst
@me_ghxst Жыл бұрын
Idea: Instead of making it repeat the function until it finds a random room that obeys the rules (which could take a while depending on "luck"), it would be better if we just created an array and inserted all the rooms that follow the rules, and then select a random room of the ones inside the array. For example: Local possible_rooms = {}; for _, room in pairs(workspace.Rooms:GetChildren()) do if room == obbey the rules and all that stuff then table.insert(possible_rooms, v) end; end; local selected_room = possible_rooms[math.random(1,#possible_rooms)]; I hope this is understandable.
@syntaxicalecho8281
@syntaxicalecho8281 Жыл бұрын
Makes sense. Might also help with speed.
@akiprox7
@akiprox7 Жыл бұрын
what
@syntaxicalecho8281
@syntaxicalecho8281 Жыл бұрын
@@akiprox7 Essentially, what he's saying is instead of repeatedly selecting a random room until you find a valid one, instead just select a random valid room by storing all the valid rooms in one array, then picking one from that array.
@jaydonNEWi
@jaydonNEWi Жыл бұрын
1: lua does not need ";" 2: i tried to convert it to my vars but it did not work.
@me_ghxst
@me_ghxst Жыл бұрын
@@jaydonNEWi 1. It really doesn't, I just got used to it. 2. That simply means you don't know what you're doing or how to insert that code to your script.
@DavidPlayz1000
@DavidPlayz1000 2 жыл бұрын
bro please ep 3. i need this or i will cry
@derplover4157
@derplover4157 2 жыл бұрын
won't it be impossible to get the art gallery in your code currently? if the random weight is between 1 - ? then how will the 0.1 weight of the gallery be < or = than the minimum in the randomizer (1)?
@GnomeCode
@GnomeCode 2 жыл бұрын
Lol! Somebody is actually paying attention. That is an excellent point...
@CATSAMMEL
@CATSAMMEL 2 жыл бұрын
true
@fireflygamez
@fireflygamez 3 ай бұрын
"i just did some off camera mining" ahh start also great work! keep it up :)
@qdizzlebanana
@qdizzlebanana 3 күн бұрын
So how DO I get those rooms? I am very stuck on what to do because I don't have them and have no clue on how to get them
@mythosarchive
@mythosarchive Жыл бұрын
bruh i literally followed the script and the script just died it stopped generating rooms 😭 literally it is just the startroom edit: i appreciate you taking you sweet time to make the script tho yo my respects brother
@zaydtruck3496
@zaydtruck3496 Жыл бұрын
Me too
@Ryveex
@Ryveex Жыл бұрын
Same
@Gumworm
@Gumworm Жыл бұрын
Go to view and press output and then run it to see the error
@MrocznyOpiekun
@MrocznyOpiekun 11 ай бұрын
Did you fix it?
@mythosarchive
@mythosarchive 11 ай бұрын
@@MrocznyOpiekun i remember i just modified it and since i suck then thats why, anyways i canceled that game already lol please dont feel like offended by my comment tho with the "bruh"
@gdm45_yt
@gdm45_yt 25 күн бұрын
This REALLY HELPED, SOOO MUCH THX
@MounirDevGaming
@MounirDevGaming Жыл бұрын
is there a video of you making the rooms ? i want to see the stairs part
@zootedkk_
@zootedkk_ Жыл бұрын
yeah same idk how to make those
@MounirDevGaming
@MounirDevGaming Жыл бұрын
@@zootedkk_ i already finished and published my own doors version . just think about it for a little bit and you will be able to make them
@Gooseyplayz
@Gooseyplayz 3 ай бұрын
@@MounirDevGaming What's your game called?
@InvigoratedClones
@InvigoratedClones 2 жыл бұрын
I have been waiting for this! Thanks gnomecode!
@W0odCool
@W0odCool 2 жыл бұрын
If you want something super rare to spawn, You might have a problem with putting the weight under 1, It cant go under 1 cuz gnomecode did something wrong so if you want it to be rarer, Make the other room value's higher.
@Aurora_Spring
@Aurora_Spring Ай бұрын
For anyone wondering why it won’t spawn anything with a weight below 1 is because room.random:NextInteger can only generate whole numbers, meaning it would never pick a room that has a weight less than 1. If you want it to work with numbers less than 1 or with decimals in general then you need to use room.random:NextNumber to general values with decimals (floating-point numbers).
@WearWQLF
@WearWQLF 2 жыл бұрын
Another great Video for my doors at home Thank you GnomeCode For your great Work !
@OMGREALDUMMYFROMDVN
@OMGREALDUMMYFROMDVN Жыл бұрын
Fun fact: You can make the room generation chances manually with duplicating the rooms, meaning they have more chance. The less duplicated the room is, the rarier it is.
@forwhateverreason.
@forwhateverreason. Жыл бұрын
This can clutter the workspace which can get annoying quickly so sometimes it’s better to code it in for games like this with many many rooms.
@arandomartist4341
@arandomartist4341 Жыл бұрын
this isn't generation tho, it's just a room, no changes basically. which defeats the point of making every run to be unique
@OMGREALDUMMYFROMDVN
@OMGREALDUMMYFROMDVN Жыл бұрын
@@arandomartist4341 It's generation that picks which room not manually it's literally the same as coding in
@Tedious236
@Tedious236 3 ай бұрын
ik this comment was almost 2 years ago but you should not do this because it would make the game alot more unorganised when you could just script some basic rarities and have no additional lag or clutter
@senn1l6387
@senn1l6387 2 жыл бұрын
at 17:30 I think it's best not to use float number because what you get from randomWeight (19:00) is always an integer
@dominicdurant5075
@dominicdurant5075 2 жыл бұрын
but he changes it next episode
@jtcrafty9204
@jtcrafty9204 2 жыл бұрын
Can you make a part in the series where it has rooms that only generate once at the same number doors? (Room 50 for example)
@kthulu2
@kthulu2 2 жыл бұрын
he definitely will since that’s a core part of the game
@jtcrafty9204
@jtcrafty9204 2 жыл бұрын
@@kthulu2 ya
@rosamariamaldonado6397
@rosamariamaldonado6397 2 жыл бұрын
Yeah
@ImReallyLemoBloxROFL
@ImReallyLemoBloxROFL 2 жыл бұрын
Just create that room, put it in a folder, give the info in the info script, add a room counter, and add an if statement. Should be able to do that
@jtcrafty9204
@jtcrafty9204 2 жыл бұрын
@@ImReallyLemoBloxROFL Have you done it before?
@Pan-TSB
@Pan-TSB 2 күн бұрын
0:20 "no armour? dont worry, Ill get us armour."
@DaRealVoided
@DaRealVoided 2 жыл бұрын
Hey GnomeCode. Please help me, I have 3 errors Syntax Error: (33,3) Expected identifier when parsing expression, got ‘or’ Syntax Error: (33, 6) incompleted statement: expected assignment or a function call Syntax Error (34, 3) expected identifier when parsing expression, got ‘then’ Please help me🙏
@XtraContent
@XtraContent 2 жыл бұрын
Hey Gnome Code, I have a problem. When I set the variables for the "direction", "hasStairs" and "prevHadStairs" (8:58 - 10:07) it stops the script and says there is none. Which is true because I didn't set the variables to some of the rooms (like you said to). This is preventing me form continuing, any help would be appreciated. ✂EDIT: I also have a problem where the prevRoom Becomes nil after a while
@XtraContent
@XtraContent 2 жыл бұрын
@thekittenisonfire I fixed it too, i forgor the long room 💀
@blueishblueberry
@blueishblueberry 2 жыл бұрын
@Figure the T poser WAIT you guys mean the "attempt to index nil with "Stairs" ?? pleas tell how to solve
@beandevv
@beandevv 2 жыл бұрын
@@blueishblueberry i have the same problem... 17:59:56.819 ServerScriptService.Server.RoomModule:17: attempt to index nil with 'Stairs' - Server - RoomModule:17
@blueishblueberry
@blueishblueberry 2 жыл бұрын
@@beandevv I kinda found the problem it was becuase I didnt add the start room to the room info module script
@blueishblueberry
@blueishblueberry 2 жыл бұрын
@@beandevv quick tip when watching gnomce code or other youtubers that eplain code, you dont wanna skip any part
@PurplixGaming
@PurplixGaming 2 жыл бұрын
GnomeCode: *uploads a new video* Me: :O Also me: *Finishes the video* Also also me: Waaaaaaaah
@RobinDeTrollBoy
@RobinDeTrollBoy Жыл бұрын
Uhh it's broken on line 14 of Room script it says attempt to index nil with Direction I double checked all the codes 5 times and not even a single capitalization was wrong can you please help?
@nooblecool
@nooblecool Жыл бұрын
make sure startroom is in roominfo
@kplinger
@kplinger 10 ай бұрын
@@nooblecool I have a similar issue with the variables, but mine says Room:16: attempt to index nil with 'Name' which is the variable that checks for prevHadStairs
@rinaldsledins7307
@rinaldsledins7307 4 ай бұрын
im having the same problem but i cant find a fix
@mailmonkey
@mailmonkey 3 ай бұрын
@@rinaldsledins7307 Check the spelling of the rooms is exactly the same on the table and in the folder
@fire.maniac.
@fire.maniac. 2 жыл бұрын
Been watching you since a long time. You make the best tutorials!!!
@GnomeCode
@GnomeCode 2 жыл бұрын
Thanks for sticking around!
@notcardi
@notcardi 2 жыл бұрын
@@GnomeCode part 3 when
@fire.maniac.
@fire.maniac. 2 жыл бұрын
@@notcardi true 👀
@galaxydoesstuff107
@galaxydoesstuff107 Жыл бұрын
When i starter doing The Filtering rooms types and When i run The game The rooms didnt generate
@boschhotpointfan8354
@boschhotpointfan8354 2 жыл бұрын
Your room design looks beautiful.
@ApprovedShip
@ApprovedShip Жыл бұрын
well, you don't have to eliminate all of the generation bugs, just make it super rare. when it happens, you could just add an entity that teleports you to the next room (referring to glitch)
@HaileyStudios1213
@HaileyStudios1213 9 ай бұрын
How can I make a specific room generate at a specific number, for example how can I make a blue room appear at door 75 and nowhere else?
@coolbudYT
@coolbudYT 9 ай бұрын
Maybe make the loop go until that number and then you do what in part 1 spawn the room and then make another loop after that?
@BreenyBurple
@BreenyBurple 9 ай бұрын
@@coolbudYT can u show me the codes
@FwGAmes1
@FwGAmes1 3 ай бұрын
Every thing was great until i got a message in the output saying:Reqested module expirienced an error while loading.Can someone please explain
@FwGAmes1
@FwGAmes1 3 ай бұрын
Guys in the output it says Requested module expirienced an error while loading.When i click on it it takes me on the first line of the Server script
@diegovalosuna
@diegovalosuna Ай бұрын
@@FwGAmes1 happened to me and watched the video apperently i placed the locals of the weights and randomroom after when it was supposed to be used
@TheNiceGuy-t9x
@TheNiceGuy-t9x Жыл бұрын
I don’t know why but when he was adding the scripts for the rules my rooms stopped generating and I don’t know why. Can someone help me
@ashthegeek
@ashthegeek Жыл бұрын
same problem
@squareheadboxhead696
@squareheadboxhead696 3 ай бұрын
Open output and run the script you can open output in view at the top of the screen in between plugins and test
@reyalfrstyplash
@reyalfrstyplash 2 жыл бұрын
Wow Great Work! Keep Making Tutorial Your AWESOME!
@kaikai2887
@kaikai2887 Жыл бұрын
Hey GnomeCode, loved this video but i have one problem. My turns and stair rooms are overlapping on each other. I checked the front orientation so many times but it still does not work. Please help me fix this error.
@Fulion222
@Fulion222 Жыл бұрын
same
@MasterGX_YT
@MasterGX_YT 11 ай бұрын
Same, I’ve even tried making a new game to restart and it keeps overlapping
@BUKOYAY
@BUKOYAY 23 күн бұрын
left click or right click(im dysexiual or smth) and then click (Show Orenation Indicator)
@BUKOYAY
@BUKOYAY 23 күн бұрын
on the entrance and exit only
@BlankD_Out
@BlankD_Out 3 күн бұрын
Are they by chance only overlapping on the start room? cause if so I have the same problem, so far I only figured out that it is setting prevRoom to StartRoom twice.
@kokagaming69
@kokagaming69 2 жыл бұрын
Man, when I saw this I was like “He made another one!?!” And clicked on it immediately. Lol
@Kaizentry
@Kaizentry 2 жыл бұрын
After generating a bunch of rooms they still cross through eachother, just a lot less often. I was thinking of doing something like deleting the 6th oldest room. I also need to make my stairs a bit higher since they barley graze the floors and ceilings or straight up covers the entire room. 💀
@PurplixGaming
@PurplixGaming 2 жыл бұрын
Are your start positions and end positions lined up if not then that might be causing the issue because I had an issue like this aswell?
@Kaizentry
@Kaizentry 2 жыл бұрын
@@PurplixGaming mine line up perfectly fine, it's just the rooms that turn right and left cause it to generate in a full circle.
@fire.maniac.
@fire.maniac. 2 жыл бұрын
@@Kaizentry you scripted something wrong then
@Kaizentry
@Kaizentry 2 жыл бұрын
@@fire.maniac. nope I did everything exactly as said, I'm just saying some of these things are inevitable with the right and left snakes.
@PumpyGT
@PumpyGT 2 жыл бұрын
@@Kaizentry I'm going to bet that these have something to do with your builds
@LittenXDD
@LittenXDD 2 жыл бұрын
this is a GOD tutorial, it really is something hard but nothing impossible
@Cr4ZyCaptain
@Cr4ZyCaptain 25 күн бұрын
everything is working fine for me other than it only spawns a few rooms and in the output it comes up with "ServerScriptService.Server.Room:14: attempt to index nil with 'Direction'" i dont know how to fix these can anyone please help me? Edit: Fixed it i just had rooms that were misspelled in the table script and also had rooms that were in the "Rooms" folder that werent inside the table yet
@gdm45_yt
@gdm45_yt 25 күн бұрын
you probably have another line of code that creates a room in server delete it and you should be fine! same happend to me
@Cr4ZyCaptain
@Cr4ZyCaptain 25 күн бұрын
@@gdm45_yt local room = require(script.Room) local PrevRoom = workspace.StartingRoom room.Generate(PrevRoom) for i=1, 100 do PrevRoom = room.Generate(PrevRoom) end. thats what i have in my server script also know its not generating a hundred rooms because the original starting room got deleted
@Cr4ZyCaptain
@Cr4ZyCaptain 25 күн бұрын
@@gdm45_yt local room = require(script.Room) local PrevRoom = workspace.StartingRoom room.Generate(PrevRoom) for i=1, 10 do PrevRoom = room.Generate(PrevRoom) end. thats what i have inside the server script also its not generating the amount of rooms i want it to now
@Cr4ZyCaptain
@Cr4ZyCaptain 25 күн бұрын
@@gdm45_yt its also not generating the amount of rooms i asked for now aswell because the original starting room got deleted and do yk which line of code it is that creates a room?
@gdm45_yt
@gdm45_yt 24 күн бұрын
@Cr4ZyCaptain its usually a prevRoom = room.generate(prevRoom) thats not in the for i=1, amount of rooms braket
@IDI_NULL
@IDI_NULL Жыл бұрын
everything works, but sometimes at like the first few rooms, they tend to spawn inside of eachother. Please help Edit: i figured it out! apparently in the server script i put prevRoom= room.Generate(prevRoom) twice
@DarkTheDeveloper
@DarkTheDeveloper Жыл бұрын
Oh, I forgot to remove that line of code too Thanks!
@cokomishi
@cokomishi Жыл бұрын
lol this was my issue as well, youre a godsend, was about to give up
@ruslansmirnov9006
@ruslansmirnov9006 Жыл бұрын
not only you have to deal with corners when generating labyrinths, but also manage their traceability - the potential possibility to reach the exit, in short
@stroyosh4670
@stroyosh4670 2 жыл бұрын
Episode twooooo!
@notduck2110
@notduck2110 2 жыл бұрын
🥚
@Averageidiot1014
@Averageidiot1014 2 жыл бұрын
ayee its Stroyosh!!
@Idontexistyet
@Idontexistyet 2 жыл бұрын
Yay first, gnome is the best Roblox studio YT
@zimmeritton
@zimmeritton 2 жыл бұрын
can u give us the models of the rooms u made? i try to make them but they are always too long and the tutorial is pretty much not working for me :(
@5d4a5
@5d4a5 2 жыл бұрын
yes can you make the models to creator marketplace pls?
@hcenhvtuisvtsrjvthnrkhvy9253
@hcenhvtuisvtsrjvthnrkhvy9253 2 жыл бұрын
Hi gnomecode! I like your videos a lot! You have taught me a lot of coding. For your next tutorial series can you do a game like specter 2? Please reply yes or no.
@solstimimi
@solstimimi Жыл бұрын
gnome code ded :skull:
@gabrygabby7738
@gabrygabby7738 2 жыл бұрын
Best yt channel
@zipper6969
@zipper6969 2 жыл бұрын
my script keeps getting an error message, it says " ServerScriptService.Server.Room:9: attempt to perform arithmetic (add) on number and nil" even though on line 9 i didnt type anything wrong somebody help
@limitedsbr6848
@limitedsbr6848 2 жыл бұрын
UP
@Gooseyplayz
@Gooseyplayz 3 ай бұрын
@@limitedsbr6848 wdym by up?
@Gooseyplayz
@Gooseyplayz 3 ай бұрын
@@limitedsbr6848 wdym by up
@Snakeyart
@Snakeyart Ай бұрын
same
@grovast3167
@grovast3167 2 жыл бұрын
It's always a great day when you upload a vid!:)
@blueberry_fox2009
@blueberry_fox2009 2 жыл бұрын
can you make a tutorial showing how special rooms? Like the figure, seek and halt.
@reyalfrstyplash
@reyalfrstyplash 2 жыл бұрын
YEAH
@Diamentional
@Diamentional Жыл бұрын
@@reyalfrstyplash CAUGHT YOU! THIS IS HOW U MAKE THOSE TUTORIALS
@reyalfrstyplash
@reyalfrstyplash Жыл бұрын
@@Diamentional what?
@Diamentional
@Diamentional Жыл бұрын
@@reyalfrstyplash i love ur doors dev videos and i found out how u make em
@reyalfrstyplash
@reyalfrstyplash Жыл бұрын
@@Diamentional ok!
@U20132
@U20132 Жыл бұрын
I didnt even have to finish the video, IT ALREADY WORKS XD
@U20132
@U20132 Жыл бұрын
Still, im finishing it
@ballchange11
@ballchange11 2 жыл бұрын
I had some trouble with rooms spawning on top of eachother, and stairs hardly generated correctly. If you could do a quick bit on how you made each of the off-camera rooms that would be p cool 👍
@GnomeCode
@GnomeCode 2 жыл бұрын
Same rules apply as the rooms I created in ep 1. Just make sure you have the entrance/exit parts all facing the same way using the OrientationIndicator
@TarokaWaste
@TarokaWaste 2 жыл бұрын
@@GnomeCode Hello my fellow gnome is it normal that when i take the weight value on one of my rooms under 1 it dosent spawn?
@name-fr8rx
@name-fr8rx 2 жыл бұрын
@@GnomeCode I did this, but some rooms keep spawning in the center of the exit parts and sort of overlapping. It's a bit like a corner of the door takes up the corner of the exit and it keeps doing that sometimes. Also two rooms keep spawning at the starter room. Any idea what I should do?
@RealDippy
@RealDippy 2 жыл бұрын
@@name-fr8rx same I’m confused on what to do
@name-fr8rx
@name-fr8rx 2 жыл бұрын
​@@RealDippy Ok so I found a solution but you may not necessarily like it. I decided to just get rid of the left & right turns entirely because everything is lined up on the indicator so I just got rid of them, and also got rid of the stairs. So it kind of just relies on the snakes and my imagination to make it interesting. As for two spawning at the starter room, you wanna get rid of the room.Generate(prevRoom) on the second line in the script. Hope I helped! If you need any more help, just send me your script and I'll see what's wrong.
@Nex_2B
@Nex_2B 2 жыл бұрын
Bruh I always forget these are tutorials, I usually treat your videos as if I'm watching fundy showing off some random thing he made.
@SchrubbiHD
@SchrubbiHD 2 жыл бұрын
Could you also add X-Sections? so 4 different directions. So its more like a maze rather than a long path.
@paopaothemaocow
@paopaothemaocow 2 жыл бұрын
just make your own and change the property in the table to "XSection" or something
@PurplixGaming
@PurplixGaming 2 жыл бұрын
An 'x' or a '+' because a '+' is way easier.
@dallor714
@dallor714 Жыл бұрын
@@PurplixGaming essentially the same thing
@опр-б1г
@опр-б1г 2 ай бұрын
send all scripts in this video pls!
@iamabigbrain
@iamabigbrain 2 жыл бұрын
Hey GnomeCode (and possible others who are having the same problem) i don't know why but there was been an error that has popped up recently which is the following: ServerScriptService.Server.Room:12: attempt to index nil with 'Direction' (or something along those lines) this means that my generation isn't working properly and does some odd stuff. i would really like some help. thank you
@blakedaniels702
@blakedaniels702 2 жыл бұрын
It means you havnt listed your all the room names in the Roominfo module script
@reyalfrstyplash
@reyalfrstyplash 2 жыл бұрын
@@blakedaniels702 yeah
@tuc31315
@tuc31315 Жыл бұрын
I had this same issue, and what blake describes might work, but even after fixing it, i still got the same exact problem.
@tuc31315
@tuc31315 Жыл бұрын
Nevermind, I just spelt one of my rooms wrong lol
@reyalfrstyplash
@reyalfrstyplash Жыл бұрын
@@tuc31315 i know the problem
@jsnotlout3312
@jsnotlout3312 2 жыл бұрын
I once made a random Road generator, These kind of systems are super fun to make!
@a60_hotelplus
@a60_hotelplus 2 жыл бұрын
Bruh. I need the models but I can't create it. But I'll attempt! :3
@redlight0502
@redlight0502 Жыл бұрын
Me too
@RoGuyYT
@RoGuyYT 5 ай бұрын
@@redlight0502 Rip. Yall wasted your time bc I published a free version of the rooms
@redlight0502
@redlight0502 3 ай бұрын
😅
@BUKOYAY
@BUKOYAY 23 күн бұрын
WHERES THE LINK?
@scbLMAO_main
@scbLMAO_main 3 ай бұрын
setting a reminder for myself: 21:20
@VeryUniqueHandle
@VeryUniqueHandle 2 жыл бұрын
We need a whole video just on the keyboard asmr
@kauesun-roblox4265
@kauesun-roblox4265 2 жыл бұрын
incase if this script on the video doesnt work as expected (if it works then ill delete this comment) room(module): local room = {} room.random = Random.new() function room.Generate(prevRoom) local possibleRooms = workspace.Rooms:GetChildren() local randomRoom = possibleRooms[room.random:NextInteger(1, #possibleRooms)] local newRoom = randomRoom:Clone() newRoom.PrimaryPart = newRoom.Entrance newRoom:PivotTo(prevRoom.Exit.CFrame) newRoom.Parent = workspace.GeneratedRooms return newRoom end return room Server: local room = require(script.Room) local prevRoom = workspace.StartRoom for i= 1, 15 do prevRoom = room.Generate(prevRoom) end
@adianschannel
@adianschannel 5 ай бұрын
thank you so much my savior ❤
@FlaminFish750
@FlaminFish750 4 ай бұрын
this was last videos
@mariobruhplayingames
@mariobruhplayingames 4 ай бұрын
it doesnt work?
@IncredibleKai108
@IncredibleKai108 3 ай бұрын
THANK YOUU
@funnehbread
@funnehbread Жыл бұрын
at 13:58 when you were testing it it worked for you but for me it said this in the output: ServerScriptService.Server.Room:16: attempt to index nil with 'Stairs' EDIT: now i have problem with something else: ServerScriptService.Server.Room:9: attempt to perform arithmetic (add) on number and nil
@Mushy76
@Mushy76 Жыл бұрын
Same
@Mushy76
@Mushy76 Жыл бұрын
in roominfo add startroom
@funnehbread
@funnehbread Жыл бұрын
@@Mushy76 did it already
@AngusTheDoge
@AngusTheDoge Жыл бұрын
​@@Mushy76 I did that and it is still not working
@AngusTheDoge
@AngusTheDoge Жыл бұрын
Same
@rundro4808
@rundro4808 2 жыл бұрын
I remember watching your first teddy tutorial when it came out I enjoy your vids Gnome
@5d4a5
@5d4a5 2 жыл бұрын
GnomeCode can you add a model in creator marketplace for the rooms so people that are bad at building/beginners can use them please?
@NotHenGamer
@NotHenGamer 2 жыл бұрын
yeah
@HeldByStrings
@HeldByStrings Жыл бұрын
also making doors style rooms is very easy (We do not talk about the stairs)
@BUKOYAY
@BUKOYAY 23 күн бұрын
@@HeldByStrings ofc
@HeldByStrings
@HeldByStrings 22 күн бұрын
@@BUKOYAY What inclined you to reply to a year old comment.
@sebalby34
@sebalby34 2 жыл бұрын
cant wait for the new episode im alreadty excited!
@platnik2680
@platnik2680 2 жыл бұрын
Great work mate!
@artem-kt2gh
@artem-kt2gh 2 жыл бұрын
TYSMMM, was waiting for this!
@dude-thats-w1ld
@dude-thats-w1ld 2 жыл бұрын
I am making a game with random gen. THANK YOU MAN I NEED THIS
@GamingMakesFun
@GamingMakesFun 2 жыл бұрын
I've been waiting for this!
@JExetor
@JExetor 5 ай бұрын
14:33:47.795 ServerScriptService.Server.Room:17: attempt to index nil with 'Stairs' - Server - Room:17 How to fix
@zynestine
@zynestine 2 жыл бұрын
13:58 i got an error that says "ServerScriptService.Server.Room:14: attempt to index nil with 'direction'" how do i fix it? i have everything spelled correctly
@zynestine
@zynestine 2 жыл бұрын
someone please respond because i really want to create my own custom doors recreation
@louissiew7860
@louissiew7860 2 жыл бұрын
I had the same result, but insteead of direction it said name. basically "ServerScriptService.Server.Room:14: attempt to index nil with 'Name". I honestly don't know why, try checking the code and see if you misspelled or missed anything.
@agameboy
@agameboy 2 жыл бұрын
try adding a table in roominfo for the starting room with no variables, as i got a index nil with "stairs" and this method worked for me like this: ["StartRoom"] = { }
@zynestine
@zynestine 2 жыл бұрын
@@agameboy i did that it still didnt work
@lightlightpiper
@lightlightpiper 2 жыл бұрын
alright so I had the issue i found out one of my curved rooms was mispelled in the RoomInfo script and i fixed it and i no longer have the error and everything works fine
@iamguiii
@iamguiii 2 жыл бұрын
No WAIT you are doing toturial doors game, bro you're very good at what you do I'm inspired by you !!!
@FlaminFish750
@FlaminFish750 3 ай бұрын
if your rooms are still colliding with each other here are the things you need to do. 1.check the orientation of the exit and entrance 2. make sure the entrances and exits are properly name. entrance is the door without the frames and walls and exit door is the door with the walls
@trafficaly
@trafficaly 3 ай бұрын
I did this yet it will spawn correctly but not correctly facing each other. It'll spawn in a path that does not collide with itself however the room is at an angle and is not connected to the room properly, do you know why?
@FlaminFish750
@FlaminFish750 3 ай бұрын
@@trafficalywdym by it does not face each other?
@Virtus647
@Virtus647 29 күн бұрын
for some reason for the first room, it generates 2 rooms inside each other but that doesn't happen for the rest of the rooms
@gdm45_yt
@gdm45_yt 25 күн бұрын
you probably have another line of code that creates a room in server delete it and you should be fine! same happend to me
@Planetary-1
@Planetary-1 8 ай бұрын
13:13, tho this method works well, it might not be the best for more and larger amounts of rooms. Like hundreds or thousands, even infinity So how can we fix this? If we had it so generates a new room only if we touch the end of the room. Then if the amount of rooms is equal to 5, then delete the oldest room. Which fun fact, doors actually use this method. And I made my own, it took less then a day to script everything and build everything, it was quite easy but very head aching, many errors consistently happens which leaves me 35 minutes of me figuring out why and how. Which when compared with your method and this method Your method only goes through a zigzag in one direction.. and can start making the rooms predictable if set to an infinite amount of rooms While this method can generate infinite amounts with no lag cause the player has the touch at the end of the room to generate a new one. Which can now allow it to go in a full loop without rooms clipping cause old rooms are removed, and so it can be forever and infinite..
@Guy-4600
@Guy-4600 8 ай бұрын
Can you send the script?
@IsaacPlayzYT959
@IsaacPlayzYT959 7 ай бұрын
Pls send script
@TCGamingLive
@TCGamingLive 3 ай бұрын
Can you copy and paste the entire Room script from your game and paste it into the comments or something because I messed up on a part and I don't know where. Only a least 2 to 5 roooms generate only when my room count number is set to 250. I don't get it.
@doinic09
@doinic09 2 жыл бұрын
I'm pretty sure how doors does the generation is it only has like 5 rooms at a time and constantly deletes the back room to prevent lag
@boschhotpointfan8354
@boschhotpointfan8354 2 жыл бұрын
1:43 ignore this saving my spot and taking a break since I finished the first video.
@zenamorphosis2852
@zenamorphosis2852 Жыл бұрын
Thank you so much! I’m doing very well, your tutorials are amazing!
@ruslansmirnov9006
@ruslansmirnov9006 Жыл бұрын
lua scripts are not the best suitable tool for generating anything that large
@redfire826
@redfire826 2 жыл бұрын
Keep them coming!! Thank you!!
@Blue-Coding
@Blue-Coding 2 жыл бұрын
THE GENERATION OUT SMARTED ME WITH THE LOOPS IT GENERATED A CORNER THEN A HALL WAY THEN ANOTHER CORNER THEN REPEATED IT OVER
@jsnotlout3312
@jsnotlout3312 2 жыл бұрын
15:11 Garden She Cameo Lets goooooo
@hoodratthizzkid4316
@hoodratthizzkid4316 2 жыл бұрын
Gnomecode uploading is the best thing ever! Will next episode have monsters btw?
@GamingMakesFun
@GamingMakesFun 2 жыл бұрын
No, the next episode will have doors, he said it at the end of the video. although I'm also looking forward to the "adding monsters" episode!
@Pkygamez7
@Pkygamez7 Жыл бұрын
it is not generating rooms now cuz of this error: ▶ Script 'ServerScriptService.Server.Room', Line 33 - function Getrandom (x4997) - Studio - Room:33
@Jassimathgenius
@Jassimathgenius 3 ай бұрын
you added a spacw after getrandom Avoid giving spaces in bracket syntax
@JustinC74
@JustinC74 2 жыл бұрын
Yess ive been waiting for this
@ElijiahFlowsanims
@ElijiahFlowsanims 10 ай бұрын
This is useful! you've earned a sub fr fr
@meew1
@meew1 2 жыл бұрын
Yes! Part #2!!!! I love you
@CreamsCartsYT
@CreamsCartsYT Ай бұрын
Saving this for later: 7:15
@RichRish12109
@RichRish12109 Жыл бұрын
Do you know what to do if there are no errors, but the rooms still spawn inside each other?
ACTUAL Doors - Doors Game Tutorial #3
23:12
GnomeCode
Рет қаралды 118 М.
Making Doors in under 1 hour in ROBLOX
11:52
Cone
Рет қаралды 256 М.
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
Portal with 3 parts: is this possible?
14:12
optozorax
Рет қаралды 179 М.
Find the Robloxians - YOURSELF EXPLAINED
26:03
arthur
Рет қаралды 3,9 М.
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 4,3 МЛН
Roblox Doors But There Are Too Many Glitch Fragments
19:18
NO_DATA
Рет қаралды 202 М.
I Coded a Nuclear Physics Simulator to Play God in VR
44:21
Thomas Wald
Рет қаралды 124 М.
The Only Thing You Need To Learn How To Script
4:36
Ludius
Рет қаралды 233 М.
How to Make a Doors Game - #1 Generating Rooms
15:19
GnomeCode
Рет қаралды 552 М.
Can I 100% Superliminal and Get a Refund?
23:36
Gronf
Рет қаралды 309 М.