mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
doc: Update descriptions
This commit is contained in:
parent
ef4828669c
commit
805b637a18
@ -147,9 +147,12 @@ func (e *example) Height() int {
|
||||
return e.ThumbHeight() * 2
|
||||
}
|
||||
|
||||
const commentForBlocks = `// Please read examples/blocks/main.go and examples/blocks/blocks/*.go
|
||||
// NOTE: If Gamepad API is available in your browswer, you can use gamepads. Try it out!`
|
||||
|
||||
func (e *example) Source() string {
|
||||
if e.Name == "blocks" {
|
||||
return "// Please read examples/blocks/main.go and examples/blocks/blocks/*.go"
|
||||
return commentForBlocks
|
||||
}
|
||||
|
||||
path := filepath.Join(os.Getenv("GOPATH"), "src", "github.com", "hajimehoshi", "ebiten", "examples", e.Name, "main.go")
|
||||
|
@ -77,8 +77,8 @@ pre {
|
||||
|
||||
<h2>Apps created with Ebiten</h2>
|
||||
<ul>
|
||||
<li><a href="https://github.com/hajimehoshi/go-inovation5">go-inovation5</a> by Hajime Hoshi</li>
|
||||
<li><a href="https://github.com/peterhellberg/plasma">Plasma</a> by Peter Hellberg</li>
|
||||
<li><a href="https://github.com/hajimehoshi/go-inovation5">go-inovation5</a> by Hajime Hoshi</li>
|
||||
<li><a href="https://github.com/martinkirsche/wired-logic">Wired Logic</a> by Martin Kirsche</li>
|
||||
</ul>
|
||||
|
||||
@ -87,21 +87,23 @@ pre {
|
||||
<ul>
|
||||
<li>v1.2.0-rc1 released.
|
||||
<ul>
|
||||
<li>Support for gamepads</li>
|
||||
<li>Support for touch events</li>
|
||||
<li>Add new functions for image rendering:
|
||||
<li>Added support for gamepads on desktops and browsers</li>
|
||||
<li>Added support for touch events on browsers</li>
|
||||
<li>Added new functions for image rendering:
|
||||
<ul>
|
||||
<li>Image.ReplacePixels</li>
|
||||
<li>GeoM.Rotate</li>
|
||||
<li>ColorM.RotateHue</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Add some experimental packages:
|
||||
<li>Added some experimental packages:
|
||||
<ul>
|
||||
<li>exp/audio: Play music and sound</li>
|
||||
<li>exp/gamepad: Useful functions to configure gamepads</li>
|
||||
<li>These packages are experimental and we don't guarantee backward compatibility.</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Deprecate some APIs
|
||||
<li>Deprecated some APIs:
|
||||
<ul>
|
||||
<li>TranslateGeo (Use GeoM's Translate instead)</li>
|
||||
<li>ScaleGeo (Use GoeM's Scale instead)</li>
|
||||
@ -111,7 +113,8 @@ pre {
|
||||
<li>RotateHue (Use ColorM's RotateHue instead)</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Some bug fix.</li>
|
||||
<li>Fixed some bugs</li>
|
||||
<li>Performance optimization</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -36,7 +36,8 @@ pre {
|
||||
|
||||
<h1>Ebiten example - blocks</h1>
|
||||
<iframe src="blocks.content.html" width="512" height="480"></iframe>
|
||||
<pre><code>// Please read examples/blocks/main.go and examples/blocks/blocks/*.go</code></pre>
|
||||
<pre><code>// Please read examples/blocks/main.go and examples/blocks/blocks/*.go
|
||||
// NOTE: If Gamepad API is available in your browswer, you can use gamepads. Try it out!</code></pre>
|
||||
|
||||
|
||||
<footer>© 2014 Hajime Hoshi</footer>
|
||||
|
@ -111,8 +111,8 @@ pre {
|
||||
|
||||
<h2>Apps created with Ebiten</h2>
|
||||
<ul>
|
||||
<li><a href="https://github.com/hajimehoshi/go-inovation5">go-inovation5</a> by Hajime Hoshi</li>
|
||||
<li><a href="https://github.com/peterhellberg/plasma">Plasma</a> by Peter Hellberg</li>
|
||||
<li><a href="https://github.com/hajimehoshi/go-inovation5">go-inovation5</a> by Hajime Hoshi</li>
|
||||
<li><a href="https://github.com/martinkirsche/wired-logic">Wired Logic</a> by Martin Kirsche</li>
|
||||
</ul>
|
||||
|
||||
@ -121,21 +121,23 @@ pre {
|
||||
<ul>
|
||||
<li>v1.2.0-rc1 released.
|
||||
<ul>
|
||||
<li>Support for gamepads</li>
|
||||
<li>Support for touch events</li>
|
||||
<li>Add new functions for image rendering:
|
||||
<li>Added support for gamepads on desktops and browsers</li>
|
||||
<li>Added support for touch events on browsers</li>
|
||||
<li>Added new functions for image rendering:
|
||||
<ul>
|
||||
<li>Image.ReplacePixels</li>
|
||||
<li>GeoM.Rotate</li>
|
||||
<li>ColorM.RotateHue</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Add some experimental packages:
|
||||
<li>Added some experimental packages:
|
||||
<ul>
|
||||
<li>exp/audio: Play music and sound</li>
|
||||
<li>exp/gamepad: Useful functions to configure gamepads</li>
|
||||
<li>These packages are experimental and we don't guarantee backward compatibility.</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Deprecate some APIs
|
||||
<li>Deprecated some APIs:
|
||||
<ul>
|
||||
<li>TranslateGeo (Use GeoM's Translate instead)</li>
|
||||
<li>ScaleGeo (Use GoeM's Scale instead)</li>
|
||||
@ -145,7 +147,8 @@ pre {
|
||||
<li>RotateHue (Use ColorM's RotateHue instead)</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Some bug fix.</li>
|
||||
<li>Fixed some bugs</li>
|
||||
<li>Performance optimization</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
Loading…
Reference in New Issue
Block a user