Level editor?

Blitz3D Forums/Blitz3D Programming/Level editor?

Boiled Sweets(Posted 2004) [#1]
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?


Warren(Posted 2004) [#2]
Have you considered only drawing the tiles that are visible?


Boiled Sweets(Posted 2004) [#3]
Well I was using the camerarange() to limit it but seems to make no difference whatsoever.


Warren(Posted 2004) [#4]
You should just recreate the quads each frame and only create the ones you can actually see. That would speed everything up right quick ...


Ross C(Posted 2004) [#5]
You could also use a single surface approach. :)