gdritter repos chenoska / 4b36d99
Use the assets in this repo now Getty Ritter 6 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Collapse all Expand all
2323 /// event loop
2424 pub fn main_loop() -> Result<(), gfx::Error> {
2525 let t = tiled::parse_file(
26 std::path::Path::new("/home/gdritter/projects/animaltransiro/areas/main.tmx")
26 std::path::Path::new("assets/maps/main.tmx")
2727 ).unwrap();
2828 let board = board::Board::from_tiled(&t);
2929
3535 gfx::Shader::compile(gfx::ShaderType::Fragment, FS_SRC)?,
3636 ])?;
3737
38 let tex = gfx::Texture::new_from_png("/home/gdritter/projects/animaltransiro/tiles/spritesheet.png")?;
39 let nrm = gfx::Texture::new_from_png("/home/gdritter/projects/animaltransiro/tiles/spritesheet-normal.png")?;
38 let tex = gfx::Texture::new_from_png("assets/tiles/spritesheet.png")?;
39 let nrm = gfx::Texture::new_from_png("assets/tiles/spritesheet-normal.png")?;
4040
4141 let tile_data = graphics::vertices::make_grid_with(
4242 board::BOARD_WIDTH as usize,