Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Vordas

Pages: [1]
1
Support / Weird rendering on sprite when I rotate on y-axis - Please Help
« on: December 03, 2014, 11:36:25 am »
Hi, I just start working with 2D Toolkit and I need to say that it's great tool for 2D games. I just start to devoloping new 2D game for Android market but I have one issue. I mean to create 2D Memory MatchUp game. So I have cover sprite and card sprite which is child of cover sprite. On both sprites is atlas texture from 2D Toolkit and one material on both sprites. On material I set shader like is on defult "tk2d/PremulVertexColor". My problem is when I rotate cover sprite in inspector panel on y-axis I get weird rotation and also when I animate rotation with animation view on y-axis. Rotation is not 3D it's like spin out. To see what I mean see image:
https://www.dropbox.com/s/2j7ggz2ft999m8z/2DToolkit_Rotation-Problem.png?dl=0

It's weird rendering in game view when I rotate cover sprite which is on top-right corner in scene view.

Please can I solve this problem and how do I solve it? I was trying to solve by changing shaders and I was trying them all but still nothing changes. I build game for web player so you can see how sprite weird rendering when it's rotating on y-axis: https://googledrive.com/host/0B5uli9YhlHZxQmlpQWhlMm1wcGM

Pages: [1]