I'm sorry for the stupid question.
I have a screen resolution for example 1920x1080 and I'm placing my sprite on 0,0. How can I resize this sprite to cover exactly all screen?
Sorry for English.
If you really need a sprite,for what you are doing,size it to you screen size,then go into the image editor,and set the origin to the top left...
But a tiled background maybe better for you and it defaults to top left origin.
Develop games in your browser. Powerful, performant & highly capable.
Thanks, but when I resize it to my screen size (WindowWidth, WindowHeight), It is greater than screen, and it is not good for me.