mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-02-07 00:14:28 +01:00
Updated Web Browsers (markdown)
parent
e3d70d50e5
commit
2e714aad22
@ -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.
|
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`.
|
||||||
|
Loading…
Reference in New Issue
Block a user