Releases: BlurOne-GIT/MmgEngine
Releases · BlurOne-GIT/MmgEngine
Release v2.1.0
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
Fixed Input's MousePoint being transformed incorrectly by the viewport.
Release v2.0.0
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
- Fixed SimpleImage wrongly having Alignment.TopCenter as the default instead of Alignment.TopLeft
Release v1.1.0
- 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