diff --git a/examples/_resources/images/license.md b/examples/_resources/images/license.md index 0cd416aae..600f3160c 100644 --- a/examples/_resources/images/license.md +++ b/examples/_resources/images/license.md @@ -23,6 +23,14 @@ Photograph by Chris Nokleberg the Creative Commons Attribution 3.0 License ``` +## tile.png + +``` +http://opengameart.org/node/8016 + +CC0 1.0 +``` + ## Other image files ``` diff --git a/examples/infinitescroll/tile.png b/examples/_resources/images/tile.png similarity index 100% rename from examples/infinitescroll/tile.png rename to examples/_resources/images/tile.png diff --git a/examples/infinitescroll/main.go b/examples/infinitescroll/main.go index c5330a69a..ce43ec16e 100644 --- a/examples/infinitescroll/main.go +++ b/examples/infinitescroll/main.go @@ -117,7 +117,7 @@ func update(screen *ebiten.Image) error { func main() { var err error - bgImage, _, err = ebitenutil.NewImageFromFile("tile.png", ebiten.FilterNearest) + bgImage, _, err = ebitenutil.NewImageFromFile("_resources/images/tile.png", ebiten.FilterNearest) if err != nil { log.Fatal(err) }