1. 22 Dec, 2016 2 commits
    • Terence Martin's avatar
      Include Question mark debugging key · 249f7e6e
      Terence Martin authored
      This adds in the question mark key during debugging mode to dump some
      information to the console of the maze entity currently at this maze
      position.
      249f7e6e
    • Terence Martin's avatar
      Turn off AI pushing of suggested ball · 05ae4a83
      Terence Martin authored
      The question mark key is now a player key, so it only works while it
      is the player's turn. Instead of playing the ball for the human
      player, it merely jumps the player to the suggested ball and turns to
      face the ball in order to set up playing.
      05ae4a83
  2. 17 Dec, 2016 1 commit
    • Terence Martin's avatar
      Implement simple AI tests · 29cbb3c8
      Terence Martin authored
      This just has the AI run to select a ball, then jump the player there
      and push it so we can see what happens.
      
      This updates the player to have a new test method for jumping to a
      specific location in the maze instead of just going left and right.
      29cbb3c8
  3. 16 Dec, 2016 1 commit
    • Terence Martin's avatar
      Include a Player into the game · 74392e29
      Terence Martin authored
      This is currently crude, as the player remains stationary at the upper
      left corner, but it's enough to prove everything is working as
      expected.
      
      This uses the spacebar as the push key (which seems more natural), so
      the debug toggle key is now F12.
      74392e29
  4. 13 Dec, 2016 1 commit
    • Terence Martin's avatar
      Clean up debug code a bit · 45e35481
      Terence Martin authored
      This is just some simple cleanup. Since bricks that are vanished out
      of the maze are reaped now, the code for unhiding them is no longer
      needed since it can't do anything anyway.
      
      This also removes the control from the scene and the documentation.
      
      There are a couple of smaller changes as well in a similar vein.
      45e35481
  5. 11 Dec, 2016 2 commits
    • Terence Martin's avatar
      Update Controls to include mouse actions · 64dbf934
      Terence Martin authored
      The only controls that were not a part of the controls page where the
      mouse controls for clicking on things; this is now fixed.
      64dbf934
    • Terence Martin's avatar
      One last debug option: wipe all · bb803dde
      Terence Martin authored
      This is basically a reset of the maze but without the generation of
      new random contents. Useful for setting up simple situations while
      testing.
      
      This should have been a part of yesterday's changes but I forgot to
      implement it and didn't realize until after the daily blog post.
      bb803dde
  6. 10 Dec, 2016 8 commits
    • Terence Martin's avatar
      Debug mode: Vanish/Collect/Unhide bricks · 65d9f162
      Terence Martin authored
      Three new controls have been added; Vanish all visible Gray bricks,
      Collect all visible Bonus bricks, and Unhide all hidden gray/visible
      bricks.
      
      This makes some quicker testing easier. Note that this leaves the
      entites still in the grid, since that is what the game code currently
      does as well, using the visible state to know what to do about things.
      65d9f162
    • Terence Martin's avatar
      Add Teleport Debug commands · 62fc7267
      Terence Martin authored
      With the new API in the Teleport class, we can now clear a teleport
      destination away or add one in. These both always work and are simple
      because there is a single Teleport entity in the maze that is used in
      all visible locations.
      62fc7267
    • Terence Martin's avatar
      Include debug command: Add ball · 76972420
      Terence Martin authored
      This will insert a player ball into the maze at the current debug
      location, if it is not empty and there is a ball in the ball pool.
      
      The ball appears with animation, just for kicks.
      76972420
    • Terence Martin's avatar
      Include debug command: Delete cell · 15ca518f
      Terence Martin authored
      This will remove the contents of the existing cell from the maze, also
      making sure to remove it from its associated actor pool.
      
      This currently does not work on teleports because we need to do
      special handling on their destination list and they don't have the
      appropriate API yet.
      15ca518f
    • Terence Martin's avatar
      Swap T and Spacebar assignments · 6bbca580
      Terence Martin authored
      It would appear my brain has pre-taught itself that space turns on
      debug mode, so I'll just swap that now and save myself some grief
      later.
      6bbca580
    • Terence Martin's avatar
      Include debug command; Add arrow · 83bc89c9
      Terence Martin authored
      This will insert a right facing normal arrow into the maze at the
      current debug cell.
      
      Like the other insertion command, this requires an empty cell and for
      there to be an arrow available in the pool.
      83bc89c9
    • Terence Martin's avatar
      Include debug command: Add brick · 4dcb7987
      Terence Martin authored
      This will insert a brick entity into the maze at the current debug
      location, as long as it is empty.
      
      This needs to pull a brick from a pool in order to add one. It will
      try first from the gray brick pool, then from the bonus brick pool if
      the gray pool is empty.
      4dcb7987
    • Terence Martin's avatar
      Include debug command: Toggle · 39f4f9de
      Terence Martin authored
      This will toggle an arrow or a brick between it's two states. For an
      arrow this means transforming between a normal and an automatic arrow,
      while for a brick it means toggling between a bonus and a gray brick.
      
      In the latter case the number of objects is predefined, so the toggle
      can only happen if there is a brick of the opposite type available
      in its pool.
      39f4f9de
  7. 09 Dec, 2016 1 commit
    • Terence Martin's avatar
      Enable debug tracking in the game state · 7fe7fe09
      Terence Martin authored
      This adds in the key combination and support code for turning on and
      off debug tracking, as well as following the mouse cursor so that we
      can keep accurate track of the current debug location.
      7fe7fe09
  8. 05 Dec, 2016 1 commit
  9. 30 Nov, 2016 1 commit
    • Terence Martin's avatar
      Initial checkin · 534de284
      Terence Martin authored
      This is the base of the Devember 2016 project, A-Maze-Balls. This is
      basically a minimal fork of ts-game-engine.
      534de284