From 3bdb21a695c68ae67b8e7f427191f994c655cbb8 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Tue, 6 Feb 2018 03:59:10 +0900 Subject: [PATCH] docs: Add examples/tiles --- _docs/gen.go | 1 + docs/examples/_resources/images/license.md | 8 ++ docs/examples/_resources/images/tiles.png | Bin 0 -> 18369 bytes docs/examples/tiles.content.html | 31 +++++ docs/examples/tiles.html | 152 +++++++++++++++++++++ docs/images/examples/tiles.png | Bin 0 -> 4869 bytes docs/index.html | 2 + 7 files changed, 194 insertions(+) create mode 100644 docs/examples/_resources/images/tiles.png create mode 100644 docs/examples/tiles.content.html create mode 100644 docs/examples/tiles.html create mode 100644 docs/images/examples/tiles.png diff --git a/_docs/gen.go b/_docs/gen.go index 57a1da495..15931ed48 100644 --- a/_docs/gen.go +++ b/_docs/gen.go @@ -206,6 +206,7 @@ var ( {Name: "perspective", ThumbWidth: 320, ThumbHeight: 240}, {Name: "rotate", ThumbWidth: 320, ThumbHeight: 240}, {Name: "sprites", ThumbWidth: 320, ThumbHeight: 240}, + {Name: "tiles", ThumbWidth: 240, ThumbHeight: 240}, } inputExamples = []example{ {Name: "gamepad", ThumbWidth: 320, ThumbHeight: 240}, diff --git a/docs/examples/_resources/images/license.md b/docs/examples/_resources/images/license.md index 564e7f810..382fee028 100644 --- a/docs/examples/_resources/images/license.md +++ b/docs/examples/_resources/images/license.md @@ -31,6 +31,14 @@ http://opengameart.org/node/8016 CC0 1.0 ``` +## tiles.png + +``` +https://opengameart.org/content/orthographic-outdoor-tiles + +CC0 1.0 +``` + ## platformer/right.png platformer/left.png platformer/mainchar.png ``` diff --git a/docs/examples/_resources/images/tiles.png b/docs/examples/_resources/images/tiles.png new file mode 100644 index 0000000000000000000000000000000000000000..4cf3d61ebf6a0d8c82b37d3ab8abbfb91cf42dba GIT binary patch literal 18369 zcmZsCWmsE5w{>vWVl5VeyF+mcZpGb-ySrPlQrxw;YjJn?;#R!4yWRAC|J?h0-;X5o zoSf{LGueA)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y?6mRZ|?Mn^V6? z#${xIr@k0`{u-eZFiH2Z3}0-o>M)=``o8Q#_(VNen$B*t(sE4E_I>a8(i z@M)YCaBViS4#^_`x7=v(B3vvWi>M0+P=B@j|ciG?a& zJ&-?HF=p@M{=<2Ulbzvd<07~t5Co~Y)_a+hMs0+xcP1TRAKLH@oWvHPuSXFrd-d4J zb5Wr|ng>CtsVX!$w)x-|!0*AqZm6Tzw(lqJfmO3Gx3VLk=d{A-ST#RKNW4N?j!Md? zty}TKh({7v3Tk93SGcH^u%6Z!h3!;@2;j3%PI_ERw+HK%gk)WKhuKi$&6SXLynXUu zaxIr?9QUhFOmY?z4^j}8|9*5iBjH0>!PVBCMw*!zZEwFW>ZPfYDNw7&D&u>A1aHob zyr8GoGk|A2avkBxCovCCNevtT`&zp33(>n>EjnPss)wumH`M#J_xg{o3*z|->iw_R j`+xrLzj))UBi?|#A^d_c-ytoS23 literal 0 HcmV?d00001 diff --git a/docs/examples/tiles.content.html b/docs/examples/tiles.content.html new file mode 100644 index 000000000..504c9c66e --- /dev/null +++ b/docs/examples/tiles.content.html @@ -0,0 +1,31 @@ + + + +(Example) +

Now Loading...

diff --git a/docs/examples/tiles.html b/docs/examples/tiles.html new file mode 100644 index 000000000..007e55a90 --- /dev/null +++ b/docs/examples/tiles.html @@ -0,0 +1,152 @@ + + + + + + +Ebiten example - tiles + + + + + + + + +
+ +

Ebiten example - tiles

+ +
// +build example
+
+package main
+
+import (
+        "fmt"
+        "image"
+        "log"
+
+        "github.com/hajimehoshi/ebiten"
+        "github.com/hajimehoshi/ebiten/ebitenutil"
+)
+
+const (
+        screenWidth  = 240
+        screenHeight = 240
+)
+
+const (
+        tileSize = 16
+        tileXNum = 25
+)
+
+var (
+        tilesImage *ebiten.Image
+)
+
+func init() {
+        var err error
+        tilesImage, _, err = ebitenutil.NewImageFromFile("_resources/images/tiles.png", ebiten.FilterNearest)
+        if err != nil {
+                log.Fatal(err)
+        }
+}
+
+var (
+        layers = [][]int{
+                {
+                        243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243,
+                        243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243,
+                        243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243,
+                        243, 218, 243, 243, 243, 243, 243, 243, 243, 243, 243, 218, 243, 244, 243,
+                        243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243,
+
+                        243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243,
+                        243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243,
+                        243, 243, 244, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243,
+                        243, 243, 243, 243, 243, 243, 243, 243, 243, 219, 243, 243, 243, 219, 243,
+                        243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243,
+
+                        243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243,
+                        243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243,
+                        243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243,
+                        243, 218, 243, 243, 243, 243, 243, 243, 243, 243, 243, 244, 243, 243, 243,
+                        243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243,
+                },
+                {
+                        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+                        0, 0, 0, 0, 0, 26, 27, 28, 29, 30, 31, 0, 0, 0, 0,
+                        0, 0, 0, 0, 0, 51, 52, 53, 54, 55, 56, 0, 0, 0, 0,
+                        0, 0, 0, 0, 0, 76, 77, 78, 79, 80, 81, 0, 0, 0, 0,
+                        0, 0, 0, 0, 0, 101, 102, 103, 104, 105, 106, 0, 0, 0, 0,
+
+                        0, 0, 0, 0, 0, 126, 127, 128, 129, 130, 131, 0, 0, 0, 0,
+                        0, 0, 0, 0, 0, 303, 303, 245, 242, 303, 303, 0, 0, 0, 0,
+                        0, 0, 0, 0, 0, 0, 0, 245, 242, 0, 0, 0, 0, 0, 0,
+                        0, 0, 0, 0, 0, 0, 0, 245, 242, 0, 0, 0, 0, 0, 0,
+                        0, 0, 0, 0, 0, 0, 0, 245, 242, 0, 0, 0, 0, 0, 0,
+
+                        0, 0, 0, 0, 0, 0, 0, 245, 242, 0, 0, 0, 0, 0, 0,
+                        0, 0, 0, 0, 0, 0, 0, 245, 242, 0, 0, 0, 0, 0, 0,
+                        0, 0, 0, 0, 0, 0, 0, 245, 242, 0, 0, 0, 0, 0, 0,
+                        0, 0, 0, 0, 0, 0, 0, 245, 242, 0, 0, 0, 0, 0, 0,
+                        0, 0, 0, 0, 0, 0, 0, 245, 242, 0, 0, 0, 0, 0, 0,
+                },
+        }
+)
+
+func update(screen *ebiten.Image) error {
+        if ebiten.IsRunningSlowly() {
+                return nil
+        }
+
+        // Draw each tile with each DrawImage call.
+        // As the source images of all DrawImage calls are always same,
+        // this rendering is done very effectively.
+        // For more detail, see https://godoc.org/github.com/hajimehoshi/ebiten#Image.DrawImage
+        const xNum = screenWidth / tileSize
+        for _, l := range layers {
+                for i, t := range l {
+                        op := &ebiten.DrawImageOptions{}
+                        op.GeoM.Translate(float64((i%xNum)*tileSize), float64((i/xNum)*tileSize))
+
+                        sx := (t % tileXNum) * tileSize
+                        sy := (t / tileXNum) * tileSize
+                        r := image.Rect(sx, sy, sx+tileSize, sy+tileSize)
+                        op.SourceRect = &r
+                        screen.DrawImage(tilesImage, op)
+                }
+        }
+
+        ebitenutil.DebugPrint(screen, fmt.Sprintf("FPS: %0.2f", ebiten.CurrentFPS()))
+
+        return nil
+}
+
+func main() {
+        if err := ebiten.Run(update, screenWidth, screenHeight, 2, "Tiles (Ebiten Demo)"); err != nil {
+                log.Fatal(err)
+        }
+}
+
+ +
+ + + + + diff --git a/docs/images/examples/tiles.png b/docs/images/examples/tiles.png new file mode 100644 index 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k^AF^e<-B3oZFpis#hL9`gKMf>WyY4% zAME`dud_(TCXScsyv;@m&8-TRZne`ZS$ zgCJP{<>?Z@ff2CR9~|n)zh+}V`~?8G*liQu#sUluO<`lDfJ<@hKQDZ{4D}HR&z*G$ zhbT4x>Cq9O5Uc(G^V`QcF#dDgU$+18JD>vpXi=%Vg0%fat4Uj+0n)myuU@WZ8}Wa4 Ctc(Ew literal 0 HcmV?d00001 diff --git a/docs/index.html b/docs/index.html index 79658c8c1..a72b699b2 100644 --- a/docs/index.html +++ b/docs/index.html @@ -102,6 +102,8 @@ Ebiten example: rotate
Ebiten example: sprites +
+ Ebiten example: tiles

Input