diff --git a/Web-Browsers.md b/Web-Browsers.md index 308bd8e..929da7d 100644 --- a/Web-Browsers.md +++ b/Web-Browsers.md @@ -28,3 +28,11 @@ document.getElementsByTagName("canvas")[0].getContext("webgl").getExtension('WEB ``` Note that Ebiten automatically restores images on desktop browsers when the context is lost. This restoring doesn't work on mobile browsers for a performance reason. + +# Run examples on browsers + +``` +gopherjs serve --tags=example +``` + +And access to `http://127.0.0.1:8080/github.com/hajimehoshi/ebiten/examples/blocks`.