mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +01:00
examples/infinitescroll: Move the image and add license
This commit is contained in:
parent
41cc17c4da
commit
c685cfb428
@ -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
|
||||
|
||||
```
|
||||
|
Before Width: | Height: | Size: 146 KiB After Width: | Height: | Size: 146 KiB |
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user