I’m trying to create a generation script for steps that go on forever, but efficiently as stair cases will eventually cause insane performance issues if they keep generating
my goal is to find a idea/solution to go about this
I’ve tried a couple of different ideas like only generating steps when someone is near the end and also degenerating/retracting when no one is near the end but this would still cause issues if there is multiple staircases or a player just keeps walking and doesn’t stop
and this is just one staircase I plan to add a lot more
another idea was to phase out and destroy steps if no one is near and regenerate the steps if they go backwards
Example, instead of the parts falling imagine them just going transparent and destroyed
this works but it doesn’t really look like a stair case, I could expand the range before it phases out but if there is other players this would also cause decent performance issues
my next idea to try is to have all stairs local and only generate stairs you are on, and degenerate those as well
if anyone has a better solution that would be great, thought it was a good idea to ask due to me redoing quite a few times
Game Climb infinite stairs to winners - Roblox (I’m working on a different version now)
I just need it to look good and be efficient
so yea this game is pretty much a bad meme I’m taking far, thanks