|
@@ -7,10 +7,11 @@ fn main() -> Result<(), GameError> {
|
|
|
.resource_path({
|
|
|
let base = std::env::var("CARGO_MANIFEST_DIR").unwrap();
|
|
|
let mut path = std::path::PathBuf::from(base);
|
|
|
+ path.pop();
|
|
|
path.push("resources");
|
|
|
path
|
|
|
})
|
|
|
- .tileset("/terminal8x8.jpg", [8, 8])
|
|
|
+ .tileset("/haberdash.gif", [12, 12])
|
|
|
.map_size(80, 50)
|
|
|
.build()?;
|
|
|
game.world.print([1, 1], "Hello, world!");
|