If Tile already have rotation (not equal zero) then changing its rotation couse problem (seems as it fliped)
star = new Tile(tid);
tilemap.addTile(star);
star.x = 500;
star.y = 500;
star.rotation = 0;
it’s zero rotation
star = new Tile(tid);
tilemap.addTile(star);
star.x = 500;
star.y = 500;
star.rotation = 0;
star.rotation = 10;
change rotation from 0 to 10 - ok
star = new Tile(tid);
tilemap.addTile(star);
star.x = 500;
star.y = 500;
star.rotation = 0;
star.rotation = 10;
star.rotation = 20;
change rotation from 10 to 20 - Ooops… wtf?
lime: [3.6.1]
openfl: [4.5.3]
target - html5, -Dwebgl