JavaScript How to stretch tileSprite to fullscreen in Phaser?

So, the question is: How to stretch tileSprite to fullscreen ?

planetSprite = game.add.tileSprite(0, 0, game.width + 500, game.height + 900, planetObject.key + 'Planet');
// planetSprite.anchor.setTo(0, 0);
planetSprite.scale.set(0.75, 0.6);
planetSprite.fixedToCamera = true;

and here I have a problem: it looks ok on my screen, but on bigger one this tileSprite is repeated and also it's not stretched to fullScreen on bigger screens

image is attached enter image description here

Thank you in advance, guys !!

Answer:1

I am using codemirror autocomplete demo. It shows some javascript keywords such as application cache,defaultStatus and framenet and many more suggestions. I want it to display my keywords as ...

I am using codemirror autocomplete demo. It shows some javascript keywords such as application cache,defaultStatus and framenet and many more suggestions. I want it to display my keywords as ...

  1. codemirror autocomplete suggestions
  2. codemirror autocomplete

So, I'm building a map of water taking permits in Toronto. Work in progress available here: http://pennybeames.net/maps/PermitsTO.html I'm using L.mapbox.featureLayer to add my markers: var ...

So, I'm building a map of water taking permits in Toronto. Work in progress available here: http://pennybeames.net/maps/PermitsTO.html I'm using L.mapbox.featureLayer to add my markers: var ...

  1. canvas
  2. canada
  3. cancelled
  4. canceled vs cancelled
  5. canada vaccines
  6. canada goose
  7. cane corso
  8. canes
  9. canadian prime minister
  10. cancun flights
  11. canker sore
  12. candy
  13. cancer
  14. cancun
  15. canon
  16. canvas prints
  17. cancer sign
  18. candace owens
  19. canada news
  20. candytopia

According to Wikipedia most browsers use RFC6455 or a slightly earlier version with an almost identical handshake. The server I'm using only supports RFC6455 or similar, where it accepts Origin: or ...

According to Wikipedia most browsers use RFC6455 or a slightly earlier version with an almost identical handshake. The server I'm using only supports RFC6455 or similar, where it accepts Origin: or ...

I have a string that's structured as so: "http://mydomain.com/?i=0" I'd like to be able to change the value of i using a regular expression in javascript but I'm not sure how to do it. Is anyone ...

I have a string that's structured as so: "http://mydomain.com/?i=0" I'd like to be able to change the value of i using a regular expression in javascript but I'm not sure how to do it. Is anyone ...

  1. change this value javascript
  2. change this value jquery
  3. change this value
  4. ng-change this value
  5. change this.props value
  6. vue change this value
  7. js change this value
  8. angular change this value
  9. change value of input jquery
  10. change value in dictionary python
  11. change value sql
  12. change value in dataframe
  13. change value in pandas dataframe
  14. change value of input javascript
  15. change value in list python
  16. change value in hashmap java
  17. change value in array javascript
  18. change value in r
  19. change value of key in dictionary python
  20. change value select jquery