How to fix this map edit issue when drawing objects

quanzhou

Loyal Member
Loyal Member
Aug 21, 2017
16
12
15
I am to export the mir2 map to a PNG file.

when step grid (x, y) has object, I am drawing it at : (x * 48, y * 32 + 32 - image_h)
most of the time it works but it sometimes gives me mis-aligned object, like shown in attachment.

I tried Illusion mapeditor v7 solves it.
what's my error? thanks!
 

Attachments

  • liumian1.png
    liumian1.png
    63.3 KB · Views: 38
  • liumian2.png
    liumian2.png
    63 KB · Views: 35