Hello Guest

Author Topic: Weird problem with sprites during gameplay..  (Read 2962 times)

lrojas94

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 10
    • View Profile
Weird problem with sprites during gameplay..
« on: May 04, 2014, 04:27:40 pm »
Hi!
I've run intro a weird problem while working with 2dTK. During gameplay, sprites seem to take part of another sprite used in the atlas. In the examples bellow (the UI and the main Player), if you watch it from up close, you can see that a line appears (a black line next to the player head and a whitish line next to the UI as well as a black one in the top of it). I'm not sure what would be causing this problem.. but I believe it may be because of a problem with the Json or XML used to read the data from the Atlases.... Though I'm just guessing... would live to hear any ideas and maybe how to solve it :/... I don't want to release my game like that..

Images:
http://prntscr.com/3fvyul
http://prntscr.com/3fvz2t

NOTE: I increased the size of the player picture so that the line would be seen...
NOTE2: This was on private support, but after reading a post about wheather a post should be on private or standard support I noticed that this one helps a bit more here.

Thanks a lot... hope to hear from you soon ^^.

lrojas94

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Weird problem with sprites during gameplay..
« Reply #1 on: May 05, 2014, 12:10:18 am »
NVM this, solved by adding some padding... did not see that option before :P