Does anyone know if MMF will allow a fastloop within a fastloop?
I'm trying to create a front/back system for an isometric engine. Here's kind of how I've got it planned out:
1) arrange tiles and objects with objects closest to bottom of the map towards the front.( it then puts all the objects into an array in this order. The frontmost objects are in the greatest slot position of the array.)
2) Compare the player's elevation to the elevation of each tile starting with the backmost tile in the array. If the player's elevation is higher than the tile's, insert the player into the array slot right in front of the tile.(everything ahead of the tile in the array is moved up a slot using a nested loop)
I'm using separate objects for each tile. The tiles are generated at the start of the level following instructions for the map layout in a text file.
I'll see if the nested loop doesn't slow it down too much. If it does, I guess I'll just have to go with a not so good iso front/back engine I came up with earlier.
Edit: This system made it go too slow with all the fastloops and array stuff.