more space tiles, added collectible (misses animation yet)
This commit is contained in:
parent
933b9c403f
commit
dd5d0a7a04
File diff suppressed because it is too large
Load Diff
BIN
assets/space/collectible.ase
Normal file
BIN
assets/space/collectible.ase
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 12 KiB |
BIN
assets/sprites/tilemap-oil.png
Normal file
BIN
assets/sprites/tilemap-oil.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
@ -151,7 +151,7 @@ func LevelToSlice(game *Game, level *ldtkgo.Level, tilesize int) (Map, Map) {
|
||||
tile := assets.Tiles["default"]
|
||||
|
||||
// FIXME: load from LDTK file
|
||||
tile.Sprite = assets.Assets["primarymap"].SubImage(
|
||||
tile.Sprite = assets.Assets["tilemap-oil"].SubImage(
|
||||
image.Rect(tileData.Src[0],
|
||||
tileData.Src[1],
|
||||
tileData.Src[0]+layer.GridSize,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user