mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +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
|
the Creative Commons Attribution 3.0 License
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## tile.png
|
||||||
|
|
||||||
|
```
|
||||||
|
http://opengameart.org/node/8016
|
||||||
|
|
||||||
|
CC0 1.0
|
||||||
|
```
|
||||||
|
|
||||||
## Other image files
|
## 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() {
|
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)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user