Quecken Posted March 5, 2015 Share Posted March 5, 2015 Hi, I'm well on my way to completing my first game with Phaser, but I have a small problem with my background image. The problem is that it's using gradients, and it will not show up in the game, only a small part of it (which ignores the gradients). I'm importing a json-file from Tiled which has a layer called "background", and that background has a big blue gradient png-image (tile) which acts as the background image. Now, when I import it to my game in Phaser everything looks great, EXCEPT for the background layer. It just shows a small strip of it at the bottom, and it's not even gradient. Everything else is just black. What should I do to make it work? I have tried adding just a standard image and preloading it in my main js-file, but then the image is just flat blue, without gradients. Even though the image I'm using is gradient. I've also tried cleaning my cache and all that. Thank you very much for all the help you can provide. Link to comment Share on other sites More sharing options...
Quecken Posted March 9, 2015 Author Share Posted March 9, 2015 Bump. I would really appreciate some help here. I've done some further testing, but nothing makes it work. Link to comment Share on other sites More sharing options...
Recommended Posts