mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-26 02:42:02 +01:00
docs: Add examples/polygons
This commit is contained in:
parent
c14e6f3e90
commit
161eaa1544
@ -150,6 +150,7 @@ var (
|
||||
{Name: "noise", ThumbWidth: 320, ThumbHeight: 240},
|
||||
{Name: "paint", ThumbWidth: 320, ThumbHeight: 240},
|
||||
{Name: "perspective", ThumbWidth: 320, ThumbHeight: 240},
|
||||
{Name: "polygons", ThumbWidth: 320, ThumbHeight: 240},
|
||||
{Name: "rotate", ThumbWidth: 320, ThumbHeight: 240},
|
||||
{Name: "sprites", ThumbWidth: 320, ThumbHeight: 240},
|
||||
{Name: "tiles", ThumbWidth: 240, ThumbHeight: 240},
|
||||
|
40
docs/examples/polygons.html
Normal file
40
docs/examples/polygons.html
Normal file
@ -0,0 +1,40 @@
|
||||
<!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">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 - 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>
|
BIN
docs/images/examples/polygons.png
Normal file
BIN
docs/images/examples/polygons.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
@ -105,6 +105,8 @@
|
||||
<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/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/rotate.html"><img src="images/examples/rotate.png" width="320" height="240" alt="Ebiten example: rotate" class="img-thumbnail"></a>
|
||||
</div><div class="col-3">
|
||||
|
Loading…
Reference in New Issue
Block a user