Hello Guest

Author Topic: Sprites offset and wrapped by one pixel in animation.  (Read 3620 times)

Charlemagne

  • Newbie
  • *
  • Posts: 2
    • View Profile
Sprites offset and wrapped by one pixel in animation.
« on: July 12, 2013, 01:04:24 am »
I created a sprite collection and made an animation for it, but in the animation the frames are all offset by one pixel, and those pixels wrap around to the other side of the sprite.  Specifically, the left column and bottom row of pixels wrap to the top row and the right column.  I followed the instructions on the user manual for creating animation, and I can't figure out what to do to fix this. 

Bilinear filtering fixes the problem but I want to use point.  That's everything I know about the problem so far. 

EDIT: OK, well my partner just redid the work and fixed the problem almost immediately after this post.  We used this thread as a reference, although we had to completely recreate collection/animation/sprite with a 2DTK camera from scratch for some reason. 

http://unikronsoftware.com/2dtoolkit/forum/index.php?topic=2011.0
« Last Edit: July 12, 2013, 01:08:42 am by Charlemagne »

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Sprites offset and wrapped by one pixel in animation.
« Reply #1 on: July 12, 2013, 12:39:45 pm »
What platform is this on? If its on windows you should use the tk2dCamera