All Projects → seleb → Better-Minimal-WebGL-Template

seleb / Better-Minimal-WebGL-Template

Licence: MIT License
The package is quite simple.™

Programming Languages

HTML
75241 projects

Better-Minimal-WebGL-Template

Minimal WebGL build template.

Features

  • Scales canvas to fit the window horizontally + vertically while maintaining aspect ratio (can be disabled)
  • Centers canvas in window
  • Customizable background

To use

  1. Download and unzip
  2. Copy the WebGLTemplates folder into your project's Assets folder
  3. File -> Build Settings... -> WebGL -> Player Settings... -> Select the BetterMinimal template
  4. (Optional) Customize colour in the Background field; enter false in the Scale to fit field to disable scaling

Ideal for embedding on sites like itch.io which provide an external full-screen button.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].