examples/infinitescroll: Move the image and add license

This commit is contained in:
Hajime Hoshi 2016-08-13 23:38:51 +09:00
parent 41cc17c4da
commit c685cfb428
3 changed files with 9 additions and 1 deletions

View File

@ -23,6 +23,14 @@ Photograph by Chris Nokleberg
the Creative Commons Attribution 3.0 License the Creative Commons Attribution 3.0 License
``` ```
## tile.png
```
http://opengameart.org/node/8016
CC0 1.0
```
## Other image files ## Other image files
``` ```

View File

Before

Width:  |  Height:  |  Size: 146 KiB

After

Width:  |  Height:  |  Size: 146 KiB

View File

@ -117,7 +117,7 @@ func update(screen *ebiten.Image) error {
func main() { func main() {
var err error var err error
bgImage, _, err = ebitenutil.NewImageFromFile("tile.png", ebiten.FilterNearest) bgImage, _, err = ebitenutil.NewImageFromFile("_resources/images/tile.png", ebiten.FilterNearest)
if err != nil { if err != nil {
log.Fatal(err) log.Fatal(err)
} }