Nikow Posted January 28, 2015 Share Posted January 28, 2015 Hi ! First, sorry for my bad english, i'm french and really not good in english... So, I'm creating a game, with sprites animations on click, all is right with this, but i test it on mobile today and there is a black square at the place of my png sprite, all of the other png are correctly displayed ! I've an other png animated in game wich is not on click event, it works perfectly... i don't understand the prob..? Could u help me please ! ps: If you don't understand anything, i can try to explain better ! Thanks ! Link to comment Share on other sites More sharing options...
rich Posted January 28, 2015 Share Posted January 28, 2015 How large is the PNG file? (I mean dimensions in pixels, not file size). It's possible it's too big for your mobile to be able to load. Link to comment Share on other sites More sharing options...
Nikow Posted January 28, 2015 Author Share Posted January 28, 2015 It's a 7150 x 400px png file, is this too big ? Link to comment Share on other sites More sharing options...
rich Posted January 28, 2015 Share Posted January 28, 2015 Yes. Much too big. Link to comment Share on other sites More sharing options...
Nikow Posted January 28, 2015 Author Share Posted January 28, 2015 OK... So, how can i have a long sprite on mobile ? Multi lines is working ? Thanks ! Link to comment Share on other sites More sharing options...
Nikow Posted January 29, 2015 Author Share Posted January 29, 2015 Up ! Link to comment Share on other sites More sharing options...
rich Posted January 29, 2015 Share Posted January 29, 2015 It depends on your mobile. You'll have to find it out for yourself. Typically no larger than 2048 x 2048. Sometimes even less than this. Link to comment Share on other sites More sharing options...
Nikow Posted January 29, 2015 Author Share Posted January 29, 2015 [...] Thank you. Edit : Solved with multi lines sprites. Link to comment Share on other sites More sharing options...
Recommended Posts