Covacs Posted December 8, 2016 Share Posted December 8, 2016 When i rotate a sprite i dont know why it looks weird. After rotation Before Is this a common bug or just my code? Link to comment Share on other sites More sharing options...
erich Posted December 8, 2016 Share Posted December 8, 2016 does your code have scale used : eg. sprite.scale.setTo(-1,0); that could cause it to reverse Eric Link to comment Share on other sites More sharing options...
Covacs Posted December 8, 2016 Author Share Posted December 8, 2016 yes, i use scale, but still i dont understand why my sprite sees that weird, im not talking about the scale. In the third image sprite looks well but when i rotate it looks so bad like some parts of the sprite are not where they should be. Link to comment Share on other sites More sharing options...
Branlin Posted December 8, 2016 Share Posted December 8, 2016 More info pls Browser, device, Phaser.Game object config Link to comment Share on other sites More sharing options...
Covacs Posted December 9, 2016 Author Share Posted December 9, 2016 12 hours ago, Branlin said: More info pls Browser, device, Phaser.Game object config I already solved it, it was a gui plugin that i used for in main menu called "EZGUI" i dont know why when he calls to draw corners or images for the gui when i start the game that bug happens. I still dont know why this happen, if i use webgl renderer all goes fine, but im working in a gui just using phaser.make.text to "solve" it. Thanks for your reply :). Link to comment Share on other sites More sharing options...
Recommended Posts