Skip to content

Releases: BlurOne-GIT/MmgEngine

Release v2.1.0

07 Apr 19:41
b0b5f65
Compare
Choose a tag to compare

What's Changed

  • Updating and drawing of GameStates and their components will now be handled by the Game via its Components.
  • GameState classes should now use the default protected LoadContent and UnloadContent methods.
  • EngineGame.SwitchGameState is now overridable.

Hotfix v2.0.1

06 Apr 23:34
Compare
Choose a tag to compare

Fixed Input's MousePoint being transformed incorrectly by the viewport.

Release v2.0.0

06 Apr 23:08
Compare
Choose a tag to compare

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.

Hotfix v1.1.1

29 Mar 19:44
Compare
Choose a tag to compare
  • Fixed SimpleImage wrongly having Alignment.TopCenter as the default instead of Alignment.TopLeft

Release v1.1.0

29 Mar 19:41
Compare
Choose a tag to compare
  • Changed default alignment from Center to TopLeft in all alignable DrawableGameComponents
  • Added utilities to Animation related to it's end.
    • AnimationReachedEnd event that fires when the animation reaches it's last frame.
    • IsAtEnd property that returns whether the animation is at it's last frame.
    • Also added a Length alias for Animation.Frames.Length

Release v1.0.0

26 Mar 12:23
Compare
Choose a tag to compare