mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
docs: Add examples/flappy
This commit is contained in:
parent
bf3b45f929
commit
5fa4447c7c
@ -139,6 +139,7 @@ var (
|
||||
gamesExamples = []example{
|
||||
{Name: "2048", ThumbWidth: 210, ThumbHeight: 300},
|
||||
{Name: "blocks", ThumbWidth: 256, ThumbHeight: 240},
|
||||
{Name: "flappy", ThumbWidth: 320, ThumbHeight: 240},
|
||||
}
|
||||
graphicsExamples = []example{
|
||||
{Name: "airship", ThumbWidth: 320, ThumbHeight: 240},
|
||||
|
39
docs/examples/flappy.html
Normal file
39
docs/examples/flappy.html
Normal file
@ -0,0 +1,39 @@
|
||||
<!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">GoDoc</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>
|
||||
<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>
|
BIN
docs/images/examples/flappy.png
Normal file
BIN
docs/images/examples/flappy.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
@ -65,6 +65,8 @@
|
||||
<a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/2048"><img src="images/examples/2048.png" width="210" height="300" alt="Ebiten example: 2048" class="img-thumbnail"></a>
|
||||
</div><div class="col-3">
|
||||
<a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/blocks"><img src="images/examples/blocks.png" width="256" height="240" alt="Ebiten example: blocks" class="img-thumbnail"></a>
|
||||
</div><div class="col-3">
|
||||
<a href="https://play.jsgo.io/github.com/hajimehoshi/ebiten/examples/flappy"><img src="images/examples/flappy.png" width="320" height="240" alt="Ebiten example: flappy" class="img-thumbnail"></a>
|
||||
</div>
|
||||
</div>
|
||||
<h3>Graphics</h3>
|
||||
|
Loading…
Reference in New Issue
Block a user