defold / editor2-issues

DEPRECATED
44 stars 4 forks source link

Tilemap: Interpolate between mouse positions when painting tiles #2390

Open markusgustavssonking opened 5 years ago

markusgustavssonking commented 5 years ago

When drawing tiles zoomed out and at a moderate speed gaps will appear because tiles are only drawn on the current mouse position (assumption). I think it might be an improvement to interpolate between positions and fill the space between the positions with tiles.

The following image was supposed to be a straight line: screenshot 2019-01-09 at 10 19 32

wyrmling commented 5 years ago

Had the same issue: dots_tilemap

Red dots (tiles) shouldn't have a gaps between them.