Level editor?

Blitz3D Forums/Blitz3D Programming/Level editor?

Hi,

just wondering what methods people use to create level editors for a tile type game. I have written one for my game, I'm using a 5 * 2000 array of quads to draw the tiles but even on my 9700 Pro I get 29 FPS. If I drop the entities to say 5 * 300 then the FPS shoots up. I guess it's the sheer number of surfaces causing the problem. I was thinking of trying to use images or sprites but I'm gonna hit the same problem.

Any thoughts?

Have you considered only drawing the tiles that are visible?

Well I was using the camerarange() to limit it but seems to make no difference whatsoever.

You should just recreate the quads each frame and only create the ones you can actually see. That would speed everything up right quick ...

You could also use a single surface approach. :)