Update docs

This commit is contained in:
Hajime Hoshi 2015-01-03 01:24:32 +09:00
parent 62f47ed02f
commit 1df0854193
2 changed files with 10 additions and 0 deletions

View File

@ -26,6 +26,7 @@ table.examples td.code pre {
<li>A simple SNES-like 2D game library in Go</li> <li>A simple SNES-like 2D game library in Go</li>
<li>Works on <li>Works on
<ul> <ul>
<li>HTML5 (powered by <a href="http://gopherjs.org/">GopherJS</a>)
<li>Mac OS X</li> <li>Mac OS X</li>
<li>Linux (maybe)</li> <li>Linux (maybe)</li>
<li>Windows (possibly)</li> <li>Windows (possibly)</li>
@ -57,6 +58,8 @@ table.examples td.code pre {
<pre><code>:; brew install glew <pre><code>:; brew install glew
:; brew install glfw3 # or homebrew/versions/glfw3 :; brew install glfw3 # or homebrew/versions/glfw3
:; go get -u github.com/hajimehoshi/ebiten</code></pre> :; go get -u github.com/hajimehoshi/ebiten</code></pre>
<p>If you want to use GopherJS, execute this:</p>
<pre><code>:; go get -u -tag=js github.com/hajimehoshi/ebiten</code></pre>
<h2>Execute the example</h2> <h2>Execute the example</h2>
<pre><code>:; cd $GOHOME/src/github.com/hajimehoshi/ebiten/example <pre><code>:; cd $GOHOME/src/github.com/hajimehoshi/ebiten/example

View File

@ -4,6 +4,7 @@
* A simple SNES-like 2D game library in Go * A simple SNES-like 2D game library in Go
* Works on * Works on
* HTML5 (powered by [GopherJS](http://gopherjs.org/))
* Mac OS X * Mac OS X
* Linux (maybe) * Linux (maybe)
* Windows (possibly) * Windows (possibly)
@ -31,6 +32,12 @@
:; go get -u github.com/hajimehoshi/ebiten :; go get -u github.com/hajimehoshi/ebiten
``` ```
If you want to use GopherJS, execute this:
```
:; go get -u -tag=js github.com/hajimehoshi/ebiten
```
## Execute the example ## Execute the example
``` ```