ID:2969612
 
(See the best response by Phat T.)
Hi,

So I'm having challenges in the game I'm mapping, the turf icon disappears either in the small preview or on the map .dmm all together.

The turfs are 13000x3000 in size and I zoomed out the map completely to
see them which worked at first but now they just randomly disappear from either the small preview or the area where I can add other turfs.

When I test it out by running it, the turfs are in the game so that's fine but not really good for mapping if I cant really see the turfs that I plan to use as a background.

Here's a picture showing how it appears in the preview but isn't appearing in the .dmm file where I can add the other icons and as you can see I right clicked where I placed it in the map: https://imgur.com/u8s5Z5l

another where it appears in the preview again but it only appears 2/4th in the .dmm maps window (the turfs big enough to fill 1/4 of the map being 376x374) : https://imgur.com/8Uj0zqt

and another where It doesn't appear in both the preview or the map file but as you can see I right clicked where I placed it in the map: https://imgur.com/HxYVOC9

Please I need your help and advice.
The turfs are 13000x3000 in size

Wait, what? Are you talking about total pixels, or number of turfs, or is that an actual icon size you're using?

The only number that makes sense there is total pixels. 39 million turfs may or may not technically be possible, but boy would it be a stretch.
I'm covering a large part of the map with a picture that was originally 12000x3000* in size and in the .dmi file its using the same size from the file so its also 12000x3000.

The thing is I did 5 maps like this and it shows in 2 of them fully, then the another is just halfway showing in the preview part and in the map and the rest isn't showing in both the preview and the .dmm file but they are all showing inside the game...
Best response
DM preview doesn't render the full icon unless you're close enough to the location on the map. In-game it shows normally because it's loaded dynamically based on your view. But I really recommend splitting that image into smaller parts — 12k x 3k is way too big and can cause performance issues.
In response to Phat T
Thanks for the advice, will have to try that!
BYOND will choke hard on images that huge. Image data is loaded uncompressed. If an image can be broken down into reusable tiles/parts to limit the amount of unique data, that's a much better way to go.

Login to reply.