moved images to res, changed code accordingly

This commit is contained in:
Jalen Winslow 2018-02-02 05:54:21 -07:00
parent f07d741077
commit 67af93b83c
3 changed files with 2 additions and 2 deletions

View File

@ -39,13 +39,13 @@ func run() {
panic(err)
}
spritesheet, err := loadPicture("sprites.png")
spritesheet, err := loadPicture("res/sprites.png")
if err != nil {
panic(err)
}
//batch := pixel.NewBatch(&pixel.TrianglesData{}, spritesheet)
background, err := loadPicture("background.png")
background, err := loadPicture("res/background.png")
if err != nil {
panic(err)

View File

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB