Compare commits
2 Commits
experiment
...
added-tile
Author | SHA1 | Date | |
---|---|---|---|
67af93b83c | |||
f07d741077 |
4
main.go
4
main.go
@ -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)
|
||||
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 62 KiB |
BIN
res/tileSpriteSheet.png
Normal file
BIN
res/tileSpriteSheet.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
Reference in New Issue
Block a user