Power Towers v0.69


  • Added functionality within the StateManager class to track how many frames per second (FPS) our game is running at.


  • Implement dynamic on-screen text to track FPS without having to check the console
  • Implement a way to show/hide diagnostic data while in-game

Known Bugs

  • There is no way to unselect a tower other than paying for it and placing it on a valid tile

Changes — Extended

FPS Counter:

The following static variables were declared and initialized at the top of our StateManager class:

We then used these variables within our update() method (which is called each update by the Boot class) to track how many frames pass each second and print the result to the console.

Leave a Reply

Your email address will not be published. Required fields are marked *