BoxEngine 1.0.42-beta

This is a prerelease version of BoxEngine.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package BoxEngine --version 1.0.42-beta
                    
NuGet\Install-Package BoxEngine -Version 1.0.42-beta
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BoxEngine" Version="1.0.42-beta" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BoxEngine" Version="1.0.42-beta" />
                    
Directory.Packages.props
<PackageReference Include="BoxEngine" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add BoxEngine --version 1.0.42-beta
                    
#r "nuget: BoxEngine, 1.0.42-beta"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package BoxEngine@1.0.42-beta
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=BoxEngine&version=1.0.42-beta&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=BoxEngine&version=1.0.42-beta&prerelease
                    
Install as a Cake Tool

BoxGameEngine

BoxEngine is a simple game engine for building 2D games in .NET.

Features

  • Easy to use
  • High performance
  • Cross-platform
  • Does not require an editor to create entities
  • And much more...

Getting Started

  1. Install the package:

    dotnet add package BoxEngine
    
  2. Usage example:

    using Box;
    
    [STAThread]
    static void StartGame()
    {
        using var game = new Engine(new EngineSettings
        {
            Window = new Vect2(1920, 1080),
            Viewport = new(320, 180),
            Screens = [new BootScreen()],
            UseTextureHalfOffset = true,
            DebugDraw = false,
        });
    
        game.Start();
    }
    
    StartGame();
    

License

MIT

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.56-beta 131 5/10/2025
1.0.55-beta 61 5/10/2025
1.0.51-beta 134 5/8/2025
1.0.50-beta 143 5/7/2025
1.0.46-beta 142 5/7/2025
1.0.45-beta 137 5/4/2025
1.0.44-beta 145 4/20/2025
1.0.43-beta 175 4/17/2025
1.0.42-beta 175 4/17/2025
1.0.41-beta 179 4/15/2025
1.0.40-beta 84 3/29/2025
1.0.38-beta 119 3/28/2025
1.0.37-beta 121 3/27/2025
1.0.36-beta 462 3/26/2025
1.0.34-beta 461 3/26/2025
1.0.33-beta 458 3/25/2025
1.0.32-beta 463 3/25/2025
1.0.30-beta 453 3/24/2025
1.0.26-beta 81 2/28/2025
1.0.25-beta 88 2/27/2025
1.0.23-beta 73 1/15/2025
1.0.22-beta 49 1/15/2025
1.0.20-beta 76 1/12/2025
1.0.18-alpha 73 1/12/2025
1.0.16-alpha 87 1/5/2025
1.0.15-alpha 86 12/7/2024
1.0.14-alpha 78 12/7/2024
1.0.13-alpha 81 11/29/2024
1.0.11-alpha 79 11/18/2024
1.0.10-alpha 95 8/9/2024
1.0.9-alpha 93 7/27/2024
1.0.8-alpha 90 7/6/2024
1.0.7-alpha 94 7/1/2024
1.0.6-alpha 93 6/30/2024
1.0.5-alpha 106 6/29/2024
1.0.4-alpha 96 6/28/2024
1.0.3-alpha 88 6/28/2024
1.0.2-alpha 90 6/25/2024
1.0.1-alpha 130 6/25/2024
1.0.0-alpha 98 6/25/2024 1.0.0-alpha is deprecated because it is no longer maintained.

- Improved Renderer and RenderTarget performance, resulting in a 40% increase in frame rate.
   - Improved SaveTypeWriterReader: It will now attempt to compress files if the compressed size is smaller; otherwise, it will default to an uncompressed format.
   - Fixed and improved Sound Manager:
   --- All SoundManager.Play methods now return a SoundInstance, allowing you to set up transitions or other effects.
   --- Sound assets can now be set to always loop, eliminating the need to use blocking to keep them playing on a channel.
   --- Removed channel blocking, which also led to the removal of fade-in and fade-out functionality.
   --- Added functionality to check if a sound is playing on a channel based on either the sound asset or the sound instance.
   --- Added sound instance pan and sound channel pan, allowing sounds to be adjusted to play through the left or right speaker.
   --- Improved Master Channel behavior to function properly across all channels.
   - New Input System Features:
   --- Expanded Axis Input Handling:
   ------ Added GetKeyAxisPressed, GetKeyAxisReleased, and GetKeyAxisJustPressed for keyboard input.
   ------ Added GetGamepadAxisPressed, GetGamepadAxisReleased, and GetGamepadAxisJustPressed for gamepad input.
   --- Improved Action Handling:
   ------ Added action-based axis detection for gamepads and keyboards.
   ------ Supports IsActionPressed, IsActionReleased, and IsActionJustPressed for more precise input tracking.
   - Fixed a bug where the FPS counter incorrectly displayed 30 FPS, even when the actual frame rate was much higher.
   - Object Pool hs been updated to version 9.0.0.
   - Fixed a bug with bitmap font line height. Text now renders correctly and aligns as intended.
   - Added ChildrenAs to improve child entity handling based on a type.
   - Added Camera Zoom
   - Bug with resizing the window.