diff --git a/game/world_tools.py b/game/world_tools.py index 10b1a68..7677eb6 100644 --- a/game/world_tools.py +++ b/game/world_tools.py @@ -50,7 +50,7 @@ def new_world() -> Registry: world.new_entity( components={ Position: player_pos, - Graphic: Graphic(ord('@')), + Graphic: Graphic(ch=ord('@'), fg=(255, 0, 0)), Gold: 0 }, tags=[IsActor, IsPlayer] diff --git a/main.py b/main.py index 66accc5..72e8e9e 100755 --- a/main.py +++ b/main.py @@ -21,7 +21,8 @@ def main() -> None: tileset2 = tcod.tileset.load_tilesheet( "Oryx/oryx_roguelike_2.0/Monsters.png", columns=19, rows=26, charmap=tcod.tileset.CHARMAP_CP437 ) - tileset.set_tile(64, tileset2.get_tile(0)) + + tileset.set_tile(64, tileset2.get_tile(9786)) #tcod.tileset.procedural_block_elements(tileset=tileset) g.screens = [MainMenu()]