mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
doc: Fix sentences
This commit is contained in:
parent
49fce8b420
commit
97601056f5
@ -21,8 +21,9 @@ pre {
|
|||||||
padding: 1em;
|
padding: 1em;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<a href="https://github.com/hajimehoshi/ebiten"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"></a>
|
||||||
<h1>Ebiten (海老天)</h1>
|
<h1>Ebiten (海老天)</h1>
|
||||||
<p>v{{.StableVersion}}</p>
|
<p>Stable version: v{{.StableVersion}} / Development version: v{{.DevVersion}}</p>
|
||||||
<ul>
|
<ul>
|
||||||
<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
|
||||||
@ -38,7 +39,6 @@ pre {
|
|||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="http://godoc.org/github.com/hajimehoshi/ebiten"><img src="https://godoc.org/github.com/hajimehoshi/ebiten?status.svg" alt="GoDoc Reference"></a></li>
|
<li><a href="http://godoc.org/github.com/hajimehoshi/ebiten"><img src="https://godoc.org/github.com/hajimehoshi/ebiten?status.svg" alt="GoDoc Reference"></a></li>
|
||||||
<li><a href="http://github.com/hajimehoshi/ebiten">GitHub project page</a> (Development version: v{{.DevVersion}})</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h2>Features</h2>
|
<h2>Features</h2>
|
||||||
@ -109,16 +109,17 @@ pre {
|
|||||||
<li>Linux</li>
|
<li>Linux</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>Drawing
|
<li>Graphics
|
||||||
<ul>
|
<ul>
|
||||||
<li>Added CompositeMode to change composite mode (e.g. masking or additive drawing)</li>
|
<li>Added CompositeMode to change composite mode (e.g. masking or additive drawing)</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>Audio
|
<li><a href="https://godoc.org/github.com/hajimehoshi/ebiten/audio">Audio</a>
|
||||||
<ul>
|
<ul>
|
||||||
|
<li>Moved from exp/audio to audio: No more experimental package!</li>
|
||||||
<li>Changed APIs (almost fixed)</li>
|
<li>Changed APIs (almost fixed)</li>
|
||||||
<li>Added exp/audio/vorbis to decode Ogg/Vorbis stream</li>
|
<li>Added <a href="https://godoc.org/github.com/hajimehoshi/ebiten/audio/vorbis">exp/audio/vorbis</a> to decode Ogg/Vorbis stream</li>
|
||||||
<li>Added exp/audio/wav to decode Wav stream</li>
|
<li>Added <a href="https://godoc.org/github.com/hajimehoshi/ebiten/audio/wav">exp/audio/wav</a> to decode Wav stream</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>Others
|
<li>Others
|
||||||
|
@ -114,6 +114,9 @@ func (s *stream) Close() error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func addNote(freq float64, vol float64) error {
|
func addNote(freq float64, vol float64) error {
|
||||||
|
// TODO: Call Close method of *audio.Player.
|
||||||
|
// However, this works without Close because Close is automatically called when GC
|
||||||
|
// collects a *audio.Player object.
|
||||||
f := int(freq)
|
f := int(freq)
|
||||||
if n, ok := noteCache[f]; ok {
|
if n, ok := noteCache[f]; ok {
|
||||||
p, err := audio.NewPlayer(audioContext, &stream{bytes.NewReader(n)})
|
p, err := audio.NewPlayer(audioContext, &stream{bytes.NewReader(n)})
|
||||||
|
@ -35,8 +35,9 @@ pre {
|
|||||||
padding: 1em;
|
padding: 1em;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<a href="https://github.com/hajimehoshi/ebiten"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"></a>
|
||||||
<h1>Ebiten (海老天)</h1>
|
<h1>Ebiten (海老天)</h1>
|
||||||
<p>v1.3.0-alpha</p>
|
<p>Stable version: v1.3.0-alpha / Development version: v1.3.0-alpha</p>
|
||||||
<ul>
|
<ul>
|
||||||
<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
|
||||||
@ -52,7 +53,6 @@ pre {
|
|||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="http://godoc.org/github.com/hajimehoshi/ebiten"><img src="https://godoc.org/github.com/hajimehoshi/ebiten?status.svg" alt="GoDoc Reference"></a></li>
|
<li><a href="http://godoc.org/github.com/hajimehoshi/ebiten"><img src="https://godoc.org/github.com/hajimehoshi/ebiten?status.svg" alt="GoDoc Reference"></a></li>
|
||||||
<li><a href="http://github.com/hajimehoshi/ebiten">GitHub project page</a> (Development version: v1.3.0-alpha)</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h2>Features</h2>
|
<h2>Features</h2>
|
||||||
@ -121,16 +121,17 @@ pre {
|
|||||||
<li>Linux</li>
|
<li>Linux</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>Drawing
|
<li>Graphics
|
||||||
<ul>
|
<ul>
|
||||||
<li>Added CompositeMode to change composite mode (e.g. masking or additive drawing)</li>
|
<li>Added CompositeMode to change composite mode (e.g. masking or additive drawing)</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>Audio
|
<li><a href="https://godoc.org/github.com/hajimehoshi/ebiten/audio">Audio</a>
|
||||||
<ul>
|
<ul>
|
||||||
|
<li>Moved from exp/audio to audio: No more experimental package!</li>
|
||||||
<li>Changed APIs (almost fixed)</li>
|
<li>Changed APIs (almost fixed)</li>
|
||||||
<li>Added exp/audio/vorbis to decode Ogg/Vorbis stream</li>
|
<li>Added <a href="https://godoc.org/github.com/hajimehoshi/ebiten/audio/vorbis">exp/audio/vorbis</a> to decode Ogg/Vorbis stream</li>
|
||||||
<li>Added exp/audio/wav to decode Wav stream</li>
|
<li>Added <a href="https://godoc.org/github.com/hajimehoshi/ebiten/audio/wav">exp/audio/wav</a> to decode Wav stream</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>Others
|
<li>Others
|
||||||
|
Loading…
Reference in New Issue
Block a user