ShardSoft.MiGame
1.0.0
dotnet add package ShardSoft.MiGame --version 1.0.0
NuGet\Install-Package ShardSoft.MiGame -Version 1.0.0
<PackageReference Include="ShardSoft.MiGame" Version="1.0.0" />
paket add ShardSoft.MiGame --version 1.0.0
#r "nuget: ShardSoft.MiGame, 1.0.0"
// Install ShardSoft.MiGame as a Cake Addin #addin nuget:?package=ShardSoft.MiGame&version=1.0.0 // Install ShardSoft.MiGame as a Cake Tool #tool nuget:?package=ShardSoft.MiGame&version=1.0.0
A basic game library for use with SFML.Net.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net5.0
- ShardSoft.MiGfx (>= 1.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 340 | 5/9/2021 |
### Version 1.0.0
- `GameState` now provides the `SubscribeEvents()` and `UnsubscribeEvents()` methods for subscribing
to window events and have replaced `OnGainFocus(object, EventArgs)`, `OnLoseFocus(object, EventArgs)`
and `OnTextEntered(object, TextEventArgs)`.
- MiGame now targets .Net 5 and has updated code style for C#9.
- Now depends on MiCore 1.0.0.
- Now depends on MiInput 1.0.0.
- Now depends on MiGfx 1.0.0.
### Version 0.5.0
- Changed SFML source to latest official SFML.Net repository.
- Updated MiCore to version 0.5.0.
- Updated MiInput to version 0.9.0.
- Updated MiGfx to version 0.9.0.
### Version 0.4.0
- Renamed to `MiGame` and updated to depend on `MiCore`, `MiGfx` and `MiInput`.
### Version 0.3.0
- `GameWindow.Run(IGameState)` now returns an `ExitCode` that is stored in `GameWindow.ExitCode`.
- `GameWindow.Exit(int)` has been replaced with `GameWindow.Exit(ExitCode)`.
- `GameState` now contains the virtual methods `OnGainFocus(object,EventArgs)`,
`OnLoseFocus(object,EventArgs)`, `OnCloseRequest(object,EventArgs)` and
`OnTextEntered(object,TextEventArgs)` that are called on their respective window events.
### Version 0.2.0
- `GameWindow.OnUpdate(float)` has been replaced with `GameWindow.PreUpdate(float)` for updating
logic before the current game state and `GameWindow.PostUpdate(float)` for updating logic after.
- `GameWindow.OnDraw()` has been replaced with `GameWindow.PreDraw()` for drawing content
before/underneath the current game state and `GameWindow.PostUpdate(float)` for drawing content
after/above.
- When calling `StateManager.Push(IGameState)`, `GameState.OnStore()` is called for the current
state before `GameState.OnLoad()` is called for the new state, as originally intended.
### Version 0.1.0
- Initial release.