So, I’ve been working on improving a 3D engine I made a year ago, it looks better, but runs slow, There are bugs but those I’m not worried about right now I just want at least 20fps
I have it not draw a new frame every second like older versions, but when you move anything it then draws a new frame, saving system Ram.
after that, a lot of optimization comes down to reducing the amount of blocks that run each frame. custom blocks and broadcasts are especially slow so it’s best to use those rarely.
i haven’t done it in this project, but you could probably speed it up a lot further by stamping a vertical line costume for the texture instead of writing a bunch of squares. make sure you use the ghost effect instead of the brightness effect. out of all the graphic effects, ghost is the only one that isn’t slow, and you have a black background, so it’ll look the same.
Yeah, using a bunch of squares is going to be slow and i would recommend of course drawing the walls simply with pen, keeping the graphics quite low or even better being able to adjust them with variables till you get the perfect balance between detail and speed. Or leave it up to the player who might not mind low quality.