mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
Updated WebAssembly (markdown)
parent
c1dc8e261b
commit
1337c83697
@ -1,4 +1,4 @@
|
|||||||
The easiest way is to use [WasmServe](https://github.com/hajimehoshi/wasmserve) with the latest Go.
|
The easiest way is to Dave's awesome [wasmgo](https://github.com/dave/wasmgo)
|
||||||
|
|
||||||
This article introduces a regular way to build an Ebiten app as a WebAssembly port.
|
This article introduces a regular way to build an Ebiten app as a WebAssembly port.
|
||||||
|
|
||||||
@ -7,7 +7,11 @@ This article introduces a regular way to build an Ebiten app as a WebAssembly po
|
|||||||
* Go 1.11
|
* Go 1.11
|
||||||
* Ebiten master branch (1.8.0-alpha.0.XXX) / 2.0.0-alpha
|
* Ebiten master branch (1.8.0-alpha.0.XXX) / 2.0.0-alpha
|
||||||
|
|
||||||
# Option 1. WasmServe
|
# Option 1. WasmGo
|
||||||
|
|
||||||
|
Upload your package via wasmgo. See https://github.com/dave/wasmgo
|
||||||
|
|
||||||
|
# Option 2. WasmServe
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
go get github.com/hajimehoshi/wasmserve
|
go get github.com/hajimehoshi/wasmserve
|
||||||
@ -17,7 +21,7 @@ wasmserve
|
|||||||
|
|
||||||
Then access `http://localhost:8080/`.
|
Then access `http://localhost:8080/`.
|
||||||
|
|
||||||
# Option 2. Regular
|
# Option 3. Regular
|
||||||
|
|
||||||
## Compile your game
|
## Compile your game
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user