Quantcast
Channel: Pixi.js Latest Topics
Viewing all articles
Browse latest Browse all 3978

Alignment Issue with graphics.drawRect()

$
0
0

Hello there! I'm playing around with PixiJS and I'm trying to draw a bunch of 10x10 pixel rectangles with a single graphics object. I'm not sure why, but regardless of the scale, it appears that some of the rectangles are slightly misaligned with what looks like a shadow or black line. Any idea what I can do to fix it?

 graphics.drawRect.png.65b57238f400741422b16b38aefd67c7.png


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>