Added new tilesets

This commit is contained in:
klangner 2020-09-02 14:27:01 +02:00
parent 31e503faac
commit 24bc843e00
6 changed files with 15 additions and 1 deletions

6
demo/README.md Normal file
View File

@ -0,0 +1,6 @@
# Demo application for mapgen
This app uses:
* [Urizen OneBit Tilesets](https://vurmux.itch.io/urizen-onebit-tilesets)

View File

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

View File

@ -0,0 +1,8 @@
#![enable(implicit_some)]
Grid((
texture_width: 261,
texture_height: 261,
columns: 20,
rows: 20,
))

View File

@ -98,7 +98,7 @@ impl SimpleState for PlayState {
init_map(&mut world);
let map_sprite_sheet_handle =
load_tiles_sprite_sheet(world, "texture/cp437_20x20.png", "texture/cp437_20x20.ron");
load_tiles_sprite_sheet(world, "texture/ascii.png", "texture/ascii.ron");
let (width, height) = {
let dim = world.read_resource::<ScreenDimensions>();