I'm trying to make a sort of world-generator for a sidescroller, and the actual code I used is... Fine. Even it worked like I'd expect, it still seems super slow.
drive.google.com/file/d/1jXLBpSh6AAoA_hqFqH23g6jLNJQRXj8d/view
My problem is that I'm getting massive frame drops the more time it spends generating the world. The basic terrain and the bedrock added during the last step use roughly the same code, but the bedrock takes much longer than the terrain. Any advice whatsoever?
Getting something that runs well isn't what I care about, just something that runs at least a little reasonably.