Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/seleb/better-minimal-webgl-template

The package is quite simple.™
https://github.com/seleb/better-minimal-webgl-template

unity unity-webgl-template webgl

Last synced: about 2 months ago
JSON representation

The package is quite simple.™

Awesome Lists containing this project

README

        

# 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.