mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
docs: Add examples/raycasting
This commit is contained in:
parent
1f277f7a2c
commit
3c18e992a3
@ -154,6 +154,7 @@ var (
|
||||
{Name: "paint", ThumbWidth: 320, ThumbHeight: 240},
|
||||
{Name: "perspective", ThumbWidth: 320, ThumbHeight: 240},
|
||||
{Name: "polygons", ThumbWidth: 320, ThumbHeight: 240},
|
||||
{Name: "raycasting", ThumbWidth: 240, ThumbHeight: 240},
|
||||
{Name: "rotate", ThumbWidth: 320, ThumbHeight: 240},
|
||||
{Name: "sprites", ThumbWidth: 320, ThumbHeight: 240},
|
||||
{Name: "tiles", ThumbWidth: 240, ThumbHeight: 240},
|
||||
|
41
docs/examples/raycasting.html
Normal file
41
docs/examples/raycasting.html
Normal file
@ -0,0 +1,41 @@
|
||||
<!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>
|
BIN
docs/images/examples/raycasting.png
Normal file
BIN
docs/images/examples/raycasting.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 130 KiB |
@ -111,6 +111,8 @@
|
||||
<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="240" height="240" alt="Ebiten example: raycasting" 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