So making a tile based map editor seems to be a pretty great way to learn more about Construct. For the most part there are a lot of tutorials that do a great job of showing the ropes.
I have one pressing current issue that I have no idea to solve, and one issue I know is going to come up which I want to know if I'm headed the right direction before I start working on it and how to get started.
So I have a minimap. It shows my sprites position on the map just fine. I have it so you can click a different spot on the map and it will take you to that spot so you can work on a different part of the map. The part I have been working on now is having the different tiles being represented in the minimap. I expect this to cause some slowdown eventually considering I'm creating objects for each tile and at 256 * 256 of these objects if you filled the map this would be 60,000 objects on the screen at once. Even if I turned the minimap into a proper array I imagine this would still cause me problems. Is there any way to do this?
Also I notice that it slows down after I have about 20 tiles on the minimap. I think this might be because my main layer scrolls, and the minimap is on a seperate non-scrolling layer but I'm not sure.
The second issue I know I am going to face is that since the map can be set to any size, if I create something as big as 500 X 500 tiles wide (I'm using 32 x 32 size tiles) I will need to come up with a system to destroy offscreen objects. This is something I see referenced a lot when I search the forum, but I haven't found a definitive way to do it.
My guess is that I use the same array that I use to populate the map with tiles, I give it a depth of 2, and I use the second layer to determine the location of my sprite and destroy anything that isn't within a certain amount of tiles around that point. Although I understand the concept of an array, I am unsure of EXACTLY how to do this. Is this the right way of doing this, and can anyone give me an idea of where to start or how to work with an array in this way?
I think after I finish this map editor I would like to work on cleaning it up and properly commenting it so I can post it and it can help other people learn to do all of these things, as they seem pretty necessary if you want to make something on a larger scale.