This project is read-only.
6

Closed

Optimization

description

When working in the editor, there are very strong lags do not depend on system performance.
Closed Aug 21, 2013 at 11:50 AM by colinvella

comments

colinvella wrote Feb 3, 2011 at 11:23 AM

Can you describe any actions in particular? Or perhaps map and tile sizes used, number of layers and so on?

EqKeeper wrote Feb 16, 2011 at 5:56 PM

Incorrectly expressed. The brakes are not the whole editor, but only a tool and selecting the tiles, which are significantly lagging behind the cursor, resulting in their very difficult and ... unpleasant to use.

Noticed another peculiarity. When running the editor, constantly being exchanged data with the hard drive! Editor at him constantly writing something or reading. Perhaps the problems are related?

Map: 50x50 tiles (32x32pix)
OS: Windows 7 Ultimate x64
CPU: iCore i7

wrote Apr 21, 2011 at 11:16 PM

leonardo2204 wrote Sep 22, 2011 at 6:57 PM

I'm having the very same problem. And I've used different kinds of images (sizes).
After adding them, the lag comes and I have to wait a bunch too.

wrote Sep 22, 2011 at 6:58 PM

colinvella wrote Sep 23, 2011 at 10:03 AM

What is the size of the image and of the tiles you are using?

thomasdjafari wrote Nov 4, 2011 at 5:26 AM

On my side, the editor is always using a LOT of CPU time if there is a map displayed and there are a lot of tiles on screen (when zoomed out for example).
If I take a large map, zoom out and let the editor idle, it will max out one core on the machine, even if no user input is given. Maybe the redraw happens too often.

colinvella wrote Nov 4, 2011 at 10:35 AM

The map rendering in effect runs on a timer, rather than being triggered on refresh or paint events. The reason for this is to have animated tiles rendered regularly.

thomasdjafari wrote Nov 5, 2011 at 6:42 AM

Could this be enabled / disabled through an entry in the view menu? (so that the display is done on paint events instead)
The issue is that the CPU usage is so high on zoomed out maps that the editor becomes barely useable so navigation has to be done with the map zoomed in instead right now.

wrote Nov 19, 2011 at 8:31 PM

ShannaraAK wrote Jul 6, 2012 at 11:08 PM

You can click on a tile and hold down the mouse button to try to fill a layer with a tile. The actual pasting of the tile onto the map is about a tile or two squares behind the cursor

wrote Jan 2, 2013 at 4:22 PM

grisevg wrote Jan 2, 2013 at 4:27 PM

core i7 2ghz
three layers 50x50 tiles
each tile 64x64 pixels, png
3 tile sheets(one per each layer) 6x6 tiles each
screen resolution: 1600x900

very laggy and unpleasant to use even on 100% zoom.
=[

wrote Jan 3, 2013 at 11:14 PM

wrote Feb 22, 2013 at 12:48 AM

wrote Aug 21, 2013 at 11:50 AM