The purpose of this guide is for game makers to export a Beamable Unity project to the target of WebGL.
Beamable integrates with this technology.
The WebGL technology is for cross-platform, royalty-free, 3D graphics in a Web browser within an HTML5 canvas element.
- Features cross-browser and cross-platform compatibility
- Tight integration with HTML content
- Hardware-accelerated 3D graphics
- Not every Unity feature works with WebGL. See Unity's WebGL docs for more info
Follow these steps to get started. This process will export a Beamable Unity project to the target of WebGL.
• Unity → File → Build Settings → WebGL
Note: Not every Unity feature works with WebGL. See Unity's WebGL docs for more info
• Resolve errors
There are many solution paths to share the WebGL build. The steps below cover one solution path.
Here are steps to host the files on Github. This is quick and useful during development, but not likely appropriate for production.
• Unity → Edit → Project Settings... → Player
• See Step 1. Create WebGL Build above for more info
Note: See GitHub's Pages Docs for more info
• See Results below
Here is the resulting Unity WebGL output. It is fully interactive and running within the HTML page.
Here is a partial list of Beamable feature pages which demonstrate WebGL embeds.
Allow player to manage leaderboard
This section contains any advanced configuration options and workflows.
Updated about 2 months ago