Showing results for

player

movement

on rogueliketutorials.com
rogueliketutorials.com › tutorials › tcod › v2
Part 13 - Gearing up · Roguelike Tutorials
...movements are getting swifter!")
We also have to adjust the initializations in entity_factories.py
:
player = Actor(
char="@",
rogueliketutorials.com › tutorials › tcod › v2
Part 11 - Delving into the Dungeon · Roguelike Tutorials
...+ player.level.increase_max_hp()
+ elif index == 1:
+ player.level.increase_power()
+ else:
+ player.level.increase_defense()
rogueliketutorials.com › tutorials › tcod › v2
Part 5 - Placing Enemies and kicking them (harmlessly) · Roguelike Tutorials
...GameMap, player: Entity): def __init__(self, event_handler: EventHandler, game_map: GameMap, player: Entity): self.entities = entities self.event_handler = event_handler self.game_map = game_map self.player = player...
rogueliketutorials.com › tutorials › tcod › v2
Part 8 - Items and Inventory · Roguelike Tutorials
...max_monsters_per_room = 2 max_items_per_room = 2 tileset = tcod.tileset.load_tilesheet( "dejavu10x10_gs_tc.png", 32, 8, tcod.tileset.CHARMAP_TCOD ) player = copy.deepcopy(entity_factories.player) engine = Engine(player=player...
rogueliketutorials.com › tutorials › tcod › 2019
Part 1 - Drawing the '@' symbol and moving it around · Roguelike Tutorials
...So we’ve got our ‘@’ symbol drawn, now let’s get it moving around!
We need to keep track of the player’s position...
rogueliketutorials.com › tutorials › tcod › v2
Part 1 - Drawing the '@' symbol and moving it around · Roguelike Tutorials
...We still need to get it moving around!
We need to keep track of the player’s position at all times. Since this is...