1. 26 Dec, 2020 2 commits
    • Rahix's avatar
      player: Track angel hours · 9e304fe4
      Rahix authored
      Add the count of angel hours to the player component.
    • Rahix's avatar
      Pass Player component between gamestates · ff0b5af8
      Rahix authored
      The player component hold information which should stay persistent
      across the game-runs and thus needs to be passed through the different
      game-states.  Do this by instanciating it in the heaven and then passing
      it through the level-loading state into the in-game state.
  2. 21 Dec, 2020 2 commits
    • Rahix's avatar
      Keep track of the players sanity · fec0cb00
      Rahix authored
      Let's hope we don't make them loose it D:
    • Rahix's avatar
      Add super basic player entity · 20688a8e
      Rahix authored
      Add plumbing for the most basic player:
      - A `Player` component to mark the entity which is the player.
      - A `Player` resource which holds the entity ID of the player.
      - A `draw_tmp_player_system` to draw the player as a circle (for now).
      - A `create_player` function to create the player entity.
      - Update the `moving_system` to put the camera at the player position.