Compare commits
2 Commits
added-tile
...
experiment
| Author | SHA1 | Date | |
|---|---|---|---|
| b8c882a646 | |||
| d06a0c85b3 |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
4
main.go
4
main.go
@@ -39,13 +39,13 @@ func run() {
|
|||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
spritesheet, err := loadPicture("res/sprites.png")
|
spritesheet, err := loadPicture("sprites.png")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
//batch := pixel.NewBatch(&pixel.TrianglesData{}, spritesheet)
|
//batch := pixel.NewBatch(&pixel.TrianglesData{}, spritesheet)
|
||||||
|
|
||||||
background, err := loadPicture("res/background.png")
|
background, err := loadPicture("background.png")
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 62 KiB |
Reference in New Issue
Block a user