From 2e714aad2247c42e6c4a7e5d34f1d493b6f2e378 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Mon, 26 Mar 2018 00:49:01 +0900 Subject: [PATCH] Updated Web Browsers (markdown) --- Web-Browsers.md | 8 ++++++++ 1 file changed, 8 insertions(+) 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`.