docs: Move the website to ebiten.org
@ -1,18 +0,0 @@
|
||||
# How to generate the doc
|
||||
|
||||
`go generate .`
|
||||
|
||||
# How to run HTTP server
|
||||
|
||||
`go run server/main.go`
|
||||
|
||||
# How to update the version
|
||||
|
||||
0. Check all example work on all platforms
|
||||
1. Create a new branch from master branch with a version name like 1.2
|
||||
2. In the new branch:
|
||||
1. Update version.txt like 1.2.0
|
||||
2. Add tag like v1.2.0
|
||||
3. In master branch:
|
||||
1. Update version.txt in the master branch like 1.3.0-alpha
|
||||
2. Deploy the doc with `go generate`
|
@ -1,41 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:image" itemprop="image primaryImageOfPage" content="{{.URL}}images/examples/{{.Example.Name}}.png">
|
||||
<meta name="description" content="Ebiten example - {{.Example.Name}}">
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - {{.Example.Name}}</title>
|
||||
|
||||
<link rel="stylesheet" href="../stylesheets/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="../stylesheets/highlight-github.css">
|
||||
<link rel="stylesheet" href="../stylesheets/ebiten.css">
|
||||
<script src="../scripts/googleanalytics.js"></script>
|
||||
|
||||
<nav class="navbar"><div class="container">
|
||||
<nav class="d-flex flex-row" style="width: 100%;">
|
||||
<div class="nav mr-auto"><a class="navbar-brand" href="../"><img src="../images/logo_white.svg" alt="EBITEN"></a></div>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">API Document</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki/Cheat-Sheet">Cheat Sheet</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a>
|
||||
</ul>
|
||||
</nav>
|
||||
</div></nav>
|
||||
|
||||
<main><div class="container">
|
||||
{{with .Example}}
|
||||
<h2>Ebiten example - {{.Name}}</h2>
|
||||
<iframe src="https://jsgo.io/github.com/hajimehoshi/ebiten/examples/{{.Name}}" width="{{.Width}}" height="{{.Height}}" allow="autoplay"></iframe>
|
||||
<p><a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/{{.Name}}">Go Playground page</a></p>
|
||||
{{end}}
|
||||
</div></main>
|
||||
|
||||
<footer><div class="container">
|
||||
<p>{{.Copyright}}</p>
|
||||
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">the Apache License 2.0</a>.</p>
|
||||
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
|
||||
</div></footer>
|
||||
|
||||
<script src="../scripts/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
330
_docs/gen.go
@ -1,330 +0,0 @@
|
||||
// Copyright 2014 Hajime Hoshi
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// +build ignore
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"html/template"
|
||||
"log"
|
||||
"os"
|
||||
"os/exec"
|
||||
"path/filepath"
|
||||
"regexp"
|
||||
"sort"
|
||||
"strconv"
|
||||
"strings"
|
||||
"sync"
|
||||
)
|
||||
|
||||
const (
|
||||
url = "https://hajimehoshi.github.io/ebiten/"
|
||||
licenseYear = 2013
|
||||
)
|
||||
|
||||
var (
|
||||
examplesDir = filepath.Join("public", "examples")
|
||||
copyright = fmt.Sprintf("© %d Hajime Hoshi", licenseYear)
|
||||
|
||||
stableVersion = ""
|
||||
rcVersion = ""
|
||||
devVersion = ""
|
||||
)
|
||||
|
||||
func majorMinor(ver string) string {
|
||||
t := strings.Split(ver, ".")
|
||||
return t[0] + "." + t[1]
|
||||
}
|
||||
|
||||
// reSemVer indicates the regexp for semantic versioning (https://semver.org/)
|
||||
//
|
||||
// reSemVer ignores periods in pre-release version so far.
|
||||
var reSemVer = regexp.MustCompile(`^v(\d+)\.(\d+)\.(\d+)(-[0-9a-zA-Z-]+)?$`)
|
||||
|
||||
func mustAtoi(str string) int {
|
||||
v, err := strconv.Atoi(str)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
return v
|
||||
}
|
||||
|
||||
func init() {
|
||||
b, err := exec.Command("git", "tag").Output()
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
vers := strings.Split(strings.TrimSpace(string(b)), "\n")
|
||||
sort.Slice(vers, func(a, b int) bool {
|
||||
ma := reSemVer.FindStringSubmatch(vers[a])
|
||||
mb := reSemVer.FindStringSubmatch(vers[b])
|
||||
|
||||
if majorA, majorB := mustAtoi(ma[1]), mustAtoi(mb[1]); majorA != majorB {
|
||||
return majorA < majorB
|
||||
}
|
||||
if minorA, minorB := mustAtoi(ma[2]), mustAtoi(mb[2]); minorA != minorB {
|
||||
return minorA < minorB
|
||||
}
|
||||
if patchA, patchB := mustAtoi(ma[3]), mustAtoi(mb[3]); patchA != patchB {
|
||||
return patchA < patchB
|
||||
}
|
||||
if len(ma) == 4 {
|
||||
return false
|
||||
}
|
||||
if len(mb) == 4 {
|
||||
return true
|
||||
}
|
||||
|
||||
// To be exact, sorting pre-release tokens must consider numerics identifiers, but we ignore this
|
||||
// here. See https://semver.org/#spec-item-11
|
||||
preA, preB := ma[4], mb[4]
|
||||
return preA < preB
|
||||
})
|
||||
|
||||
devVers := []string{}
|
||||
rcVers := []string{}
|
||||
stableVers := []string{}
|
||||
for _, ver := range vers {
|
||||
if strings.Index(ver, "-rc") != -1 {
|
||||
rcVers = append(rcVers, ver)
|
||||
continue
|
||||
}
|
||||
if strings.Index(ver, "-") != -1 {
|
||||
devVers = append(devVers, ver)
|
||||
continue
|
||||
}
|
||||
stableVers = append(stableVers, ver)
|
||||
}
|
||||
|
||||
stableVersion = stableVers[len(stableVers)-1]
|
||||
rcVersion = rcVers[len(rcVers)-1]
|
||||
if majorMinor(rcVersion[:strings.Index(rcVersion, "-")]) == majorMinor(stableVersion) {
|
||||
rcVersion = ""
|
||||
}
|
||||
devVersion = devVers[len(devVers)-1]
|
||||
}
|
||||
|
||||
func comment(text string) template.HTML {
|
||||
// http://www.w3.org/TR/html-markup/syntax.html#comments
|
||||
// The text part of comments has the following restrictions:
|
||||
// * must not start with a ">" character
|
||||
// * must not start with the string "->"
|
||||
// * must not contain the string "--"
|
||||
// * must not end with a "-" character
|
||||
|
||||
for strings.HasPrefix(text, ">") {
|
||||
text = text[1:]
|
||||
}
|
||||
for strings.HasPrefix(text, "->") {
|
||||
text = text[2:]
|
||||
}
|
||||
text = strings.Replace(text, "--", "", -1)
|
||||
for strings.HasSuffix(text, "-") {
|
||||
text = text[:len(text)-1]
|
||||
}
|
||||
return template.HTML("<!--\n" + text + "\n-->")
|
||||
}
|
||||
|
||||
func safeHTML(text string) template.HTML {
|
||||
return template.HTML(text)
|
||||
}
|
||||
|
||||
type example struct {
|
||||
Name string
|
||||
ThumbWidth int
|
||||
ThumbHeight int
|
||||
ScreenWidth int
|
||||
ScreenHeight int
|
||||
}
|
||||
|
||||
func (e *example) Width() int {
|
||||
if e.ScreenWidth == 0 {
|
||||
return e.ThumbWidth * 2
|
||||
}
|
||||
return e.ScreenWidth
|
||||
}
|
||||
|
||||
func (e *example) Height() int {
|
||||
if e.ScreenHeight == 0 {
|
||||
return e.ThumbHeight * 2
|
||||
}
|
||||
return e.ScreenHeight
|
||||
}
|
||||
|
||||
var (
|
||||
gamesExamples = []example{
|
||||
{Name: "2048", ThumbWidth: 420, ThumbHeight: 315, ScreenWidth: 420, ScreenHeight: 600},
|
||||
{Name: "blocks", ThumbWidth: 256, ThumbHeight: 192, ScreenWidth: 512, ScreenHeight: 480},
|
||||
{Name: "flappy", ThumbWidth: 320, ThumbHeight: 240},
|
||||
}
|
||||
graphicsExamples = []example{
|
||||
{Name: "airship", ThumbWidth: 320, ThumbHeight: 240},
|
||||
{Name: "animation", ThumbWidth: 320, ThumbHeight: 240},
|
||||
{Name: "blur", ThumbWidth: 320, ThumbHeight: 240},
|
||||
{Name: "drag", ThumbWidth: 320, ThumbHeight: 240},
|
||||
{Name: "filter", ThumbWidth: 320, ThumbHeight: 240},
|
||||
{Name: "flood", ThumbWidth: 320, ThumbHeight: 240},
|
||||
{Name: "font", ThumbWidth: 320, ThumbHeight: 240},
|
||||
{Name: "highdpi", ThumbWidth: 320, ThumbHeight: 240},
|
||||
{Name: "hsv", ThumbWidth: 320, ThumbHeight: 240},
|
||||
{Name: "infinitescroll", ThumbWidth: 320, ThumbHeight: 240},
|
||||
{Name: "life", ThumbWidth: 320, ThumbHeight: 240},
|
||||
{Name: "mandelbrot", ThumbWidth: 320, ThumbHeight: 320, ScreenWidth: 640, ScreenHeight: 640},
|
||||
{Name: "masking", ThumbWidth: 320, ThumbHeight: 240},
|
||||
{Name: "mosaic", ThumbWidth: 320, ThumbHeight: 240},
|
||||
{Name: "noise", ThumbWidth: 320, ThumbHeight: 240},
|
||||
{Name: "paint", ThumbWidth: 320, ThumbHeight: 240},
|
||||
{Name: "particles", ThumbWidth: 320, ThumbHeight: 240},
|
||||
{Name: "perspective", ThumbWidth: 320, ThumbHeight: 240},
|
||||
{Name: "polygons", ThumbWidth: 320, ThumbHeight: 240},
|
||||
{Name: "raycasting", ThumbWidth: 320, ThumbHeight: 240, ScreenWidth: 480, ScreenHeight: 480},
|
||||
{Name: "sprites", ThumbWidth: 320, ThumbHeight: 240},
|
||||
{Name: "tiles", ThumbWidth: 320, ThumbHeight: 240, ScreenWidth: 480, ScreenHeight: 480},
|
||||
}
|
||||
inputExamples = []example{
|
||||
{Name: "gamepad", ThumbWidth: 320, ThumbHeight: 240},
|
||||
{Name: "keyboard", ThumbWidth: 320, ThumbHeight: 240},
|
||||
{Name: "typewriter", ThumbWidth: 320, ThumbHeight: 240},
|
||||
{Name: "wheel", ThumbWidth: 320, ThumbHeight: 240},
|
||||
}
|
||||
audioExamples = []example{
|
||||
{Name: "audio", ThumbWidth: 320, ThumbHeight: 240},
|
||||
{Name: "piano", ThumbWidth: 320, ThumbHeight: 240},
|
||||
{Name: "sinewave", ThumbWidth: 320, ThumbHeight: 240},
|
||||
}
|
||||
)
|
||||
|
||||
func clear() error {
|
||||
if err := filepath.Walk("public", func(path string, info os.FileInfo, err error) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if m, _ := regexp.MatchString("~$", path); m {
|
||||
return nil
|
||||
}
|
||||
// Remove auto-generated html files.
|
||||
m, err := regexp.MatchString(".html$", path)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if m {
|
||||
return os.Remove(path)
|
||||
}
|
||||
return nil
|
||||
}); err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func outputMain() error {
|
||||
f, err := os.Create("public/index.html")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
defer f.Close()
|
||||
|
||||
funcs := template.FuncMap{
|
||||
"comment": comment,
|
||||
"safeHTML": safeHTML,
|
||||
}
|
||||
const templatePath = "index.tmpl.html"
|
||||
name := filepath.Base(templatePath)
|
||||
t, err := template.New(name).Funcs(funcs).ParseFiles(templatePath)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
data := map[string]interface{}{
|
||||
"URL": url,
|
||||
"Copyright": copyright,
|
||||
"StableVersion": stableVersion,
|
||||
"RCVersion": rcVersion,
|
||||
"DevVersion": devVersion,
|
||||
"GraphicsExamples": graphicsExamples,
|
||||
"InputExamples": inputExamples,
|
||||
"AudioExamples": audioExamples,
|
||||
"GamesExamples": gamesExamples,
|
||||
}
|
||||
return t.Funcs(funcs).Execute(f, data)
|
||||
}
|
||||
|
||||
func createExamplesDir() error {
|
||||
if err := os.RemoveAll(examplesDir); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := os.MkdirAll(examplesDir, 0755); err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func outputExample(e *example) error {
|
||||
f, err := os.Create(filepath.Join(examplesDir, e.Name+".html"))
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
defer f.Close()
|
||||
|
||||
funcs := template.FuncMap{
|
||||
"comment": comment,
|
||||
"safeHTML": safeHTML,
|
||||
}
|
||||
const templatePath = "example.tmpl.html"
|
||||
name := filepath.Base(templatePath)
|
||||
t, err := template.New(name).Funcs(funcs).ParseFiles(templatePath)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
data := map[string]interface{}{
|
||||
"URL": url,
|
||||
"Copyright": copyright,
|
||||
"Example": e,
|
||||
}
|
||||
return t.Funcs(funcs).Execute(f, data)
|
||||
}
|
||||
|
||||
func main() {
|
||||
if err := clear(); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
if err := outputMain(); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
if err := createExamplesDir(); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
examples := []example{}
|
||||
examples = append(examples, graphicsExamples...)
|
||||
examples = append(examples, inputExamples...)
|
||||
examples = append(examples, audioExamples...)
|
||||
examples = append(examples, gamesExamples...)
|
||||
|
||||
wg := sync.WaitGroup{}
|
||||
for _, e := range examples {
|
||||
e := e
|
||||
wg.Add(1)
|
||||
go func() {
|
||||
defer wg.Done()
|
||||
if err := outputExample(&e); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
}()
|
||||
}
|
||||
wg.Wait()
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
// Copyright 2014 Hajime Hoshi
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package docs
|
||||
|
||||
//go:generate go run gen.go
|
@ -1,160 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:image" itemprop="image primaryImageOfPage" content="{{.URL}}images/logo.png">
|
||||
<meta name="description" content="Ebiten - A dead simple 2D game library in Go">
|
||||
<link rel="shortcut icon" href="./favicon.png" type="image/png">
|
||||
<link rel="icon" href="./favicon.png" type="image/png">
|
||||
<title>Ebiten - A dead simple 2D game library in Go</title>
|
||||
|
||||
<link rel="stylesheet" href="./stylesheets/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="./stylesheets/highlight-github.css">
|
||||
<link rel="stylesheet" href="./stylesheets/ebiten.css">
|
||||
<script src="./scripts/googleanalytics.js"></script>
|
||||
|
||||
<nav class="navbar"><div class="container">
|
||||
<div class="d-flex flex-row" style="width: 100%;">
|
||||
<div class="nav mr-auto"><a class="navbar-brand" href="./"><img src="images/logo_white.svg" alt="EBITEN"></a></div>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">API Document</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki/Cheat-Sheet">Cheat Sheet</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div></nav>
|
||||
|
||||
<header class="jumbotron jumbotron-fluid"><div class="container text-center">
|
||||
<h1><img src="images/logo.svg" alt="EBITEN" style="width: 165px; height: 181.5px;"></h1>
|
||||
<p class="lead">A dead simple 2D game library in Go</p>
|
||||
</div></header>
|
||||
|
||||
<main><div class="container">
|
||||
<dl class="row">
|
||||
<dt class="col-3 text-right">Stable Version</dt>
|
||||
<dd class="col-9">{{.StableVersion}}</dd>
|
||||
{{if .RCVersion}}
|
||||
<dt class="col-3 text-right">Release Candidate Version</dt>
|
||||
<dd class="col-9">{{.RCVersion}}</dd>
|
||||
{{end}}
|
||||
<dt class="col-3 text-right">Development Version</dt>
|
||||
<dd class="col-9">{{.DevVersion}}</dd>
|
||||
</dl>
|
||||
|
||||
<h2>Featured Projects</h2>
|
||||
<div class="row">
|
||||
<div class="col-3">
|
||||
<a href="https://daigostudio.com/bearsrestaurant/"><img src="images/projects/bears_restaurant.png" width="960" height="960" alt="Bear's Restaurant" class="img-thumbnail"></a>
|
||||
</div>
|
||||
<div class="col-3">
|
||||
<a href="http://blockbros.net/bluebird/"><img src="images/projects/bluebird_of_happiness.png" width="540" height="540" alt="Bluebird of Happiness" class="img-thumbnail"></a>
|
||||
</div>
|
||||
<div class="col-3">
|
||||
<a href="http://blockbros.net/tsugunai/"><img src="images/projects/clock_of_atonement.png" width="480" height="480" alt="Clock of Atonement" class="img-thumbnail"></a>
|
||||
</div>
|
||||
<div class="col-3">
|
||||
<a href="https://github.com/hajimehoshi/go-inovation"><img src="images/projects/inovation.png" width="1024" height="500" alt="Inovation 2007" class="img-thumbnail"></a>
|
||||
</div>
|
||||
</div>
|
||||
<p><a href="https://github.com/hajimehoshi/ebiten/wiki/Works">Find more nice works with Ebiten!</a></p>
|
||||
|
||||
<h2>Game Examples</h2>
|
||||
<div class="row">
|
||||
{{range .GamesExamples -}}
|
||||
<div class="col-3">
|
||||
<a href="./examples/{{.Name}}.html"><img src="images/examples/{{.Name}}.png" width="{{.ThumbWidth}}" height="{{.ThumbHeight}}" alt="Ebiten example: {{.Name}}" class="img-thumbnail"></a>
|
||||
</div>
|
||||
{{- end}}
|
||||
</div>
|
||||
|
||||
<h2>Platforms</h2>
|
||||
<dl class="row">
|
||||
<dt class="col-3 text-right">Desktops</dt>
|
||||
<dd class="col-9"><a href="https://github.com/hajimehoshi/ebiten/wiki/Windows">Windows</a> (No Cgo!), <a href="https://github.com/hajimehoshi/ebiten/wiki/macOS">macOS</a>, <a href="https://github.com/hajimehoshi/ebiten/wiki/Linux">Linux</a>, <a href="https://github.com/hajimehoshi/ebiten/wiki/FreeBSD">FreeBSD</a></dd>
|
||||
<dt class="col-3 text-right">Mobiles</dt>
|
||||
<dd class="col-9"><a href="https://github.com/hajimehoshi/ebiten/wiki/Android">Android</a>, <a href="https://github.com/hajimehoshi/ebiten/wiki/iOS">iOS</a></dd>
|
||||
<dt class="col-3 text-right">Web browsers</dt>
|
||||
<dd class="col-9">Chrome, Firefox, Safari and Edge (<a href="https://github.com/hajimehoshi/ebiten/wiki/GopherJS">GopherJS</a> and <a href="https://github.com/hajimehoshi/ebiten/wiki/WebAssembly">WebAssembly (Experimental)</a>)</dd>
|
||||
</dl>
|
||||
<p><small>Note: Gamepads and keyboard are not available on Android/iOS.</small></p>
|
||||
|
||||
<h2>Features</h2>
|
||||
<dl class="row">
|
||||
<dt class="col-3 text-right">2D Graphics</dt>
|
||||
<dd class="col-9">Geometry/Color matrix transformation, Various composition modes, Offscreen rendering, Fullscreen, Text rendering, Automatic batches, Automatic texture atlas</dd>
|
||||
<dt class="col-3 text-right">Input</dt>
|
||||
<dd class="col-9">Mouse, Keyboard, Gamepads, Touches</dd>
|
||||
<dt class="col-3 text-right">Audio</dt>
|
||||
<dd class="col-9">Ogg/Vorbis, MP3, WAV, PCM</dd>
|
||||
</dl>
|
||||
|
||||
<h2>Examples</h2>
|
||||
<h3>Graphics</h3>
|
||||
<div class="row">
|
||||
{{range .GraphicsExamples -}}
|
||||
<div class="col-3">
|
||||
<a href="./examples/{{.Name}}.html"><img src="images/examples/{{.Name}}.png" width="{{.ThumbWidth}}" height="{{.ThumbHeight}}" alt="Ebiten example: {{.Name}}" class="img-thumbnail"></a>
|
||||
</div>
|
||||
{{- end}}
|
||||
</div>
|
||||
<h3>Input</h3>
|
||||
<div class="row">
|
||||
{{range .InputExamples -}}
|
||||
<div class="col-3">
|
||||
<a href="./examples/{{.Name}}.html"><img src="images/examples/{{.Name}}.png" width="{{.ThumbWidth}}" height="{{.ThumbHeight}}" alt="Ebiten example: {{.Name}}" class="img-thumbnail"></a>
|
||||
</div>
|
||||
{{- end}}
|
||||
</div>
|
||||
<h3>Audio</h3>
|
||||
<div class="row">
|
||||
{{range .AudioExamples -}}
|
||||
<div class="col-3">
|
||||
<a href="./examples/{{.Name}}.html"><img src="images/examples/{{.Name}}.png" width="{{.ThumbWidth}}" height="{{.ThumbHeight}}" alt="Ebiten example: {{.Name}}" class="img-thumbnail"></a>
|
||||
</div>
|
||||
{{- end}}
|
||||
</div>
|
||||
|
||||
<p><a href="https://blog.golang.org/go-programming-language-turns-two">The Gopher photographs by Chris Nokleberg</a> are licensed under <a href="https://creativecommons.org/licenses/by/3.0/">the Creative Commons 3.0 Attributions License</a>.</p>
|
||||
|
||||
<h3>Execute the examples</h3>
|
||||
<div class="card"><pre class="card-body"><code class="language-bash">go get github.com/hajimehoshi/ebiten/...
|
||||
cd $GOPATH/src/github.com/hajimehoshi/ebiten/examples
|
||||
go run -tags=example rotate/main.go</code></pre></div>
|
||||
<p>Note that you need to add <code>-tags=example</code> to run examples.</p>
|
||||
|
||||
<h2>Getting Started</h2>
|
||||
|
||||
<p>Let's build a simple "Hello world!" game to get started with Ebiten.
|
||||
First create a new directory (<code>mkdir hello_world</code>), and change
|
||||
into it (<code>cd hello_world</code>). Type the following code into
|
||||
the <code>main.go</code> file:</p>
|
||||
|
||||
<div class="card"><pre class="card-body"><code class="language-go">package main
|
||||
|
||||
import (
|
||||
"github.com/hajimehoshi/ebiten"
|
||||
"github.com/hajimehoshi/ebiten/ebitenutil"
|
||||
)
|
||||
|
||||
func update(screen *ebiten.Image) error {
|
||||
ebitenutil.DebugPrint(screen, "Hello world!")
|
||||
return nil
|
||||
}
|
||||
|
||||
func main() {
|
||||
ebiten.Run(update, 320, 240, 2, "Hello world!")
|
||||
}
|
||||
</code></pre></div>
|
||||
|
||||
<p>Run the <code>go run</code> command to start the
|
||||
game. There you have it, your first Ebiten game!</p>
|
||||
|
||||
</div></main>
|
||||
|
||||
<footer><div class="container">
|
||||
<p>{{.Copyright}}</p>
|
||||
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">the Apache License 2.0</a>.</p>
|
||||
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
|
||||
</div></footer>
|
||||
|
||||
<script src="./scripts/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
@ -1 +0,0 @@
|
||||
../docs
|
@ -1,43 +0,0 @@
|
||||
// Copyright 2016 Hajime Hoshi
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
"flag"
|
||||
"log"
|
||||
"net/http"
|
||||
"path/filepath"
|
||||
"runtime"
|
||||
)
|
||||
|
||||
var (
|
||||
httpAddr = flag.String("http", ":8000", "HTTP address")
|
||||
)
|
||||
|
||||
func init() {
|
||||
flag.Parse()
|
||||
}
|
||||
|
||||
var rootPath = ""
|
||||
|
||||
func init() {
|
||||
_, path, _, _ := runtime.Caller(0)
|
||||
rootPath = filepath.Join(filepath.Dir(path), "..", "..", "docs")
|
||||
}
|
||||
|
||||
func main() {
|
||||
http.Handle("/", http.FileServer(http.Dir(rootPath)))
|
||||
log.Fatal(http.ListenAndServe(*httpAddr, nil))
|
||||
}
|
5
docs/404.html
Normal file
@ -0,0 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<link rel="canonical" href="http://ebiten.org/">
|
||||
<meta http-equiv="refresh" content="0; url=http://ebiten.org/">
|
||||
<p>This page was moved to <a href="http://ebiten.org/">https://ebiten.org/</a></p>
|
@ -1,41 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/2048.png">
|
||||
<meta name="description" content="Ebiten example - 2048">
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - 2048</title>
|
||||
|
||||
<link rel="stylesheet" href="../stylesheets/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="../stylesheets/highlight-github.css">
|
||||
<link rel="stylesheet" href="../stylesheets/ebiten.css">
|
||||
<script src="../scripts/googleanalytics.js"></script>
|
||||
|
||||
<nav class="navbar"><div class="container">
|
||||
<nav class="d-flex flex-row" style="width: 100%;">
|
||||
<div class="nav mr-auto"><a class="navbar-brand" href="../"><img src="../images/logo_white.svg" alt="EBITEN"></a></div>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">API Document</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki/Cheat-Sheet">Cheat Sheet</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a>
|
||||
</ul>
|
||||
</nav>
|
||||
</div></nav>
|
||||
|
||||
<main><div class="container">
|
||||
|
||||
<h2>Ebiten example - 2048</h2>
|
||||
<iframe src="https://jsgo.io/github.com/hajimehoshi/ebiten/examples/2048" width="420" height="600" allow="autoplay"></iframe>
|
||||
<p><a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/2048">Go Playground page</a></p>
|
||||
|
||||
</div></main>
|
||||
|
||||
<footer><div class="container">
|
||||
<p>© 2013 Hajime Hoshi</p>
|
||||
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">the Apache License 2.0</a>.</p>
|
||||
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
|
||||
</div></footer>
|
||||
|
||||
<script src="../scripts/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
@ -1,41 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/airship.png">
|
||||
<meta name="description" content="Ebiten example - airship">
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - airship</title>
|
||||
|
||||
<link rel="stylesheet" href="../stylesheets/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="../stylesheets/highlight-github.css">
|
||||
<link rel="stylesheet" href="../stylesheets/ebiten.css">
|
||||
<script src="../scripts/googleanalytics.js"></script>
|
||||
|
||||
<nav class="navbar"><div class="container">
|
||||
<nav class="d-flex flex-row" style="width: 100%;">
|
||||
<div class="nav mr-auto"><a class="navbar-brand" href="../"><img src="../images/logo_white.svg" alt="EBITEN"></a></div>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">API Document</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki/Cheat-Sheet">Cheat Sheet</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a>
|
||||
</ul>
|
||||
</nav>
|
||||
</div></nav>
|
||||
|
||||
<main><div class="container">
|
||||
|
||||
<h2>Ebiten example - airship</h2>
|
||||
<iframe src="https://jsgo.io/github.com/hajimehoshi/ebiten/examples/airship" width="640" height="480" allow="autoplay"></iframe>
|
||||
<p><a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/airship">Go Playground page</a></p>
|
||||
|
||||
</div></main>
|
||||
|
||||
<footer><div class="container">
|
||||
<p>© 2013 Hajime Hoshi</p>
|
||||
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">the Apache License 2.0</a>.</p>
|
||||
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
|
||||
</div></footer>
|
||||
|
||||
<script src="../scripts/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
@ -1,41 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/animation.png">
|
||||
<meta name="description" content="Ebiten example - animation">
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - animation</title>
|
||||
|
||||
<link rel="stylesheet" href="../stylesheets/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="../stylesheets/highlight-github.css">
|
||||
<link rel="stylesheet" href="../stylesheets/ebiten.css">
|
||||
<script src="../scripts/googleanalytics.js"></script>
|
||||
|
||||
<nav class="navbar"><div class="container">
|
||||
<nav class="d-flex flex-row" style="width: 100%;">
|
||||
<div class="nav mr-auto"><a class="navbar-brand" href="../"><img src="../images/logo_white.svg" alt="EBITEN"></a></div>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">API Document</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki/Cheat-Sheet">Cheat Sheet</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a>
|
||||
</ul>
|
||||
</nav>
|
||||
</div></nav>
|
||||
|
||||
<main><div class="container">
|
||||
|
||||
<h2>Ebiten example - animation</h2>
|
||||
<iframe src="https://jsgo.io/github.com/hajimehoshi/ebiten/examples/animation" width="640" height="480" allow="autoplay"></iframe>
|
||||
<p><a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/animation">Go Playground page</a></p>
|
||||
|
||||
</div></main>
|
||||
|
||||
<footer><div class="container">
|
||||
<p>© 2013 Hajime Hoshi</p>
|
||||
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">the Apache License 2.0</a>.</p>
|
||||
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
|
||||
</div></footer>
|
||||
|
||||
<script src="../scripts/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
@ -1,41 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/audio.png">
|
||||
<meta name="description" content="Ebiten example - audio">
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - audio</title>
|
||||
|
||||
<link rel="stylesheet" href="../stylesheets/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="../stylesheets/highlight-github.css">
|
||||
<link rel="stylesheet" href="../stylesheets/ebiten.css">
|
||||
<script src="../scripts/googleanalytics.js"></script>
|
||||
|
||||
<nav class="navbar"><div class="container">
|
||||
<nav class="d-flex flex-row" style="width: 100%;">
|
||||
<div class="nav mr-auto"><a class="navbar-brand" href="../"><img src="../images/logo_white.svg" alt="EBITEN"></a></div>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">API Document</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki/Cheat-Sheet">Cheat Sheet</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a>
|
||||
</ul>
|
||||
</nav>
|
||||
</div></nav>
|
||||
|
||||
<main><div class="container">
|
||||
|
||||
<h2>Ebiten example - audio</h2>
|
||||
<iframe src="https://jsgo.io/github.com/hajimehoshi/ebiten/examples/audio" width="640" height="480" allow="autoplay"></iframe>
|
||||
<p><a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/audio">Go Playground page</a></p>
|
||||
|
||||
</div></main>
|
||||
|
||||
<footer><div class="container">
|
||||
<p>© 2013 Hajime Hoshi</p>
|
||||
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">the Apache License 2.0</a>.</p>
|
||||
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
|
||||
</div></footer>
|
||||
|
||||
<script src="../scripts/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
@ -1,41 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/blocks.png">
|
||||
<meta name="description" content="Ebiten example - blocks">
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - blocks</title>
|
||||
|
||||
<link rel="stylesheet" href="../stylesheets/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="../stylesheets/highlight-github.css">
|
||||
<link rel="stylesheet" href="../stylesheets/ebiten.css">
|
||||
<script src="../scripts/googleanalytics.js"></script>
|
||||
|
||||
<nav class="navbar"><div class="container">
|
||||
<nav class="d-flex flex-row" style="width: 100%;">
|
||||
<div class="nav mr-auto"><a class="navbar-brand" href="../"><img src="../images/logo_white.svg" alt="EBITEN"></a></div>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">API Document</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki/Cheat-Sheet">Cheat Sheet</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a>
|
||||
</ul>
|
||||
</nav>
|
||||
</div></nav>
|
||||
|
||||
<main><div class="container">
|
||||
|
||||
<h2>Ebiten example - blocks</h2>
|
||||
<iframe src="https://jsgo.io/github.com/hajimehoshi/ebiten/examples/blocks" width="512" height="480" allow="autoplay"></iframe>
|
||||
<p><a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/blocks">Go Playground page</a></p>
|
||||
|
||||
</div></main>
|
||||
|
||||
<footer><div class="container">
|
||||
<p>© 2013 Hajime Hoshi</p>
|
||||
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">the Apache License 2.0</a>.</p>
|
||||
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
|
||||
</div></footer>
|
||||
|
||||
<script src="../scripts/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
@ -1,41 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/blur.png">
|
||||
<meta name="description" content="Ebiten example - blur">
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - blur</title>
|
||||
|
||||
<link rel="stylesheet" href="../stylesheets/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="../stylesheets/highlight-github.css">
|
||||
<link rel="stylesheet" href="../stylesheets/ebiten.css">
|
||||
<script src="../scripts/googleanalytics.js"></script>
|
||||
|
||||
<nav class="navbar"><div class="container">
|
||||
<nav class="d-flex flex-row" style="width: 100%;">
|
||||
<div class="nav mr-auto"><a class="navbar-brand" href="../"><img src="../images/logo_white.svg" alt="EBITEN"></a></div>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">API Document</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki/Cheat-Sheet">Cheat Sheet</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a>
|
||||
</ul>
|
||||
</nav>
|
||||
</div></nav>
|
||||
|
||||
<main><div class="container">
|
||||
|
||||
<h2>Ebiten example - blur</h2>
|
||||
<iframe src="https://jsgo.io/github.com/hajimehoshi/ebiten/examples/blur" width="640" height="480" allow="autoplay"></iframe>
|
||||
<p><a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/blur">Go Playground page</a></p>
|
||||
|
||||
</div></main>
|
||||
|
||||
<footer><div class="container">
|
||||
<p>© 2013 Hajime Hoshi</p>
|
||||
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">the Apache License 2.0</a>.</p>
|
||||
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
|
||||
</div></footer>
|
||||
|
||||
<script src="../scripts/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
@ -1,41 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/drag.png">
|
||||
<meta name="description" content="Ebiten example - drag">
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - drag</title>
|
||||
|
||||
<link rel="stylesheet" href="../stylesheets/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="../stylesheets/highlight-github.css">
|
||||
<link rel="stylesheet" href="../stylesheets/ebiten.css">
|
||||
<script src="../scripts/googleanalytics.js"></script>
|
||||
|
||||
<nav class="navbar"><div class="container">
|
||||
<nav class="d-flex flex-row" style="width: 100%;">
|
||||
<div class="nav mr-auto"><a class="navbar-brand" href="../"><img src="../images/logo_white.svg" alt="EBITEN"></a></div>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">API Document</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki/Cheat-Sheet">Cheat Sheet</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a>
|
||||
</ul>
|
||||
</nav>
|
||||
</div></nav>
|
||||
|
||||
<main><div class="container">
|
||||
|
||||
<h2>Ebiten example - drag</h2>
|
||||
<iframe src="https://jsgo.io/github.com/hajimehoshi/ebiten/examples/drag" width="640" height="480" allow="autoplay"></iframe>
|
||||
<p><a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/drag">Go Playground page</a></p>
|
||||
|
||||
</div></main>
|
||||
|
||||
<footer><div class="container">
|
||||
<p>© 2013 Hajime Hoshi</p>
|
||||
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">the Apache License 2.0</a>.</p>
|
||||
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
|
||||
</div></footer>
|
||||
|
||||
<script src="../scripts/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
@ -1,41 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/filter.png">
|
||||
<meta name="description" content="Ebiten example - filter">
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - filter</title>
|
||||
|
||||
<link rel="stylesheet" href="../stylesheets/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="../stylesheets/highlight-github.css">
|
||||
<link rel="stylesheet" href="../stylesheets/ebiten.css">
|
||||
<script src="../scripts/googleanalytics.js"></script>
|
||||
|
||||
<nav class="navbar"><div class="container">
|
||||
<nav class="d-flex flex-row" style="width: 100%;">
|
||||
<div class="nav mr-auto"><a class="navbar-brand" href="../"><img src="../images/logo_white.svg" alt="EBITEN"></a></div>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">API Document</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki/Cheat-Sheet">Cheat Sheet</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a>
|
||||
</ul>
|
||||
</nav>
|
||||
</div></nav>
|
||||
|
||||
<main><div class="container">
|
||||
|
||||
<h2>Ebiten example - filter</h2>
|
||||
<iframe src="https://jsgo.io/github.com/hajimehoshi/ebiten/examples/filter" width="640" height="480" allow="autoplay"></iframe>
|
||||
<p><a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/filter">Go Playground page</a></p>
|
||||
|
||||
</div></main>
|
||||
|
||||
<footer><div class="container">
|
||||
<p>© 2013 Hajime Hoshi</p>
|
||||
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">the Apache License 2.0</a>.</p>
|
||||
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
|
||||
</div></footer>
|
||||
|
||||
<script src="../scripts/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
@ -1,41 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/flappy.png">
|
||||
<meta name="description" content="Ebiten example - flappy">
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - flappy</title>
|
||||
|
||||
<link rel="stylesheet" href="../stylesheets/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="../stylesheets/highlight-github.css">
|
||||
<link rel="stylesheet" href="../stylesheets/ebiten.css">
|
||||
<script src="../scripts/googleanalytics.js"></script>
|
||||
|
||||
<nav class="navbar"><div class="container">
|
||||
<nav class="d-flex flex-row" style="width: 100%;">
|
||||
<div class="nav mr-auto"><a class="navbar-brand" href="../"><img src="../images/logo_white.svg" alt="EBITEN"></a></div>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">API Document</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki/Cheat-Sheet">Cheat Sheet</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a>
|
||||
</ul>
|
||||
</nav>
|
||||
</div></nav>
|
||||
|
||||
<main><div class="container">
|
||||
|
||||
<h2>Ebiten example - flappy</h2>
|
||||
<iframe src="https://jsgo.io/github.com/hajimehoshi/ebiten/examples/flappy" width="640" height="480" allow="autoplay"></iframe>
|
||||
<p><a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/flappy">Go Playground page</a></p>
|
||||
|
||||
</div></main>
|
||||
|
||||
<footer><div class="container">
|
||||
<p>© 2013 Hajime Hoshi</p>
|
||||
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">the Apache License 2.0</a>.</p>
|
||||
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
|
||||
</div></footer>
|
||||
|
||||
<script src="../scripts/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
@ -1,41 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/flood.png">
|
||||
<meta name="description" content="Ebiten example - flood">
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - flood</title>
|
||||
|
||||
<link rel="stylesheet" href="../stylesheets/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="../stylesheets/highlight-github.css">
|
||||
<link rel="stylesheet" href="../stylesheets/ebiten.css">
|
||||
<script src="../scripts/googleanalytics.js"></script>
|
||||
|
||||
<nav class="navbar"><div class="container">
|
||||
<nav class="d-flex flex-row" style="width: 100%;">
|
||||
<div class="nav mr-auto"><a class="navbar-brand" href="../"><img src="../images/logo_white.svg" alt="EBITEN"></a></div>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">API Document</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki/Cheat-Sheet">Cheat Sheet</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a>
|
||||
</ul>
|
||||
</nav>
|
||||
</div></nav>
|
||||
|
||||
<main><div class="container">
|
||||
|
||||
<h2>Ebiten example - flood</h2>
|
||||
<iframe src="https://jsgo.io/github.com/hajimehoshi/ebiten/examples/flood" width="640" height="480" allow="autoplay"></iframe>
|
||||
<p><a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/flood">Go Playground page</a></p>
|
||||
|
||||
</div></main>
|
||||
|
||||
<footer><div class="container">
|
||||
<p>© 2013 Hajime Hoshi</p>
|
||||
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">the Apache License 2.0</a>.</p>
|
||||
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
|
||||
</div></footer>
|
||||
|
||||
<script src="../scripts/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
@ -1,41 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/font.png">
|
||||
<meta name="description" content="Ebiten example - font">
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - font</title>
|
||||
|
||||
<link rel="stylesheet" href="../stylesheets/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="../stylesheets/highlight-github.css">
|
||||
<link rel="stylesheet" href="../stylesheets/ebiten.css">
|
||||
<script src="../scripts/googleanalytics.js"></script>
|
||||
|
||||
<nav class="navbar"><div class="container">
|
||||
<nav class="d-flex flex-row" style="width: 100%;">
|
||||
<div class="nav mr-auto"><a class="navbar-brand" href="../"><img src="../images/logo_white.svg" alt="EBITEN"></a></div>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">API Document</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki/Cheat-Sheet">Cheat Sheet</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a>
|
||||
</ul>
|
||||
</nav>
|
||||
</div></nav>
|
||||
|
||||
<main><div class="container">
|
||||
|
||||
<h2>Ebiten example - font</h2>
|
||||
<iframe src="https://jsgo.io/github.com/hajimehoshi/ebiten/examples/font" width="640" height="480" allow="autoplay"></iframe>
|
||||
<p><a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/font">Go Playground page</a></p>
|
||||
|
||||
</div></main>
|
||||
|
||||
<footer><div class="container">
|
||||
<p>© 2013 Hajime Hoshi</p>
|
||||
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">the Apache License 2.0</a>.</p>
|
||||
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
|
||||
</div></footer>
|
||||
|
||||
<script src="../scripts/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
@ -1,41 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/gamepad.png">
|
||||
<meta name="description" content="Ebiten example - gamepad">
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - gamepad</title>
|
||||
|
||||
<link rel="stylesheet" href="../stylesheets/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="../stylesheets/highlight-github.css">
|
||||
<link rel="stylesheet" href="../stylesheets/ebiten.css">
|
||||
<script src="../scripts/googleanalytics.js"></script>
|
||||
|
||||
<nav class="navbar"><div class="container">
|
||||
<nav class="d-flex flex-row" style="width: 100%;">
|
||||
<div class="nav mr-auto"><a class="navbar-brand" href="../"><img src="../images/logo_white.svg" alt="EBITEN"></a></div>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">API Document</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki/Cheat-Sheet">Cheat Sheet</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a>
|
||||
</ul>
|
||||
</nav>
|
||||
</div></nav>
|
||||
|
||||
<main><div class="container">
|
||||
|
||||
<h2>Ebiten example - gamepad</h2>
|
||||
<iframe src="https://jsgo.io/github.com/hajimehoshi/ebiten/examples/gamepad" width="640" height="480" allow="autoplay"></iframe>
|
||||
<p><a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/gamepad">Go Playground page</a></p>
|
||||
|
||||
</div></main>
|
||||
|
||||
<footer><div class="container">
|
||||
<p>© 2013 Hajime Hoshi</p>
|
||||
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">the Apache License 2.0</a>.</p>
|
||||
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
|
||||
</div></footer>
|
||||
|
||||
<script src="../scripts/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
@ -1,41 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/highdpi.png">
|
||||
<meta name="description" content="Ebiten example - highdpi">
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - highdpi</title>
|
||||
|
||||
<link rel="stylesheet" href="../stylesheets/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="../stylesheets/highlight-github.css">
|
||||
<link rel="stylesheet" href="../stylesheets/ebiten.css">
|
||||
<script src="../scripts/googleanalytics.js"></script>
|
||||
|
||||
<nav class="navbar"><div class="container">
|
||||
<nav class="d-flex flex-row" style="width: 100%;">
|
||||
<div class="nav mr-auto"><a class="navbar-brand" href="../"><img src="../images/logo_white.svg" alt="EBITEN"></a></div>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">API Document</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki/Cheat-Sheet">Cheat Sheet</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a>
|
||||
</ul>
|
||||
</nav>
|
||||
</div></nav>
|
||||
|
||||
<main><div class="container">
|
||||
|
||||
<h2>Ebiten example - highdpi</h2>
|
||||
<iframe src="https://jsgo.io/github.com/hajimehoshi/ebiten/examples/highdpi" width="640" height="480" allow="autoplay"></iframe>
|
||||
<p><a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/highdpi">Go Playground page</a></p>
|
||||
|
||||
</div></main>
|
||||
|
||||
<footer><div class="container">
|
||||
<p>© 2013 Hajime Hoshi</p>
|
||||
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">the Apache License 2.0</a>.</p>
|
||||
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
|
||||
</div></footer>
|
||||
|
||||
<script src="../scripts/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
@ -1,41 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/hsv.png">
|
||||
<meta name="description" content="Ebiten example - hsv">
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - hsv</title>
|
||||
|
||||
<link rel="stylesheet" href="../stylesheets/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="../stylesheets/highlight-github.css">
|
||||
<link rel="stylesheet" href="../stylesheets/ebiten.css">
|
||||
<script src="../scripts/googleanalytics.js"></script>
|
||||
|
||||
<nav class="navbar"><div class="container">
|
||||
<nav class="d-flex flex-row" style="width: 100%;">
|
||||
<div class="nav mr-auto"><a class="navbar-brand" href="../"><img src="../images/logo_white.svg" alt="EBITEN"></a></div>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">API Document</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki/Cheat-Sheet">Cheat Sheet</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a>
|
||||
</ul>
|
||||
</nav>
|
||||
</div></nav>
|
||||
|
||||
<main><div class="container">
|
||||
|
||||
<h2>Ebiten example - hsv</h2>
|
||||
<iframe src="https://jsgo.io/github.com/hajimehoshi/ebiten/examples/hsv" width="640" height="480" allow="autoplay"></iframe>
|
||||
<p><a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/hsv">Go Playground page</a></p>
|
||||
|
||||
</div></main>
|
||||
|
||||
<footer><div class="container">
|
||||
<p>© 2013 Hajime Hoshi</p>
|
||||
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">the Apache License 2.0</a>.</p>
|
||||
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
|
||||
</div></footer>
|
||||
|
||||
<script src="../scripts/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
@ -1,41 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/infinitescroll.png">
|
||||
<meta name="description" content="Ebiten example - infinitescroll">
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - infinitescroll</title>
|
||||
|
||||
<link rel="stylesheet" href="../stylesheets/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="../stylesheets/highlight-github.css">
|
||||
<link rel="stylesheet" href="../stylesheets/ebiten.css">
|
||||
<script src="../scripts/googleanalytics.js"></script>
|
||||
|
||||
<nav class="navbar"><div class="container">
|
||||
<nav class="d-flex flex-row" style="width: 100%;">
|
||||
<div class="nav mr-auto"><a class="navbar-brand" href="../"><img src="../images/logo_white.svg" alt="EBITEN"></a></div>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">API Document</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki/Cheat-Sheet">Cheat Sheet</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a>
|
||||
</ul>
|
||||
</nav>
|
||||
</div></nav>
|
||||
|
||||
<main><div class="container">
|
||||
|
||||
<h2>Ebiten example - infinitescroll</h2>
|
||||
<iframe src="https://jsgo.io/github.com/hajimehoshi/ebiten/examples/infinitescroll" width="640" height="480" allow="autoplay"></iframe>
|
||||
<p><a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/infinitescroll">Go Playground page</a></p>
|
||||
|
||||
</div></main>
|
||||
|
||||
<footer><div class="container">
|
||||
<p>© 2013 Hajime Hoshi</p>
|
||||
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">the Apache License 2.0</a>.</p>
|
||||
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
|
||||
</div></footer>
|
||||
|
||||
<script src="../scripts/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
@ -1,41 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/keyboard.png">
|
||||
<meta name="description" content="Ebiten example - keyboard">
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - keyboard</title>
|
||||
|
||||
<link rel="stylesheet" href="../stylesheets/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="../stylesheets/highlight-github.css">
|
||||
<link rel="stylesheet" href="../stylesheets/ebiten.css">
|
||||
<script src="../scripts/googleanalytics.js"></script>
|
||||
|
||||
<nav class="navbar"><div class="container">
|
||||
<nav class="d-flex flex-row" style="width: 100%;">
|
||||
<div class="nav mr-auto"><a class="navbar-brand" href="../"><img src="../images/logo_white.svg" alt="EBITEN"></a></div>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">API Document</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki/Cheat-Sheet">Cheat Sheet</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a>
|
||||
</ul>
|
||||
</nav>
|
||||
</div></nav>
|
||||
|
||||
<main><div class="container">
|
||||
|
||||
<h2>Ebiten example - keyboard</h2>
|
||||
<iframe src="https://jsgo.io/github.com/hajimehoshi/ebiten/examples/keyboard" width="640" height="480" allow="autoplay"></iframe>
|
||||
<p><a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/keyboard">Go Playground page</a></p>
|
||||
|
||||
</div></main>
|
||||
|
||||
<footer><div class="container">
|
||||
<p>© 2013 Hajime Hoshi</p>
|
||||
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">the Apache License 2.0</a>.</p>
|
||||
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
|
||||
</div></footer>
|
||||
|
||||
<script src="../scripts/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
@ -1,41 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/life.png">
|
||||
<meta name="description" content="Ebiten example - life">
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - life</title>
|
||||
|
||||
<link rel="stylesheet" href="../stylesheets/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="../stylesheets/highlight-github.css">
|
||||
<link rel="stylesheet" href="../stylesheets/ebiten.css">
|
||||
<script src="../scripts/googleanalytics.js"></script>
|
||||
|
||||
<nav class="navbar"><div class="container">
|
||||
<nav class="d-flex flex-row" style="width: 100%;">
|
||||
<div class="nav mr-auto"><a class="navbar-brand" href="../"><img src="../images/logo_white.svg" alt="EBITEN"></a></div>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">API Document</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki/Cheat-Sheet">Cheat Sheet</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a>
|
||||
</ul>
|
||||
</nav>
|
||||
</div></nav>
|
||||
|
||||
<main><div class="container">
|
||||
|
||||
<h2>Ebiten example - life</h2>
|
||||
<iframe src="https://jsgo.io/github.com/hajimehoshi/ebiten/examples/life" width="640" height="480" allow="autoplay"></iframe>
|
||||
<p><a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/life">Go Playground page</a></p>
|
||||
|
||||
</div></main>
|
||||
|
||||
<footer><div class="container">
|
||||
<p>© 2013 Hajime Hoshi</p>
|
||||
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">the Apache License 2.0</a>.</p>
|
||||
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
|
||||
</div></footer>
|
||||
|
||||
<script src="../scripts/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
@ -1,41 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/mandelbrot.png">
|
||||
<meta name="description" content="Ebiten example - mandelbrot">
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - mandelbrot</title>
|
||||
|
||||
<link rel="stylesheet" href="../stylesheets/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="../stylesheets/highlight-github.css">
|
||||
<link rel="stylesheet" href="../stylesheets/ebiten.css">
|
||||
<script src="../scripts/googleanalytics.js"></script>
|
||||
|
||||
<nav class="navbar"><div class="container">
|
||||
<nav class="d-flex flex-row" style="width: 100%;">
|
||||
<div class="nav mr-auto"><a class="navbar-brand" href="../"><img src="../images/logo_white.svg" alt="EBITEN"></a></div>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">API Document</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki/Cheat-Sheet">Cheat Sheet</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a>
|
||||
</ul>
|
||||
</nav>
|
||||
</div></nav>
|
||||
|
||||
<main><div class="container">
|
||||
|
||||
<h2>Ebiten example - mandelbrot</h2>
|
||||
<iframe src="https://jsgo.io/github.com/hajimehoshi/ebiten/examples/mandelbrot" width="640" height="640" allow="autoplay"></iframe>
|
||||
<p><a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/mandelbrot">Go Playground page</a></p>
|
||||
|
||||
</div></main>
|
||||
|
||||
<footer><div class="container">
|
||||
<p>© 2013 Hajime Hoshi</p>
|
||||
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">the Apache License 2.0</a>.</p>
|
||||
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
|
||||
</div></footer>
|
||||
|
||||
<script src="../scripts/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
@ -1,41 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/masking.png">
|
||||
<meta name="description" content="Ebiten example - masking">
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - masking</title>
|
||||
|
||||
<link rel="stylesheet" href="../stylesheets/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="../stylesheets/highlight-github.css">
|
||||
<link rel="stylesheet" href="../stylesheets/ebiten.css">
|
||||
<script src="../scripts/googleanalytics.js"></script>
|
||||
|
||||
<nav class="navbar"><div class="container">
|
||||
<nav class="d-flex flex-row" style="width: 100%;">
|
||||
<div class="nav mr-auto"><a class="navbar-brand" href="../"><img src="../images/logo_white.svg" alt="EBITEN"></a></div>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">API Document</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki/Cheat-Sheet">Cheat Sheet</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a>
|
||||
</ul>
|
||||
</nav>
|
||||
</div></nav>
|
||||
|
||||
<main><div class="container">
|
||||
|
||||
<h2>Ebiten example - masking</h2>
|
||||
<iframe src="https://jsgo.io/github.com/hajimehoshi/ebiten/examples/masking" width="640" height="480" allow="autoplay"></iframe>
|
||||
<p><a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/masking">Go Playground page</a></p>
|
||||
|
||||
</div></main>
|
||||
|
||||
<footer><div class="container">
|
||||
<p>© 2013 Hajime Hoshi</p>
|
||||
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">the Apache License 2.0</a>.</p>
|
||||
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
|
||||
</div></footer>
|
||||
|
||||
<script src="../scripts/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
@ -1,41 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/mosaic.png">
|
||||
<meta name="description" content="Ebiten example - mosaic">
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - mosaic</title>
|
||||
|
||||
<link rel="stylesheet" href="../stylesheets/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="../stylesheets/highlight-github.css">
|
||||
<link rel="stylesheet" href="../stylesheets/ebiten.css">
|
||||
<script src="../scripts/googleanalytics.js"></script>
|
||||
|
||||
<nav class="navbar"><div class="container">
|
||||
<nav class="d-flex flex-row" style="width: 100%;">
|
||||
<div class="nav mr-auto"><a class="navbar-brand" href="../"><img src="../images/logo_white.svg" alt="EBITEN"></a></div>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">API Document</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki/Cheat-Sheet">Cheat Sheet</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a>
|
||||
</ul>
|
||||
</nav>
|
||||
</div></nav>
|
||||
|
||||
<main><div class="container">
|
||||
|
||||
<h2>Ebiten example - mosaic</h2>
|
||||
<iframe src="https://jsgo.io/github.com/hajimehoshi/ebiten/examples/mosaic" width="640" height="480" allow="autoplay"></iframe>
|
||||
<p><a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/mosaic">Go Playground page</a></p>
|
||||
|
||||
</div></main>
|
||||
|
||||
<footer><div class="container">
|
||||
<p>© 2013 Hajime Hoshi</p>
|
||||
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">the Apache License 2.0</a>.</p>
|
||||
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
|
||||
</div></footer>
|
||||
|
||||
<script src="../scripts/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
@ -1,41 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/noise.png">
|
||||
<meta name="description" content="Ebiten example - noise">
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - noise</title>
|
||||
|
||||
<link rel="stylesheet" href="../stylesheets/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="../stylesheets/highlight-github.css">
|
||||
<link rel="stylesheet" href="../stylesheets/ebiten.css">
|
||||
<script src="../scripts/googleanalytics.js"></script>
|
||||
|
||||
<nav class="navbar"><div class="container">
|
||||
<nav class="d-flex flex-row" style="width: 100%;">
|
||||
<div class="nav mr-auto"><a class="navbar-brand" href="../"><img src="../images/logo_white.svg" alt="EBITEN"></a></div>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">API Document</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki/Cheat-Sheet">Cheat Sheet</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a>
|
||||
</ul>
|
||||
</nav>
|
||||
</div></nav>
|
||||
|
||||
<main><div class="container">
|
||||
|
||||
<h2>Ebiten example - noise</h2>
|
||||
<iframe src="https://jsgo.io/github.com/hajimehoshi/ebiten/examples/noise" width="640" height="480" allow="autoplay"></iframe>
|
||||
<p><a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/noise">Go Playground page</a></p>
|
||||
|
||||
</div></main>
|
||||
|
||||
<footer><div class="container">
|
||||
<p>© 2013 Hajime Hoshi</p>
|
||||
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">the Apache License 2.0</a>.</p>
|
||||
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
|
||||
</div></footer>
|
||||
|
||||
<script src="../scripts/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
@ -1,41 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/paint.png">
|
||||
<meta name="description" content="Ebiten example - paint">
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - paint</title>
|
||||
|
||||
<link rel="stylesheet" href="../stylesheets/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="../stylesheets/highlight-github.css">
|
||||
<link rel="stylesheet" href="../stylesheets/ebiten.css">
|
||||
<script src="../scripts/googleanalytics.js"></script>
|
||||
|
||||
<nav class="navbar"><div class="container">
|
||||
<nav class="d-flex flex-row" style="width: 100%;">
|
||||
<div class="nav mr-auto"><a class="navbar-brand" href="../"><img src="../images/logo_white.svg" alt="EBITEN"></a></div>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">API Document</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki/Cheat-Sheet">Cheat Sheet</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a>
|
||||
</ul>
|
||||
</nav>
|
||||
</div></nav>
|
||||
|
||||
<main><div class="container">
|
||||
|
||||
<h2>Ebiten example - paint</h2>
|
||||
<iframe src="https://jsgo.io/github.com/hajimehoshi/ebiten/examples/paint" width="640" height="480" allow="autoplay"></iframe>
|
||||
<p><a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/paint">Go Playground page</a></p>
|
||||
|
||||
</div></main>
|
||||
|
||||
<footer><div class="container">
|
||||
<p>© 2013 Hajime Hoshi</p>
|
||||
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">the Apache License 2.0</a>.</p>
|
||||
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
|
||||
</div></footer>
|
||||
|
||||
<script src="../scripts/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
@ -1,41 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/particles.png">
|
||||
<meta name="description" content="Ebiten example - particles">
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - particles</title>
|
||||
|
||||
<link rel="stylesheet" href="../stylesheets/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="../stylesheets/highlight-github.css">
|
||||
<link rel="stylesheet" href="../stylesheets/ebiten.css">
|
||||
<script src="../scripts/googleanalytics.js"></script>
|
||||
|
||||
<nav class="navbar"><div class="container">
|
||||
<nav class="d-flex flex-row" style="width: 100%;">
|
||||
<div class="nav mr-auto"><a class="navbar-brand" href="../"><img src="../images/logo_white.svg" alt="EBITEN"></a></div>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">API Document</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki/Cheat-Sheet">Cheat Sheet</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a>
|
||||
</ul>
|
||||
</nav>
|
||||
</div></nav>
|
||||
|
||||
<main><div class="container">
|
||||
|
||||
<h2>Ebiten example - particles</h2>
|
||||
<iframe src="https://jsgo.io/github.com/hajimehoshi/ebiten/examples/particles" width="640" height="480" allow="autoplay"></iframe>
|
||||
<p><a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/particles">Go Playground page</a></p>
|
||||
|
||||
</div></main>
|
||||
|
||||
<footer><div class="container">
|
||||
<p>© 2013 Hajime Hoshi</p>
|
||||
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">the Apache License 2.0</a>.</p>
|
||||
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
|
||||
</div></footer>
|
||||
|
||||
<script src="../scripts/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
@ -1,41 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/perspective.png">
|
||||
<meta name="description" content="Ebiten example - perspective">
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - perspective</title>
|
||||
|
||||
<link rel="stylesheet" href="../stylesheets/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="../stylesheets/highlight-github.css">
|
||||
<link rel="stylesheet" href="../stylesheets/ebiten.css">
|
||||
<script src="../scripts/googleanalytics.js"></script>
|
||||
|
||||
<nav class="navbar"><div class="container">
|
||||
<nav class="d-flex flex-row" style="width: 100%;">
|
||||
<div class="nav mr-auto"><a class="navbar-brand" href="../"><img src="../images/logo_white.svg" alt="EBITEN"></a></div>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">API Document</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki/Cheat-Sheet">Cheat Sheet</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a>
|
||||
</ul>
|
||||
</nav>
|
||||
</div></nav>
|
||||
|
||||
<main><div class="container">
|
||||
|
||||
<h2>Ebiten example - perspective</h2>
|
||||
<iframe src="https://jsgo.io/github.com/hajimehoshi/ebiten/examples/perspective" width="640" height="480" allow="autoplay"></iframe>
|
||||
<p><a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/perspective">Go Playground page</a></p>
|
||||
|
||||
</div></main>
|
||||
|
||||
<footer><div class="container">
|
||||
<p>© 2013 Hajime Hoshi</p>
|
||||
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">the Apache License 2.0</a>.</p>
|
||||
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
|
||||
</div></footer>
|
||||
|
||||
<script src="../scripts/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
@ -1,41 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/piano.png">
|
||||
<meta name="description" content="Ebiten example - piano">
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - piano</title>
|
||||
|
||||
<link rel="stylesheet" href="../stylesheets/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="../stylesheets/highlight-github.css">
|
||||
<link rel="stylesheet" href="../stylesheets/ebiten.css">
|
||||
<script src="../scripts/googleanalytics.js"></script>
|
||||
|
||||
<nav class="navbar"><div class="container">
|
||||
<nav class="d-flex flex-row" style="width: 100%;">
|
||||
<div class="nav mr-auto"><a class="navbar-brand" href="../"><img src="../images/logo_white.svg" alt="EBITEN"></a></div>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">API Document</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki/Cheat-Sheet">Cheat Sheet</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a>
|
||||
</ul>
|
||||
</nav>
|
||||
</div></nav>
|
||||
|
||||
<main><div class="container">
|
||||
|
||||
<h2>Ebiten example - piano</h2>
|
||||
<iframe src="https://jsgo.io/github.com/hajimehoshi/ebiten/examples/piano" width="640" height="480" allow="autoplay"></iframe>
|
||||
<p><a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/piano">Go Playground page</a></p>
|
||||
|
||||
</div></main>
|
||||
|
||||
<footer><div class="container">
|
||||
<p>© 2013 Hajime Hoshi</p>
|
||||
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">the Apache License 2.0</a>.</p>
|
||||
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
|
||||
</div></footer>
|
||||
|
||||
<script src="../scripts/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
@ -1,41 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/polygons.png">
|
||||
<meta name="description" content="Ebiten example - polygons">
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - polygons</title>
|
||||
|
||||
<link rel="stylesheet" href="../stylesheets/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="../stylesheets/highlight-github.css">
|
||||
<link rel="stylesheet" href="../stylesheets/ebiten.css">
|
||||
<script src="../scripts/googleanalytics.js"></script>
|
||||
|
||||
<nav class="navbar"><div class="container">
|
||||
<nav class="d-flex flex-row" style="width: 100%;">
|
||||
<div class="nav mr-auto"><a class="navbar-brand" href="../"><img src="../images/logo_white.svg" alt="EBITEN"></a></div>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">API Document</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki/Cheat-Sheet">Cheat Sheet</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a>
|
||||
</ul>
|
||||
</nav>
|
||||
</div></nav>
|
||||
|
||||
<main><div class="container">
|
||||
|
||||
<h2>Ebiten example - polygons</h2>
|
||||
<iframe src="https://jsgo.io/github.com/hajimehoshi/ebiten/examples/polygons" width="640" height="480" allow="autoplay"></iframe>
|
||||
<p><a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/polygons">Go Playground page</a></p>
|
||||
|
||||
</div></main>
|
||||
|
||||
<footer><div class="container">
|
||||
<p>© 2013 Hajime Hoshi</p>
|
||||
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">the Apache License 2.0</a>.</p>
|
||||
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
|
||||
</div></footer>
|
||||
|
||||
<script src="../scripts/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
@ -1,41 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/raycasting.png">
|
||||
<meta name="description" content="Ebiten example - raycasting">
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - raycasting</title>
|
||||
|
||||
<link rel="stylesheet" href="../stylesheets/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="../stylesheets/highlight-github.css">
|
||||
<link rel="stylesheet" href="../stylesheets/ebiten.css">
|
||||
<script src="../scripts/googleanalytics.js"></script>
|
||||
|
||||
<nav class="navbar"><div class="container">
|
||||
<nav class="d-flex flex-row" style="width: 100%;">
|
||||
<div class="nav mr-auto"><a class="navbar-brand" href="../"><img src="../images/logo_white.svg" alt="EBITEN"></a></div>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">API Document</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki/Cheat-Sheet">Cheat Sheet</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a>
|
||||
</ul>
|
||||
</nav>
|
||||
</div></nav>
|
||||
|
||||
<main><div class="container">
|
||||
|
||||
<h2>Ebiten example - raycasting</h2>
|
||||
<iframe src="https://jsgo.io/github.com/hajimehoshi/ebiten/examples/raycasting" width="480" height="480" allow="autoplay"></iframe>
|
||||
<p><a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/raycasting">Go Playground page</a></p>
|
||||
|
||||
</div></main>
|
||||
|
||||
<footer><div class="container">
|
||||
<p>© 2013 Hajime Hoshi</p>
|
||||
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">the Apache License 2.0</a>.</p>
|
||||
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
|
||||
</div></footer>
|
||||
|
||||
<script src="../scripts/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
@ -1,41 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/sinewave.png">
|
||||
<meta name="description" content="Ebiten example - sinewave">
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - sinewave</title>
|
||||
|
||||
<link rel="stylesheet" href="../stylesheets/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="../stylesheets/highlight-github.css">
|
||||
<link rel="stylesheet" href="../stylesheets/ebiten.css">
|
||||
<script src="../scripts/googleanalytics.js"></script>
|
||||
|
||||
<nav class="navbar"><div class="container">
|
||||
<nav class="d-flex flex-row" style="width: 100%;">
|
||||
<div class="nav mr-auto"><a class="navbar-brand" href="../"><img src="../images/logo_white.svg" alt="EBITEN"></a></div>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">API Document</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki/Cheat-Sheet">Cheat Sheet</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a>
|
||||
</ul>
|
||||
</nav>
|
||||
</div></nav>
|
||||
|
||||
<main><div class="container">
|
||||
|
||||
<h2>Ebiten example - sinewave</h2>
|
||||
<iframe src="https://jsgo.io/github.com/hajimehoshi/ebiten/examples/sinewave" width="640" height="480" allow="autoplay"></iframe>
|
||||
<p><a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/sinewave">Go Playground page</a></p>
|
||||
|
||||
</div></main>
|
||||
|
||||
<footer><div class="container">
|
||||
<p>© 2013 Hajime Hoshi</p>
|
||||
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">the Apache License 2.0</a>.</p>
|
||||
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
|
||||
</div></footer>
|
||||
|
||||
<script src="../scripts/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
@ -1,41 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/sprites.png">
|
||||
<meta name="description" content="Ebiten example - sprites">
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - sprites</title>
|
||||
|
||||
<link rel="stylesheet" href="../stylesheets/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="../stylesheets/highlight-github.css">
|
||||
<link rel="stylesheet" href="../stylesheets/ebiten.css">
|
||||
<script src="../scripts/googleanalytics.js"></script>
|
||||
|
||||
<nav class="navbar"><div class="container">
|
||||
<nav class="d-flex flex-row" style="width: 100%;">
|
||||
<div class="nav mr-auto"><a class="navbar-brand" href="../"><img src="../images/logo_white.svg" alt="EBITEN"></a></div>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">API Document</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki/Cheat-Sheet">Cheat Sheet</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a>
|
||||
</ul>
|
||||
</nav>
|
||||
</div></nav>
|
||||
|
||||
<main><div class="container">
|
||||
|
||||
<h2>Ebiten example - sprites</h2>
|
||||
<iframe src="https://jsgo.io/github.com/hajimehoshi/ebiten/examples/sprites" width="640" height="480" allow="autoplay"></iframe>
|
||||
<p><a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/sprites">Go Playground page</a></p>
|
||||
|
||||
</div></main>
|
||||
|
||||
<footer><div class="container">
|
||||
<p>© 2013 Hajime Hoshi</p>
|
||||
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">the Apache License 2.0</a>.</p>
|
||||
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
|
||||
</div></footer>
|
||||
|
||||
<script src="../scripts/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
@ -1,41 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/tiles.png">
|
||||
<meta name="description" content="Ebiten example - tiles">
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - tiles</title>
|
||||
|
||||
<link rel="stylesheet" href="../stylesheets/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="../stylesheets/highlight-github.css">
|
||||
<link rel="stylesheet" href="../stylesheets/ebiten.css">
|
||||
<script src="../scripts/googleanalytics.js"></script>
|
||||
|
||||
<nav class="navbar"><div class="container">
|
||||
<nav class="d-flex flex-row" style="width: 100%;">
|
||||
<div class="nav mr-auto"><a class="navbar-brand" href="../"><img src="../images/logo_white.svg" alt="EBITEN"></a></div>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">API Document</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki/Cheat-Sheet">Cheat Sheet</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a>
|
||||
</ul>
|
||||
</nav>
|
||||
</div></nav>
|
||||
|
||||
<main><div class="container">
|
||||
|
||||
<h2>Ebiten example - tiles</h2>
|
||||
<iframe src="https://jsgo.io/github.com/hajimehoshi/ebiten/examples/tiles" width="480" height="480" allow="autoplay"></iframe>
|
||||
<p><a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/tiles">Go Playground page</a></p>
|
||||
|
||||
</div></main>
|
||||
|
||||
<footer><div class="container">
|
||||
<p>© 2013 Hajime Hoshi</p>
|
||||
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">the Apache License 2.0</a>.</p>
|
||||
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
|
||||
</div></footer>
|
||||
|
||||
<script src="../scripts/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
@ -1,41 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/typewriter.png">
|
||||
<meta name="description" content="Ebiten example - typewriter">
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - typewriter</title>
|
||||
|
||||
<link rel="stylesheet" href="../stylesheets/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="../stylesheets/highlight-github.css">
|
||||
<link rel="stylesheet" href="../stylesheets/ebiten.css">
|
||||
<script src="../scripts/googleanalytics.js"></script>
|
||||
|
||||
<nav class="navbar"><div class="container">
|
||||
<nav class="d-flex flex-row" style="width: 100%;">
|
||||
<div class="nav mr-auto"><a class="navbar-brand" href="../"><img src="../images/logo_white.svg" alt="EBITEN"></a></div>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">API Document</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki/Cheat-Sheet">Cheat Sheet</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a>
|
||||
</ul>
|
||||
</nav>
|
||||
</div></nav>
|
||||
|
||||
<main><div class="container">
|
||||
|
||||
<h2>Ebiten example - typewriter</h2>
|
||||
<iframe src="https://jsgo.io/github.com/hajimehoshi/ebiten/examples/typewriter" width="640" height="480" allow="autoplay"></iframe>
|
||||
<p><a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/typewriter">Go Playground page</a></p>
|
||||
|
||||
</div></main>
|
||||
|
||||
<footer><div class="container">
|
||||
<p>© 2013 Hajime Hoshi</p>
|
||||
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">the Apache License 2.0</a>.</p>
|
||||
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
|
||||
</div></footer>
|
||||
|
||||
<script src="../scripts/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
@ -1,41 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/examples/wheel.png">
|
||||
<meta name="description" content="Ebiten example - wheel">
|
||||
<link rel="shortcut icon" href="../favicon.png" type="image/png" >
|
||||
<link rel="icon" href="../favicon.png" type="image/png" >
|
||||
<title>Ebiten example - wheel</title>
|
||||
|
||||
<link rel="stylesheet" href="../stylesheets/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="../stylesheets/highlight-github.css">
|
||||
<link rel="stylesheet" href="../stylesheets/ebiten.css">
|
||||
<script src="../scripts/googleanalytics.js"></script>
|
||||
|
||||
<nav class="navbar"><div class="container">
|
||||
<nav class="d-flex flex-row" style="width: 100%;">
|
||||
<div class="nav mr-auto"><a class="navbar-brand" href="../"><img src="../images/logo_white.svg" alt="EBITEN"></a></div>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">API Document</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki/Cheat-Sheet">Cheat Sheet</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a>
|
||||
</ul>
|
||||
</nav>
|
||||
</div></nav>
|
||||
|
||||
<main><div class="container">
|
||||
|
||||
<h2>Ebiten example - wheel</h2>
|
||||
<iframe src="https://jsgo.io/github.com/hajimehoshi/ebiten/examples/wheel" width="640" height="480" allow="autoplay"></iframe>
|
||||
<p><a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/wheel">Go Playground page</a></p>
|
||||
|
||||
</div></main>
|
||||
|
||||
<footer><div class="container">
|
||||
<p>© 2013 Hajime Hoshi</p>
|
||||
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">the Apache License 2.0</a>.</p>
|
||||
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
|
||||
</div></footer>
|
||||
|
||||
<script src="../scripts/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
BIN
docs/favicon.png
Before Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 254 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 8.3 KiB |
Before Width: | Height: | Size: 54 KiB |
Before Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 942 KiB |
Before Width: | Height: | Size: 64 KiB |
Before Width: | Height: | Size: 76 KiB |
Before Width: | Height: | Size: 145 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 66 KiB |
Before Width: | Height: | Size: 93 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 225 KiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 282 KiB |
Before Width: | Height: | Size: 87 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 100 KiB |
Before Width: | Height: | Size: 87 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 175 KiB |
Before Width: | Height: | Size: 7.0 KiB |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 9.5 KiB |
@ -1,27 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="200px" height="220px" viewBox="0 0 200 220" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 46.2 (44496) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>Regular</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs>
|
||||
<path d="M0,0 L19.2,0 L19.2,1.52 L1.76,1.52 L1.76,12.96 L18.16,12.96 L18.16,14.48 L1.76,14.48 L1.76,27.04 L19.4,27.04 L19.4,28.56 L0,28.56 L0,0 Z M26.4,0 L37.84,0 C39.5466752,0 40.9733276,0.2133312 42.12,0.64 C43.2666724,1.0666688 44.1866632,1.6266632 44.88,2.32 C45.5733368,3.0133368 46.0733318,3.8066622 46.38,4.7 C46.6866682,5.5933378 46.84,6.4933288 46.84,7.4 C46.84,8.1733372 46.706668,8.9066632 46.44,9.6 C46.173332,10.2933368 45.7933358,10.906664 45.3,11.44 C44.8066642,11.973336 44.2200034,12.4199982 43.54,12.78 C42.8599966,13.1400018 42.1066708,13.3733328 41.28,13.48 L41.36,13.56 C41.5466676,13.5333332 41.9866632,13.6133324 42.68,13.8 C43.3733368,13.9866676 44.0999962,14.3399974 44.86,14.86 C45.6200038,15.3800026 46.299997,16.0999954 46.9,17.02 C47.500003,17.9400046 47.8,19.1199928 47.8,20.56 C47.8,21.8666732 47.5600024,23.0133284 47.08,24 C46.5999976,24.9866716 45.926671,25.8199966 45.06,26.5 C44.193329,27.1800034 43.1466728,27.6933316 41.92,28.04 C40.6933272,28.3866684 39.3333408,28.56 37.84,28.56 L26.4,28.56 L26.4,0 Z M37.84,12.96 C40.2666788,12.96 42.079994,12.4200054 43.28,11.34 C44.480006,10.2599946 45.08,8.8400088 45.08,7.08 C45.08,6.0399948 44.880002,5.1666702 44.48,4.46 C44.079998,3.7533298 43.54667,3.1800022 42.88,2.74 C42.21333,2.2999978 41.446671,1.9866676 40.58,1.8 C39.713329,1.6133324 38.8000048,1.52 37.84,1.52 L28.16,1.52 L28.16,12.96 L37.84,12.96 Z M37.84,27.04 C40.4000128,27.04 42.4066594,26.5000054 43.86,25.42 C45.3133406,24.3399946 46.04,22.7200108 46.04,20.56 C46.04,19.3333272 45.7866692,18.3266706 45.28,17.54 C44.7733308,16.7533294 44.1266706,16.1333356 43.34,15.68 C42.5533294,15.2266644 41.6733382,14.9133342 40.7,14.74 C39.7266618,14.5666658 38.773338,14.48 37.84,14.48 L28.16,14.48 L28.16,27.04 L37.84,27.04 Z M55.6,0 L57.36,0 L57.36,28.56 L55.6,28.56 L55.6,0 Z M63.32,1.52 L63.32,0 L85.2,0 L85.2,1.52 L75.12,1.52 L75.12,28.56 L73.36,28.56 L73.36,1.52 L63.32,1.52 Z M91.16,0 L110.36,0 L110.36,1.52 L92.92,1.52 L92.92,12.96 L109.32,12.96 L109.32,14.48 L92.92,14.48 L92.92,27.04 L110.56,27.04 L110.56,28.56 L91.16,28.56 L91.16,0 Z M117.56,0 L119.76,0 L137.8,26.2 L137.88,26.2 L137.88,0 L139.64,0 L139.64,28.56 L137.56,28.56 L119.4,2.16 L119.32,2.16 L119.32,28.56 L117.56,28.56 L117.56,0 Z" id="path-1"></path>
|
||||
</defs>
|
||||
<g id="Logo" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="Regular">
|
||||
<g id="Tenpura-with-Text" transform="translate(30.000000, 20.000000)">
|
||||
<g id="Tempura" transform="translate(10.000000, 0.000000)" fill-rule="evenodd" stroke-width="5" stroke-linejoin="round">
|
||||
<polygon id="Red" stroke="#DD664F" fill="#DD664F" points="80 0 80 40 120 40 120 20 100 20 100 0"></polygon>
|
||||
<rect id="Yellow1" stroke="#FFDB33" fill="#FFDB33" x="40" y="40" width="40" height="40"></rect>
|
||||
<rect id="Yellow2" stroke="#FACB37" fill="#FACB37" x="20" y="60" width="40" height="40"></rect>
|
||||
<rect id="Yellow3" stroke="#F5BA3B" fill="#F5BA3B" x="0" y="80" width="40" height="40"></rect>
|
||||
</g>
|
||||
<g id="Text" transform="translate(0.000000, 151.000000)">
|
||||
<mask id="mask-2" fill="white">
|
||||
<use xlink:href="#path-1"></use>
|
||||
</mask>
|
||||
<use stroke="#657378" stroke-width="2" fill="#657378" fill-rule="evenodd" stroke-linejoin="round" xlink:href="#path-1"></use>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 3.8 KiB |
@ -1,4 +0,0 @@
|
||||
Red: 0080-Y70R #DD664F
|
||||
Yellow1: 0080-Y #FFDB33
|
||||
Yellow2: 0080-Y10R #FACB37
|
||||
Yellow3: 0080-Y20R #F5BA3B
|
@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="160px" height="160px" viewBox="0 0 160 160" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 46.2 (44496) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>White</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Logo" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linejoin="round">
|
||||
<g id="White" stroke="#FFFFFF" stroke-width="5" fill="#FFFFFF">
|
||||
<g id="Tempura" transform="translate(20.000000, 20.000000)">
|
||||
<polygon id="Red" points="80 0 80 40 120 40 120 20 100 20 100 0"></polygon>
|
||||
<rect id="Yellow1" x="40" y="40" width="40" height="40"></rect>
|
||||
<rect id="Yellow2" x="20" y="60" width="40" height="40"></rect>
|
||||
<rect id="Yellow3" x="0" y="80" width="40" height="40"></rect>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 978 B |
Before Width: | Height: | Size: 264 KiB |
Before Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 59 KiB |
Before Width: | Height: | Size: 12 KiB |
208
docs/index.html
@ -1,205 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://hajimehoshi.github.io/ebiten/images/logo.png">
|
||||
<meta name="description" content="Ebiten - A dead simple 2D game library in Go">
|
||||
<link rel="shortcut icon" href="./favicon.png" type="image/png">
|
||||
<link rel="icon" href="./favicon.png" type="image/png">
|
||||
<title>Ebiten - A dead simple 2D game library in Go</title>
|
||||
|
||||
<link rel="stylesheet" href="./stylesheets/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="./stylesheets/highlight-github.css">
|
||||
<link rel="stylesheet" href="./stylesheets/ebiten.css">
|
||||
<script src="./scripts/googleanalytics.js"></script>
|
||||
|
||||
<nav class="navbar"><div class="container">
|
||||
<div class="d-flex flex-row" style="width: 100%;">
|
||||
<div class="nav mr-auto"><a class="navbar-brand" href="./"><img src="images/logo_white.svg" alt="EBITEN"></a></div>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">API Document</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki/Cheat-Sheet">Cheat Sheet</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div></nav>
|
||||
|
||||
<header class="jumbotron jumbotron-fluid"><div class="container text-center">
|
||||
<h1><img src="images/logo.svg" alt="EBITEN" style="width: 165px; height: 181.5px;"></h1>
|
||||
<p class="lead">A dead simple 2D game library in Go</p>
|
||||
</div></header>
|
||||
|
||||
<main><div class="container">
|
||||
<dl class="row">
|
||||
<dt class="col-3 text-right">Stable Version</dt>
|
||||
<dd class="col-9">v1.9.0</dd>
|
||||
|
||||
<dt class="col-3 text-right">Development Version</dt>
|
||||
<dd class="col-9">v1.10.0-alpha</dd>
|
||||
</dl>
|
||||
|
||||
<h2>Featured Projects</h2>
|
||||
<div class="row">
|
||||
<div class="col-3">
|
||||
<a href="https://daigostudio.com/bearsrestaurant/"><img src="images/projects/bears_restaurant.png" width="960" height="960" alt="Bear's Restaurant" class="img-thumbnail"></a>
|
||||
</div>
|
||||
<div class="col-3">
|
||||
<a href="http://blockbros.net/bluebird/"><img src="images/projects/bluebird_of_happiness.png" width="540" height="540" alt="Bluebird of Happiness" class="img-thumbnail"></a>
|
||||
</div>
|
||||
<div class="col-3">
|
||||
<a href="http://blockbros.net/tsugunai/"><img src="images/projects/clock_of_atonement.png" width="480" height="480" alt="Clock of Atonement" class="img-thumbnail"></a>
|
||||
</div>
|
||||
<div class="col-3">
|
||||
<a href="https://github.com/hajimehoshi/go-inovation"><img src="images/projects/inovation.png" width="1024" height="500" alt="Inovation 2007" class="img-thumbnail"></a>
|
||||
</div>
|
||||
</div>
|
||||
<p><a href="https://github.com/hajimehoshi/ebiten/wiki/Works">Find more nice works with Ebiten!</a></p>
|
||||
|
||||
<h2>Game Examples</h2>
|
||||
<div class="row">
|
||||
<div class="col-3">
|
||||
<a href="./examples/2048.html"><img src="images/examples/2048.png" width="420" height="315" alt="Ebiten example: 2048" class="img-thumbnail"></a>
|
||||
</div><div class="col-3">
|
||||
<a href="./examples/blocks.html"><img src="images/examples/blocks.png" width="256" height="192" alt="Ebiten example: blocks" class="img-thumbnail"></a>
|
||||
</div><div class="col-3">
|
||||
<a href="./examples/flappy.html"><img src="images/examples/flappy.png" width="320" height="240" alt="Ebiten example: flappy" class="img-thumbnail"></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h2>Platforms</h2>
|
||||
<dl class="row">
|
||||
<dt class="col-3 text-right">Desktops</dt>
|
||||
<dd class="col-9"><a href="https://github.com/hajimehoshi/ebiten/wiki/Windows">Windows</a> (No Cgo!), <a href="https://github.com/hajimehoshi/ebiten/wiki/macOS">macOS</a>, <a href="https://github.com/hajimehoshi/ebiten/wiki/Linux">Linux</a>, <a href="https://github.com/hajimehoshi/ebiten/wiki/FreeBSD">FreeBSD</a></dd>
|
||||
<dt class="col-3 text-right">Mobiles</dt>
|
||||
<dd class="col-9"><a href="https://github.com/hajimehoshi/ebiten/wiki/Android">Android</a>, <a href="https://github.com/hajimehoshi/ebiten/wiki/iOS">iOS</a></dd>
|
||||
<dt class="col-3 text-right">Web browsers</dt>
|
||||
<dd class="col-9">Chrome, Firefox, Safari and Edge (<a href="https://github.com/hajimehoshi/ebiten/wiki/GopherJS">GopherJS</a> and <a href="https://github.com/hajimehoshi/ebiten/wiki/WebAssembly">WebAssembly (Experimental)</a>)</dd>
|
||||
</dl>
|
||||
<p><small>Note: Gamepads and keyboard are not available on Android/iOS.</small></p>
|
||||
|
||||
<h2>Features</h2>
|
||||
<dl class="row">
|
||||
<dt class="col-3 text-right">2D Graphics</dt>
|
||||
<dd class="col-9">Geometry/Color matrix transformation, Various composition modes, Offscreen rendering, Fullscreen, Text rendering, Automatic batches, Automatic texture atlas</dd>
|
||||
<dt class="col-3 text-right">Input</dt>
|
||||
<dd class="col-9">Mouse, Keyboard, Gamepads, Touches</dd>
|
||||
<dt class="col-3 text-right">Audio</dt>
|
||||
<dd class="col-9">Ogg/Vorbis, MP3, WAV, PCM</dd>
|
||||
</dl>
|
||||
|
||||
<h2>Examples</h2>
|
||||
<h3>Graphics</h3>
|
||||
<div class="row">
|
||||
<div class="col-3">
|
||||
<a href="./examples/airship.html"><img src="images/examples/airship.png" width="320" height="240" alt="Ebiten example: airship" class="img-thumbnail"></a>
|
||||
</div><div class="col-3">
|
||||
<a href="./examples/animation.html"><img src="images/examples/animation.png" width="320" height="240" alt="Ebiten example: animation" class="img-thumbnail"></a>
|
||||
</div><div class="col-3">
|
||||
<a href="./examples/blur.html"><img src="images/examples/blur.png" width="320" height="240" alt="Ebiten example: blur" class="img-thumbnail"></a>
|
||||
</div><div class="col-3">
|
||||
<a href="./examples/drag.html"><img src="images/examples/drag.png" width="320" height="240" alt="Ebiten example: drag" class="img-thumbnail"></a>
|
||||
</div><div class="col-3">
|
||||
<a href="./examples/filter.html"><img src="images/examples/filter.png" width="320" height="240" alt="Ebiten example: filter" class="img-thumbnail"></a>
|
||||
</div><div class="col-3">
|
||||
<a href="./examples/flood.html"><img src="images/examples/flood.png" width="320" height="240" alt="Ebiten example: flood" class="img-thumbnail"></a>
|
||||
</div><div class="col-3">
|
||||
<a href="./examples/font.html"><img src="images/examples/font.png" width="320" height="240" alt="Ebiten example: font" class="img-thumbnail"></a>
|
||||
</div><div class="col-3">
|
||||
<a href="./examples/highdpi.html"><img src="images/examples/highdpi.png" width="320" height="240" alt="Ebiten example: highdpi" class="img-thumbnail"></a>
|
||||
</div><div class="col-3">
|
||||
<a href="./examples/hsv.html"><img src="images/examples/hsv.png" width="320" height="240" alt="Ebiten example: hsv" class="img-thumbnail"></a>
|
||||
</div><div class="col-3">
|
||||
<a href="./examples/infinitescroll.html"><img src="images/examples/infinitescroll.png" width="320" height="240" alt="Ebiten example: infinitescroll" class="img-thumbnail"></a>
|
||||
</div><div class="col-3">
|
||||
<a href="./examples/life.html"><img src="images/examples/life.png" width="320" height="240" alt="Ebiten example: life" class="img-thumbnail"></a>
|
||||
</div><div class="col-3">
|
||||
<a href="./examples/mandelbrot.html"><img src="images/examples/mandelbrot.png" width="320" height="320" alt="Ebiten example: mandelbrot" class="img-thumbnail"></a>
|
||||
</div><div class="col-3">
|
||||
<a href="./examples/masking.html"><img src="images/examples/masking.png" width="320" height="240" alt="Ebiten example: masking" class="img-thumbnail"></a>
|
||||
</div><div class="col-3">
|
||||
<a href="./examples/mosaic.html"><img src="images/examples/mosaic.png" width="320" height="240" alt="Ebiten example: mosaic" class="img-thumbnail"></a>
|
||||
</div><div class="col-3">
|
||||
<a href="./examples/noise.html"><img src="images/examples/noise.png" width="320" height="240" alt="Ebiten example: noise" class="img-thumbnail"></a>
|
||||
</div><div class="col-3">
|
||||
<a href="./examples/paint.html"><img src="images/examples/paint.png" width="320" height="240" alt="Ebiten example: paint" class="img-thumbnail"></a>
|
||||
</div><div class="col-3">
|
||||
<a href="./examples/particles.html"><img src="images/examples/particles.png" width="320" height="240" alt="Ebiten example: particles" class="img-thumbnail"></a>
|
||||
</div><div class="col-3">
|
||||
<a href="./examples/perspective.html"><img src="images/examples/perspective.png" width="320" height="240" alt="Ebiten example: perspective" class="img-thumbnail"></a>
|
||||
</div><div class="col-3">
|
||||
<a href="./examples/polygons.html"><img src="images/examples/polygons.png" width="320" height="240" alt="Ebiten example: polygons" class="img-thumbnail"></a>
|
||||
</div><div class="col-3">
|
||||
<a href="./examples/raycasting.html"><img src="images/examples/raycasting.png" width="320" height="240" alt="Ebiten example: raycasting" class="img-thumbnail"></a>
|
||||
</div><div class="col-3">
|
||||
<a href="./examples/sprites.html"><img src="images/examples/sprites.png" width="320" height="240" alt="Ebiten example: sprites" class="img-thumbnail"></a>
|
||||
</div><div class="col-3">
|
||||
<a href="./examples/tiles.html"><img src="images/examples/tiles.png" width="320" height="240" alt="Ebiten example: tiles" class="img-thumbnail"></a>
|
||||
</div>
|
||||
</div>
|
||||
<h3>Input</h3>
|
||||
<div class="row">
|
||||
<div class="col-3">
|
||||
<a href="./examples/gamepad.html"><img src="images/examples/gamepad.png" width="320" height="240" alt="Ebiten example: gamepad" class="img-thumbnail"></a>
|
||||
</div><div class="col-3">
|
||||
<a href="./examples/keyboard.html"><img src="images/examples/keyboard.png" width="320" height="240" alt="Ebiten example: keyboard" class="img-thumbnail"></a>
|
||||
</div><div class="col-3">
|
||||
<a href="./examples/typewriter.html"><img src="images/examples/typewriter.png" width="320" height="240" alt="Ebiten example: typewriter" class="img-thumbnail"></a>
|
||||
</div><div class="col-3">
|
||||
<a href="./examples/wheel.html"><img src="images/examples/wheel.png" width="320" height="240" alt="Ebiten example: wheel" class="img-thumbnail"></a>
|
||||
</div>
|
||||
</div>
|
||||
<h3>Audio</h3>
|
||||
<div class="row">
|
||||
<div class="col-3">
|
||||
<a href="./examples/audio.html"><img src="images/examples/audio.png" width="320" height="240" alt="Ebiten example: audio" class="img-thumbnail"></a>
|
||||
</div><div class="col-3">
|
||||
<a href="./examples/piano.html"><img src="images/examples/piano.png" width="320" height="240" alt="Ebiten example: piano" class="img-thumbnail"></a>
|
||||
</div><div class="col-3">
|
||||
<a href="./examples/sinewave.html"><img src="images/examples/sinewave.png" width="320" height="240" alt="Ebiten example: sinewave" class="img-thumbnail"></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p><a href="https://blog.golang.org/go-programming-language-turns-two">The Gopher photographs by Chris Nokleberg</a> are licensed under <a href="https://creativecommons.org/licenses/by/3.0/">the Creative Commons 3.0 Attributions License</a>.</p>
|
||||
|
||||
<h3>Execute the examples</h3>
|
||||
<div class="card"><pre class="card-body"><code class="language-bash">go get github.com/hajimehoshi/ebiten/...
|
||||
cd $GOPATH/src/github.com/hajimehoshi/ebiten/examples
|
||||
go run -tags=example rotate/main.go</code></pre></div>
|
||||
<p>Note that you need to add <code>-tags=example</code> to run examples.</p>
|
||||
|
||||
<h2>Getting Started</h2>
|
||||
|
||||
<p>Let's build a simple "Hello world!" game to get started with Ebiten.
|
||||
First create a new directory (<code>mkdir hello_world</code>), and change
|
||||
into it (<code>cd hello_world</code>). Type the following code into
|
||||
the <code>main.go</code> file:</p>
|
||||
|
||||
<div class="card"><pre class="card-body"><code class="language-go">package main
|
||||
|
||||
import (
|
||||
"github.com/hajimehoshi/ebiten"
|
||||
"github.com/hajimehoshi/ebiten/ebitenutil"
|
||||
)
|
||||
|
||||
func update(screen *ebiten.Image) error {
|
||||
ebitenutil.DebugPrint(screen, "Hello world!")
|
||||
return nil
|
||||
}
|
||||
|
||||
func main() {
|
||||
ebiten.Run(update, 320, 240, 2, "Hello world!")
|
||||
}
|
||||
</code></pre></div>
|
||||
|
||||
<p>Run the <code>go run</code> command to start the
|
||||
game. There you have it, your first Ebiten game!</p>
|
||||
|
||||
</div></main>
|
||||
|
||||
<footer><div class="container">
|
||||
<p>© 2013 Hajime Hoshi</p>
|
||||
<p>Code is licensed under <a href="https://github.com/hajimehoshi/ebiten/blob/master/LICENSE">the Apache License 2.0</a>.</p>
|
||||
<p>The content of this page is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">the Creative Commons Attribution 4.0 License</a>.</p>
|
||||
</div></footer>
|
||||
|
||||
<script src="./scripts/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<link rel="canonical" href="http://ebiten.org/">
|
||||
<meta http-equiv="refresh" content="0; url=http://ebiten.org/">
|
||||
<p>This page was moved to <a href="http://ebiten.org/">https://ebiten.org/</a></p>
|
||||
|
@ -1,10 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<a href="https://play.jsgo.io/b4704417f6462d4d2724cfd5c3da744b4b17f4af" id="redirect">Playground</a>
|
||||
<script>
|
||||
window.onload = () => {
|
||||
let meta = document.createElement('meta');
|
||||
meta.content = '0;' + document.getElementById('redirect').href;
|
||||
meta.httpEquiv = 'refresh';
|
||||
document.head.appendChild(meta);
|
||||
};
|
||||
</script>
|
@ -1,14 +0,0 @@
|
||||
(function() {
|
||||
var location = window.location;
|
||||
if (location.hostname === 'localhost' || location.hostname === '127.0.0.1') {
|
||||
return;
|
||||
}
|
||||
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
||||
|
||||
ga('create', 'UA-83252440-1', 'auto');
|
||||
ga('send', 'pageview');
|
||||
})();
|
7
docs/stylesheets/bootstrap.min.css
vendored
@ -1,88 +0,0 @@
|
||||
body {
|
||||
background-color: #fff;
|
||||
color: #657378; /* 5010-B */
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
h2, h3, h4, h5, h6, .lead {
|
||||
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
font-family: "HelveticaNeue-Regular", "Helvetica Neue Regular", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
dt {
|
||||
color: #4c595e; /* 6010-B */
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.img-thumbnail {
|
||||
background-color: #000;
|
||||
border-color: #657378;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
margin-bottom: 1rem;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
pre.card-body {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
nav {
|
||||
background-color: #657378;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
nav a {
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.nav {
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.navbar-brand img {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.jumbotron {
|
||||
background-color: #fff;
|
||||
padding-top: 2rem;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
footer {
|
||||
background-color: #657378;
|
||||
color: #fff;
|
||||
margin-top: 1.42857143rem;
|
||||
padding-top: 1rem;
|
||||
padding-bottom: 1px;
|
||||
}
|
||||
|
||||
footer a {
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
iframe {
|
||||
border-color: #ddd;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
.hljs {
|
||||
background: transparent;
|
||||
}
|
@ -1,99 +0,0 @@
|
||||
/*
|
||||
|
||||
github.com style (c) Vasily Polovnyov <vast@whiteants.net>
|
||||
|
||||
*/
|
||||
|
||||
.hljs {
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
padding: 0.5em;
|
||||
color: #333;
|
||||
background: #f8f8f8;
|
||||
}
|
||||
|
||||
.hljs-comment,
|
||||
.hljs-quote {
|
||||
color: #998;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.hljs-keyword,
|
||||
.hljs-selector-tag,
|
||||
.hljs-subst {
|
||||
color: #333;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.hljs-number,
|
||||
.hljs-literal,
|
||||
.hljs-variable,
|
||||
.hljs-template-variable,
|
||||
.hljs-tag .hljs-attr {
|
||||
color: #008080;
|
||||
}
|
||||
|
||||
.hljs-string,
|
||||
.hljs-doctag {
|
||||
color: #d14;
|
||||
}
|
||||
|
||||
.hljs-title,
|
||||
.hljs-section,
|
||||
.hljs-selector-id {
|
||||
color: #900;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.hljs-subst {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.hljs-type,
|
||||
.hljs-class .hljs-title {
|
||||
color: #458;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.hljs-tag,
|
||||
.hljs-name,
|
||||
.hljs-attribute {
|
||||
color: #000080;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.hljs-regexp,
|
||||
.hljs-link {
|
||||
color: #009926;
|
||||
}
|
||||
|
||||
.hljs-symbol,
|
||||
.hljs-bullet {
|
||||
color: #990073;
|
||||
}
|
||||
|
||||
.hljs-built_in,
|
||||
.hljs-builtin-name {
|
||||
color: #0086b3;
|
||||
}
|
||||
|
||||
.hljs-meta {
|
||||
color: #999;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.hljs-deletion {
|
||||
background: #fdd;
|
||||
}
|
||||
|
||||
.hljs-addition {
|
||||
background: #dfd;
|
||||
}
|
||||
|
||||
.hljs-emphasis {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.hljs-strong {
|
||||
font-weight: bold;
|
||||
}
|