[Solved] How to achieve full resize of game screen in web build?

Hello! I am trying to recreate my Phaser game in Defold, and I am stuck on screen resizing on web.
I will show the difference in the gif
resizeexample

So, I suppose I need to adjust css after exporting the bundle. Am I right? maybe I can find public examples somewhere?

1 Like

I think I found the solution.
This option should be “Stretch”

It’s a bit confusing because I use projection “fixed-fit”

Anyway it works

6 Likes

You game looks very great !:grinning_face:

1 Like

thank you

1 Like

Looks like ya solved it! good job. The Phaser to Defold pipeline is real haha! cheers.

2 Likes