Minimal WebGL build template.
- Scales canvas to fit the window horizontally + vertically while maintaining aspect ratio (can be disabled)
- Centers canvas in window
- Customizable background
- Download and unzip
- Copy the
WebGLTemplates
folder into your project'sAssets
folder - File -> Build Settings... -> WebGL -> Player Settings... -> Select the
BetterMinimal
template - (Optional) Customize colour in the
Background
field; enterfalse
in theScale to fit
field to disable scaling
Ideal for embedding on sites like itch.io which provide an external full-screen button.