c# - XNA sprite loses pixels on a very pixelated image -


so may bit vague, i'm having issues. basically, drawing little ninja sprite (16x16px) , on 2 frames of animation, loses pixels on headband. have looked everywhere in attempt find answer, no avail.

original sprite sheet (bugged frames 4th row, 3rd , 4th frames):

enter image description here

enter image description here

after little more investigation, seems bugged pixels due width of sprite sheet. seems random pixels messed depending on width. however, constant width, messed pixels constant regardless of creating new build or using old one.

as can see, of headband missing pixels. while may not game changing, annoying , if knows of fix, that'd great! guys!

so workaround found changing size of rectangle used display image. set 100, setting 99 works , there barely visual difference.


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -