Simulating Non-euclidean environment

As a programming exercise, I decided to make some procedurally generated backrooms, and then made it seem like they wrap around themselves. By this i mean that If you were to walk in a straight line, you would eventually get to where you started. This is achieved simply by subtracting to the player’s position, the length of the map, in the correct axis, as soon as the step out of bounds, the transition is made seamless by cloning the opposite tiles in front of each “Exit” so it is impossible to discern.

With one small caveat. Although this works fine for level geometry and (Some) custom humanoids, I found that replicating 4 extra players was a bit too heavy on performance, especially if i wanted to do it seamlessly.

Other than that though, I found it to be pretty cool and worth sharing, you can try it out here:
https://www.roblox.com/games/8797646789/The-Backrooms

Try exiting the starting are then going in any direction in a straight line, you should end up back at the starting area in a couple of minutes.

I also added a picture of my cat just for fun.

2 Likes

Alright here is some feedback on it:

Right off the bat, it looks cool, after some time I started feeling disorientated, which is probably the purpose!
I can notice how it expands at some point, because the lights flicker a little
Adding some more detail, better textures (Seamless one’s!) and some fancy lighting will make this project for sure turn out in a masterpiece!

That’s all I have to say

1 Like

Looks cool although it was posted in the wrong catagory :sweat_smile:

Lmao i didn’t notice, thanks for pointing that out. :sweat_smile:

This is really cool, i was going straight for 10 minutes and ended up back at the start :sweat_smile:

1 Like