How “Impossible” Features Are Actually Coded

Поділитися
Вставка
  • Опубліковано 25 лис 2024

КОМЕНТАРІ • 235

  • @byteblox100
    @byteblox100  5 місяців тому +46

    My official Roblox Studio course:
    bit.ly/ByteBloxCourse

    • @thegamingdeath123
      @thegamingdeath123 5 місяців тому +1

      I would love to get this, but I have no online money.

    • @goodolmemo
      @goodolmemo 5 місяців тому

      Thanks for the tutorials ❤❤❤

    • @justindc0
      @justindc0 5 місяців тому +2

      I hate school

    • @A-75rldrooms
      @A-75rldrooms 5 місяців тому +1

      Ok? 😒

    • @4amanda4
      @4amanda4 5 місяців тому

      hey byteblox! i found a better way of doing what you showed in the video some years ago
      basically you build out a hallway, set the start and ending, then when the player reaches the end you move them back to the start by setting their rotation to 0, moving them back however far, and then returning their rotation
      i made an example of this too some way back
      game id 1603303336 because youtube deletes my comment whenever i include the link

  • @kaiji2542
    @kaiji2542 5 місяців тому +64

    I have been interested in this kinds of things, the thing you're referring to is Non-Euclidean Geometry I think. Non-Euclidean means like it breaks all the laws of Physics, so example, a small hall way from it's side looks short but when you look at it from the front, it's a long hallway. My favorite one so far is the picking up mechanics of this game called Superliminal. It's like this, where you picked up an object, the object will appears the same size but when you drop it, the object's size completely changes. So it's apparent size is still the same but its actual size is different. If possibly, can you try recreating it?

    • @HNStrike
      @HNStrike 5 місяців тому

      I am not a scripter but this sounds kinda hard if not impossible in roblox but I'm sure someone competent can figure it out

    • @humnyas
      @humnyas 5 місяців тому +4

      @@HNStrike its been done many times, theres many experiment games out there that use portals (with raycasting and viewportframes)

    • @hdscreen3607
      @hdscreen3607 5 місяців тому +3

      ​@@HNStrike Typically it just requires a portal between two structures
      The hard part would probably be rendering the other side of the portal from the side you're on, but I've never tried it before so for all I know it could be easy

    • @BassedBrigitte
      @BassedBrigitte 5 місяців тому +4

      by the way, non-euclidean geometry just refers to any geometry done on a plane that isn't perfectly flat. This usually refers to hyperbolic or spherical/elliptic geometry. Non-euclidean geometry is why parallel lines on a sphere meet at a point

    • @vindi167
      @vindi167 3 місяці тому

      non-euclidean means it breaks 1 or more rules of euclid's geometry. so, an infinite hallway for example, is non-euclidean. this is because one of the 5 postulates is that the shortest path is a straight line, but if you try to go a straight line from one side of the hall to the other, you will never cross, meaning a faster path is going around, which is not straight

  • @mattwells9802
    @mattwells9802 5 місяців тому +13

    Bro made me addicted to UA-cam again

  • @gneu1527
    @gneu1527 5 місяців тому +34

    A way to make an infinite hall is make a small part of a map with fog covering the entrances and make a local script where the hall teleports to the player's middle everytime they are near an entrance, and make a studs meter.

    • @beamng-movies
      @beamng-movies 5 місяців тому +1

      the player will notice the teleportation lil bro

    • @DuckieWorld
      @DuckieWorld 5 місяців тому +12

      @@beamng-movies no they wont? its not the player being teleported, its the hallway being teleported forwards or backwards, which is actually a even better way in some circumstances because performance will drastically increase, rather than thousands of rooms stacked infront of eachother.

    • @beamng-movies
      @beamng-movies 5 місяців тому +5

      @@DuckieWorld i misread the comment for "teleport the player"

    • @MaxwellCatAlphonk
      @MaxwellCatAlphonk 5 місяців тому +1

      Multiplayer go brrrrrrrrrrrrrrrrrr🎉🎉rr🎉🎉rr🎉🎉rr🎉rr🎉r🎉🎉rr🎉r🎉🎉rrrrrrrrrr🎉🎉r🎉🎉?🎉🎉

    • @MaxwellCatAlphonk
      @MaxwellCatAlphonk 5 місяців тому +3

      Or just parts that only exist 8n the client can also 재가
      Edit I meant work not džægå y keyboardf ewitched to korean lol🎉🎉🎉🎉

  • @potoe6393
    @potoe6393 5 місяців тому +310

    Byteblox, it’s like 1 am for you. Go to sleep.

  • @HameleoshaDeHoga
    @HameleoshaDeHoga 4 місяці тому +12

    I don't need no scripts, I'm just going to copy and paste one massive part for like an hour straight into the floating point zone. In fact I'm currentlt running on a higher dosage of caffeine than I should have rn plus it's almost 2 AM and I just impulsively thought about making a sequel to one of my dumb games where you walk in one direction for like 15 minutes only to get kicked from the game. I'm gonna make it even longer, I'm gonna make some unfortunate idiot who was stupid enough to join my poor excuse of a "game" and I'm going to make them walk for at least an hour or even more just to get kicked in the end, and the ending is going to be even worse than the original game, because in the original game you go into the store to buy a big glowy capital letter H, in my new game it won't have any of that, you'll just get randomly kicked without a warning

    • @impala831
      @impala831 Місяць тому

      Game ñame?

    • @OOFUS4103
      @OOFUS4103 Місяць тому

      New copypasta?

    • @impala831
      @impala831 Місяць тому

      @@OOFUS4103 I still need that game name

  • @kubaoko008
    @kubaoko008 5 місяців тому +154

    finally, super mario 64.

  • @rezarg
    @rezarg 5 місяців тому +2

    Fun Fact: Instead of turning your rotation or move/scale snap on and off, holding Left ALT while making an action (similar to holding Left CTRL to scale both ways), you can scale/move/rotate with 0 snap. And then releasing Left ALT will go back to snapping :)

  • @vindi167
    @vindi167 3 місяці тому

    making objects appear real-time is one way to do it, but most non-euclidean games i know that involve portals basically have a flat object which displays the other side of the portal using a second camera that copies the movements you do but like translated/rotated according to the distance of the portals, and the object also has a shader that makes it kinda like a green screen, so if you cut out that part of the screen, and added the second camera behind it, it would fit like that, and finally, to make the portal actually work, they just teleport you to the other side when you walk through.

  • @Hzodx
    @Hzodx 5 місяців тому +2

    11:51 disconnecting the function isn't necessary as you destroy the part which would disconnect it by itself

  • @NBU38
    @NBU38 5 місяців тому +40

    but you can use :Once() instead of :Connect() and :Disconnect()...

    • @Hzodx
      @Hzodx 5 місяців тому +5

      no he cant since he's checking for humanoids

    • @tomsterbg8130
      @tomsterbg8130 5 місяців тому +3

      @@Hzodx Yes you can, if the guard clause causes a return, before returning connect the event again. However that could make the code more messy so I'd just do the disconnect too.

    • @Hzodx
      @Hzodx 5 місяців тому

      @@tomsterbg8130 why would you even suggest that?? some psycho's gonna read this and do it

    • @Avysilvasan
      @Avysilvasan 5 місяців тому +3

      ohhhh i didnt knew "once" existed tsm

  • @Entification
    @Entification 3 місяці тому

    i think this is considerably easier to do if you completely handle the game's render system. I.E. you don't use a game-creating software (like Unity) and code it from scratch. if you do this, you have complete control over what the user sees, so you can code very interesting illusions. lmk your thoughts

  • @Phantotree
    @Phantotree 5 місяців тому +5

    i have no interest in scripting, but this man just makes me want to learn

  • @EchoPrograms
    @EchoPrograms 5 місяців тому +3

    Putting a picture of a very normal person just looking for a cupcake when you said trickery is wild

  • @mu9k
    @mu9k 5 місяців тому +2

    Byteblox’s speech reminds me of a mad scientist

  • @retroAIO
    @retroAIO 5 місяців тому +10

    You could use :Once()

    • @Hzodx
      @Hzodx 5 місяців тому +1

      no he cant since he's checking for humanoids

  • @Atrict.
    @Atrict. 5 місяців тому +3

    The fact that you just showed me how module scripts work better than most tutorials is like kinda crazy and i learnt so much from this vid im making actually a game rn because of this vid

  • @rockyes3239
    @rockyes3239 5 місяців тому +19

    Your videos make my toes curls.

    • @JaydenMorwood
      @JaydenMorwood 5 місяців тому +7

      this comment made my nails do a 90 degree turn upwards thank you

    • @gigabit6226
      @gigabit6226 3 місяці тому +1

      @@JaydenMorwood ...just your nails?? ...only???

  • @Daquan6565
    @Daquan6565 5 місяців тому

    I've been learn script from your videos and others for a while now and I didn't know what game to make but you gave me an idea.

  • @Asylix.
    @Asylix. 5 місяців тому +2

    i wanna make amogus that is very far away and looks small, but when u go near it, it getts bigger

  • @fireblast_1000
    @fireblast_1000 5 місяців тому

    Can you show how to make that forever zoom game please???

  • @ZennoOnYt
    @ZennoOnYt 5 місяців тому

    Something that you didn’t include in this video is destroying unnecessary rooms if they are too far away. Doors does something similar to this, could you make a part two of this video expanding more on this infinite room generation?

    • @byteblox100
      @byteblox100  5 місяців тому

      That is true. A better solution to this room anyway would just be to have one long room which teleports its middle to the player lol

    • @Atrict.
      @Atrict. 5 місяців тому

      @@byteblox100 hey idk why but i get the error "Expected identifier, got end" in the while loop idk why it does that tho i tried wait for child but then it only dupes it 1 time

    • @Atrict.
      @Atrict. 5 місяців тому

      @@byteblox100 ah no fixed it. The name of the end part needs to have a big E otherwise the game is getting confused because of the end thing

  • @Albiesonline
    @Albiesonline 5 місяців тому +2

    should make a video on voxels

  • @kAnEzZzzzzzzer
    @kAnEzZzzzzzzer 3 місяці тому

    Are you on mac?

  • @KampfPenner17-Pn17
    @KampfPenner17-Pn17 5 місяців тому +1

    where do i copy it??

  • @xvqwer
    @xvqwer 5 місяців тому +1

    this is what doors uses for the room generation

  • @zoorcher
    @zoorcher 5 місяців тому

    you can disable sun inside sky properties

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

    bro. this system is REALLY SICK. can u name music's name btw? i need it for my game

  • @Scratchy__The_cat
    @Scratchy__The_cat 5 місяців тому

    I like how as soon as I relearn about cupcakes this video comes out, I literally "relearned" 2 days ago too
    (just didnt find this video)

  • @martigpg
    @martigpg 5 місяців тому

    I was just looking how to do something like that , thank you so much +1 sub

  • @alex-ui8co
    @alex-ui8co 5 місяців тому +1

    time to make a high detail version of your game

  • @Potaot
    @Potaot 5 місяців тому

    Can you make a Tutorial about making an upgrade tree kind game

  • @tigero91
    @tigero91 5 місяців тому +1

    1:01 that meme LOL

  • @hussvrx4264
    @hussvrx4264 5 місяців тому

    infinite hallway was already implemented 2 years ago in my game Apeirophobia

    • @ProtonC100
      @ProtonC100 5 місяців тому +1

      You made apeirophobia

    • @hussvrx4264
      @hussvrx4264 5 місяців тому

      @@ProtonC100 yes

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

    Music used?

  • @SkyyDev
    @SkyyDev 3 місяці тому

    Why when I touch trigger I lag so much

  • @AustinPlayzNothing
    @AustinPlayzNothing 5 місяців тому

    You should try and make non euclidean portals

  • @cat-lv4gj
    @cat-lv4gj Місяць тому

    Just use mesh for infinite hallway
    Scale.

  • @DUSSR1922
    @DUSSR1922 3 місяці тому

    for me, it doesen't delete the rooms, only spawns them, i have been just walking non stop and the rooms behind didn't dissapear

    • @SandUndertatle
      @SandUndertatle 3 місяці тому

      ye they arent supposed to disssapear

    • @DUSSR1922
      @DUSSR1922 3 місяці тому +1

      @@SandUndertatle oh... :/ I made a detailed pipe hallway, and i thought it would delete bc i want it to run on smooth fps ;-;

    • @SandUndertatle
      @SandUndertatle 3 місяці тому

      @@DUSSR1922 rip

  • @LikeSoArt
    @LikeSoArt 5 місяців тому

    Please add a link to the game and your group. I can’t find it

  • @seconds1
    @seconds1 5 місяців тому

    is it possible to make it generate on all four sides? Or make it randomly select rooms to generate?
    Edit : can you also make it generate up and down? Maybe something similar to Minecraft generating chunks?

    • @Axcyantol
      @Axcyantol 5 місяців тому

      I'm sure you could, it'd just be a bit more difficult

    • @seconds1
      @seconds1 5 місяців тому

      @@Axcyantol oh

    • @vaguelyfamiliar_
      @vaguelyfamiliar_ 5 місяців тому

      1. yes, programming all 6 sides would be the same process as shown in the video but a bit more complex (maybe using different areas than rooms for vertical movement)
      2. for random rooms, youd need a list containing different room variations and then using a function that selects one from this list at random whenever the game attempts to generate a room.

  • @Flairex
    @Flairex 5 місяців тому

    Ive always wanted to make an infinite procedurally generated map

  • @IndevGames-sl9np
    @IndevGames-sl9np 5 місяців тому

    Your vids are useful tysm

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

    Do the generated rooms get unloaded or no, because if they dont then i see a performance concern if you go out far enough

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

      thats what i was thinking, but also wouldnt roblox just automatically load them out and jsut save it as data to be loaded later

  • @nikothetic
    @nikothetic 5 місяців тому +1

    Hey man, im really having a struggle here with something. So, i have a server script which chooses a random player.
    local players = game.Players:GetPlayers()
    local selectedPlayer = players[math.random(1, #players)]
    and i basically want to send and print out the selected player's name to the specific client. Could you help me out, or anyone else that could?

    • @Hzodx
      @Hzodx 5 місяців тому

      use remote events
      on the server do
      RemoteEvent:FireClient(player)
      and on the client
      RemoteEvent.OnClientEvent:Connect(function() --[[a]] end)

    • @ChannelOfStalin
      @ChannelOfStalin 5 місяців тому

      You could achieve this by a remote event and using :FireAllClients()
      For example,
      local players = game.Players:GetPlayers()
      local selectedPlayer = players[math.random(1, #players)]
      script.RemoteEvent:FireAllClients(selectedPlayer)
      Local Script:
      game.Workspace.Script.RemoteEvent.OnClientEvent:Connect(function(selectplayer)
      if selectplayer == game.Players.LocalPlayer then
      print(selectplayer.Name)
      end
      end)
      If you have more questions, I would be happy to help!

    • @Hzodx
      @Hzodx 5 місяців тому

      @@ChannelOfStalin workspace instead of game.Workspace and thats bad code why send it to all clients if you arent going to use that information? just do FireClient(player)

    • @ChannelOfStalin
      @ChannelOfStalin 5 місяців тому

      @@Hzodx It's just an example, I seem to have read it wrong. It's not like they'd just copy and paste the code though.

    • @Hzodx
      @Hzodx 5 місяців тому

      @@ChannelOfStalin totally

  • @bobfromsbreal554
    @bobfromsbreal554 3 місяці тому

    0:24 whats the name of that game?

    • @UramazingXxX
      @UramazingXxX Місяць тому

      i belive the game at 0:24 is called space flux

  • @TheCoolIllusion
    @TheCoolIllusion 5 місяців тому +1

    You could just do script.Parent.Touched:Once() rather than regularly connecting and disconnecting

    • @theperfecttroller
      @theperfecttroller 5 місяців тому

      yeah i'm pretty sure he talked about this in a recent video too so i'm unsure why he made this mistake

    • @Hzodx
      @Hzodx 5 місяців тому

      no he cant since he's checking for humanoids

  • @YourLocalWarGorilla
    @YourLocalWarGorilla 5 місяців тому

    you should make smooth portals to different places, like in the classic event

    • @D00MWatcher1
      @D00MWatcher1 5 місяців тому

      EgoMoose has a smooth portal demo

    • @YourLocalWarGorilla
      @YourLocalWarGorilla 5 місяців тому

      @@D00MWatcher1 ik ive played it tho its code is scary and I don't understand it, anyways when we have byte to do free labour for us , why not?

    • @D00MWatcher1
      @D00MWatcher1 5 місяців тому

      @@YourLocalWarGorilla true hehe

  • @Avysilvasan
    @Avysilvasan 5 місяців тому +1

    your videos so good i cant resist edging😩😫

  • @TheCollectiveHexagon
    @TheCollectiveHexagon 5 місяців тому +1

    17:36 AppleTV'S Dark matter in a nutshell:

  • @-Loki
    @-Loki 5 місяців тому +3

    Oil up during your next video. Loving your content

    • @Acheron-IX
      @Acheron-IX 5 місяців тому

      he better

    • @declandude25
      @declandude25 5 місяців тому

      😂l owe 50,000,000,000,000 in taxes😂😂

  • @alexbunnygd
    @alexbunnygd 5 місяців тому

    how do i lock the size of an avatar in roblox studio

    • @dang-xf3ri
      @dang-xf3ri 4 місяці тому

      I think inside the properties of the humanoid

  • @Bigtrees-
    @Bigtrees- 5 місяців тому +1

    I love u bro ty

  • @RadiantKaijin
    @RadiantKaijin 5 місяців тому

    MY GOAT

  • @unlinedrabbit8140
    @unlinedrabbit8140 5 місяців тому

    I based my entire game off of this system, its great i love it

  • @ProSureString
    @ProSureString 5 місяців тому +2

    Reupload?

  • @yawhitekali
    @yawhitekali 5 місяців тому

    Yaa will post this 😮😮

  • @JoshieBoy_
    @JoshieBoy_ 5 місяців тому

    Why not just use :Once() or a different way I know this is just a tutorial but it’s so inefficient lol

  • @probamenya8898
    @probamenya8898 3 місяці тому

    I NEED MUSIC PLEASEEAESEAEASEEASEAESEA

  • @Da-kon
    @Da-kon 5 місяців тому +3

    Yo bro pls help me one of youre subscribers trying to bully me i just made vid for fun then these guys just come here and said negative things bro plss i need youre help

  • @sand3000
    @sand3000 5 місяців тому

    Hey byteblox wanna sword fight

  • @IndevGames-sl9np
    @IndevGames-sl9np 5 місяців тому

    and fun to watch

  • @cj6j_yt
    @cj6j_yt 5 місяців тому +7

    im busting ALL over my screen, great video

  • @nikitaf93real
    @nikitaf93real 5 місяців тому +1

    You want fun? wario will show u fun

  • @Cardo2004
    @Cardo2004 5 місяців тому

    I made an infinite hallway game like 2 weeks ago in a day and then i get this video lol

  • @Syrise
    @Syrise 5 місяців тому

    I like you : )

    • @Syrise
      @Syrise 5 місяців тому

      👾

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

    10:49 who else would ever hit that part? Its will always be the player. Or….???

    • @cacobeffeff
      @cacobeffeff 3 місяці тому

      anything can trigger .touched so you have to make sure its a player

  • @tornadoreaper
    @tornadoreaper 5 місяців тому +2

    jorking on it bro brb 😂😂😂

    • @Acheron-IX
      @Acheron-IX 5 місяців тому

      ah it’s everywhere bro

  • @kotofyt
    @kotofyt 5 місяців тому

    Now let’s talk about impossible: shaders

  • @Ergo288
    @Ergo288 5 місяців тому

    I saw this in my nightmare last night o.o

  • @UnexpectedPlay
    @UnexpectedPlay 3 місяці тому

    once you made fun of youtubers begging for people to sub to their channel for "our sub goal" I had to sub that was gold

  • @FearEyes07
    @FearEyes07 5 місяців тому

    edp jumpscare lmao

  • @Ian3485.
    @Ian3485. 5 місяців тому

    It’s 3:34 am

  • @LennyFace987
    @LennyFace987 3 місяці тому

    4:08 does bro think we are dumb🙏💀

  • @samllea1
    @samllea1 5 місяців тому +1

    400th liiike!!!

  • @torstforturtles
    @torstforturtles 5 місяців тому

    boy, what you doing at 1 in the morning

    • @bulieme
      @bulieme 5 місяців тому +1

      timezone...

  • @spigey
    @spigey 5 місяців тому

    you could've just teleported the player back

  • @wonsole
    @wonsole 5 місяців тому +1

    bro ur going too fast

  • @Iliketosayhelloalot
    @Iliketosayhelloalot 5 місяців тому

    0:36

  • @IHarvest_RBLX
    @IHarvest_RBLX 5 місяців тому +1

    900th like!!!!!!! :D

  • @vexatiouslyweeping
    @vexatiouslyweeping 5 місяців тому

    EARKY FRFR!!

  • @DinoDev_OG
    @DinoDev_OG 5 місяців тому

    stop breaking my mind

  • @Mrbrowniebig
    @Mrbrowniebig 3 місяці тому

    hello

  • @itsTalkie
    @itsTalkie 5 місяців тому

    Say hi if you edge

  • @fancen
    @fancen 5 місяців тому

    internal

  • @Maxim67459
    @Maxim67459 5 місяців тому

    Ello

  • @fordy_yt
    @fordy_yt 5 місяців тому

    Praise Jesus!

  • @marchtheprotogen
    @marchtheprotogen 5 місяців тому

    woweee..

  • @N0NT0NED
    @N0NT0NED 5 місяців тому +2

    40th commend oil me up now

  • @SkinnyWhiteBoy1
    @SkinnyWhiteBoy1 5 місяців тому

    sigma

  • @RBLXProd
    @RBLXProd 5 місяців тому

    Another banegr jus dropped

  • @dextertheio2857
    @dextertheio2857 5 місяців тому +1

    skip the yapping and turn this into stairs

    • @Atrict.
      @Atrict. 5 місяців тому

      imma the game we are thinking of before you ;)

  • @SirJo_
    @SirJo_ 5 місяців тому

    Holy shit byte you are better then alvinblox, but not as good as the dev king

  • @scuffy2945
    @scuffy2945 5 місяців тому +3

    had to smudge my stick all over the screen for this one ❤

    • @Acheron-IX
      @Acheron-IX 5 місяців тому

      that’s so hot bro

  • @CornyHumor
    @CornyHumor 5 місяців тому

    first

  • @lobs26
    @lobs26 5 місяців тому +1

    "impossible!!! hacer!! you hacer!!!!!!!!!" - little timmy

  • @justindc0
    @justindc0 5 місяців тому

    🗿

  • @blackandmode
    @blackandmode 5 місяців тому +1

    the first person who comment is gay. im talking about you @ProSureStrings

    • @outerbound
      @outerbound 5 місяців тому

      that is NOT an insult ?? 😭

    • @cuuHjr
      @cuuHjr 5 місяців тому

      ​@@outerbound is

    • @outerbound
      @outerbound 5 місяців тому

      @@cuuHjr yeah i am gay

    • @cuuHjr
      @cuuHjr 5 місяців тому

      @@outerbound ew

    • @outerbound
      @outerbound 5 місяців тому

      @@cuuHjr LOL

  • @Gokugggdhhhsggw
    @Gokugggdhhhsggw 5 місяців тому

    Wut

  • @Clyde_E
    @Clyde_E 5 місяців тому

    miteblox