slayer_in_the_shadows.assets#

Utilities for loading assets

Module Contents#

Functions#

get_asset_path(*paths[, is_as_file])

Gets the path for an asset

get_sprite_path(parent, name)

Gets the path for the sprite image

get_tile_map_path(name)

Gets the path for a tile map

load_texture_pair(filename)

Load a texture pair, with the second being a mirror image.

slayer_in_the_shadows.assets.get_asset_path(*paths: str, is_as_file: bool = True)[source]#

Gets the path for an asset

slayer_in_the_shadows.assets.get_sprite_path(parent: str, name: str)[source]#

Gets the path for the sprite image

slayer_in_the_shadows.assets.get_tile_map_path(name: str)[source]#

Gets the path for a tile map

slayer_in_the_shadows.assets.load_texture_pair(filename)[source]#

Load a texture pair, with the second being a mirror image.