2D Toolkit Forum

2D Toolkit => Support => Topic started by: Charlemagne on July 12, 2013, 01:04:24 am

Title: Sprites offset and wrapped by one pixel in animation.
Post by: Charlemagne 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
Title: Re: Sprites offset and wrapped by one pixel in animation.
Post by: unikronsoftware on July 12, 2013, 12:39:45 pm
What platform is this on? If its on windows you should use the tk2dCamera