Skip to content

Release v2.0.0

Compare
Choose a tag to compare
@BlurOne-GIT BlurOne-GIT released this 06 Apr 23:08
· 13 commits to main since this release

What's Changed

  • Added "Viewport" Scale and Offset (Vector2) properties to EngineStatics.
    • Can be used to create a transform Matrix for SpriteBatch.Begin().
    • References to Scale on DrawableGameObjects were removed.
    • A EngineStatics.ViewportChanged event will be fired when modifying these properties.
    • Input's mouse position will be transformed by these parameters.
  • Added an abstract EngineGame class that extends the default Game class with the Engine's functionalities (usage is not required).
    • Input system connection
    • Adding SpriteBatch to services
    • Generating ViewportMatrix
    • GameState management.
  • Input System simplification (removing Keyboard events in favor of native ones).
  • Simplified DrawableGameComponents' constructors in favor of setting optional properties outside the constructor's arguments.
  • Fixed incorrect Dispose function being overridden in DrawableGameComponents.
  • Renamed Animation.TextureAnimation's parameers for clearer understanding.
  • GameState now automatically initialize and dispose of components when being added or removed.
  • SimpleImage now has a protected method for drawing more textures with the same base parameters (can be changed). This method is meant for usage in classes that inherit SimpleImage.
  • Added summary documentation.